Template:Tag/Desc: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
 
Line 1: Line 1:
{{#tag:div|<sup>{{{1}}}</sup> {{{2}}}|id={{Tag/Id|{{{1}}}}}|class=hp-tagdesc}}
<includeonly>{{#tag:div|<sup>{{{1}}}</sup> {{{2}}}|id={{Tag/Id|{{{1}}}}}|class=hp-tagdesc}}
{{#varexists:{{Tag/VarName|{{{1}}}}}<!-- If the tag variable for this tag already exists... -->
{{#varexists:{{Tag/VarName|{{{1}}}}}<!-- If the tag variable for this tag already exists... -->
|{{#vardefine:{{Tag/VarName|{{{1}}}}}|{{#expr:{{#var:{{Tag/VarName|{{{1}}}}}}} + 1}}}}<!-- Then increment it. -->
|{{#vardefine:{{Tag/VarName|{{{1}}}}}|{{#expr:{{#var:{{Tag/VarName|{{{1}}}}}}} + 1}}}}<!-- Then increment it. -->
|{{#vardefine:{{Tag/VarName|{{{1}}}}}|1}}<!-- Otherwise, initialise it to one -->
|{{#vardefine:{{Tag/VarName|{{{1}}}}}|1}}<!-- Otherwise, initialise it to one -->
}}
}}</includeonly><noinclude>
This template is used to give the description for a tag in an article.
</noinclude>

Latest revision as of 16:03, May 14, 2020

This template is used to give the description for a tag in an article.