This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.
Template:Querylink: Difference between revisions
Jump to navigation
Jump to search
imported>Hardvice minus extra braces |
imported>MiamiVolts test re-adding one of the brackets |
||
Line 1: | Line 1: | ||
<includeonly><span class="plainlinks">[{{SERVER}}/index.php?title={{{link}}}{{#ifeq:{{#sub:{{{qs|}}}|0|1}}|&| |?}}{{{qs}}} {{{linktext|{{{link}}}}}}]</span></includeonly><noinclude> | <includeonly><span class="plainlinks">[{{SERVER}}/index.php?title={{{link}}}}{{#ifeq:{{#sub:{{{qs|}}}|0|1}}|&| |?}}{{{qs}}} {{{linktext|{{{link}}}}}}]</span></includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
Produces a "plain" or internal link to an article while allowing a query string (such as <code>&action=edit</code>). | Produces a "plain" or internal link to an article while allowing a query string (such as <code>&action=edit</code>). |
Revision as of 00:22, 29 November 2007
Usage
Produces a "plain" or internal link to an article while allowing a query string (such as &action=edit
).
{{querylink | link = <!--Article to link to --> | linktext = <!--OPTIONAL Override name of link--> | qs = <!--URL query string--> }}
Adapted from Wikipedia.