Template:Glossary item View history

(moved anchors above table row)
(removed IFs from anchor)
Line 3: Line 3:
</noinclude><includeonly><!-- Begin template code -->{{#ifeq:{{{noanchor|}}}|yes|<!-- If "noanchor" is set to yes, don't output any anchors
</noinclude><includeonly><!-- Begin template code -->{{#ifeq:{{{noanchor|}}}|yes|<!-- If "noanchor" is set to yes, don't output any anchors
-->|<!-- If not output an anchor starting with the term name -->{{anchor|{{{term|}}}<!-- Then if up to 4 additional aliases are present
-->|<!-- If not output an anchor starting with the term name -->{{anchor|{{{term|}}}<!-- Then if up to 4 additional aliases are present
-->{{#if:{{{1|}}}|<!-- add then to the anchor preceded by a pipe -->{{!}}{{{1|}}}<!-- End IF for 1st alias -->}}<!-- repeat 3 more times
-->|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{anchor1|}}}<!-- if up to 4 non display anchors are specified, add them to the anchor
-->{{#if:{{{2|}}}|{{!}}{{{2|}}}}}{{#if:{{{3|}}}|{{!}}{{{3|}}}}}{{#if:{{{4|}}}|{{!}}{{{4|}}}}}{{#if:{{{anchor1|}}}|{{!}}{{{anchor1|}}}}}<!-- if up to 4 non display anchors are specified, add them to the anchor
-->|{{{anchor2|}}}|{{{anchor3|}}}|{{{anchor4|}}}<!--
-->{{#if:{{{anchor2|}}}|{{!}}{{{anchor2|}}}}}{{#if:{{{anchor3|}}}|{{!}}{{{anchor3|}}}}}{{#if:{{{anchor4|}}}|{{!}}{{{anchor4|}}}}}<!--
end anchor -->}}<!--
end anchor -->}}<!--
end IF "noanchor" -->}}<!-- begin table row -->
end IF "noanchor" -->}}<!-- begin table row -->

Revision as of 11:38, 8 February 2015

Documentation icon Template documentation[create]
Please add categories to the /doc subpage.
Subpages of this template.