Template:Glossary item View history

m (replaced first anchor | with {{!}} since its now in an ifeq)
m (forgot to remove the actual |)
Line 4: Line 4:
-->|- valign="top" <!-- Start new table row
-->|- valign="top" <!-- Start new table row
-->{{#ifeq:{{{noanchor|}}}|yes|<!-- If "noanchor" is set to yes, don't output any anchors
-->{{#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
-->{{#if:{{{1|}}}|<!-- add then to the anchor preceded by a pipe -->{{!}}{{{1|}}}<!-- End IF for 1st alias -->}}<!-- repeat 3 more times
-->{{#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
-->{{#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

Revision as of 11:05, 8 February 2015

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