Template:Glossary item View history

m (set ~ as default first alias to enable sort for abbr. list to be at top of page.)
m (moved tilde from anchor to alias display)
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
-->|{{{1|~}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{anchor1|}}}<!-- if up to 4 non display anchors are specified, add them to the anchor
-->|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{anchor1|}}}<!-- if up to 4 non display anchors are specified, add them to the anchor
-->|{{{anchor2|}}}|{{{anchor3|}}}|{{{anchor4|}}}<!--
-->|{{{anchor2|}}}|{{{anchor3|}}}|{{{anchor4|}}}<!--
end anchor -->}}<!--
end anchor -->}}<!--
Line 10: Line 10:
| '''{{{term|}}}'''<!-- Fill first cell of row with "term" -->
| '''{{{term|}}}'''<!-- Fill first cell of row with "term" -->
| <!-- use trim for unnamed parameters to eliminate extra whitespace
| <!-- use trim for unnamed parameters to eliminate extra whitespace
-->{{Trim| {{{1|}}} }}<!-- fill second cell with 1st alias
-->{{Trim| {{{1|~}}} }}<!-- fill second cell with 1st alias
-->{{#if:{{{2|}}}<!-- if there's a second alias -->
-->{{#if:{{{2|}}}<!-- if there's a second alias -->
|,}}<!-- then place a comma
|,}}<!-- then place a comma

Revision as of 04:07, 11 February 2015

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