Template:Glossary item View history

m (moved anchors into term cell)
m (anchors now work properly in first cell even after sorting table)
Line 9: Line 9:
</noinclude><includeonly><!-- Begin template code --><!-- begin table row -->
</noinclude><includeonly><!-- Begin template code --><!-- begin table row -->
|- 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
|<!-- ### Begin Term Cell ### -->{{#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 -->}}<!--
end IF "noanchor" -->}} '''{{{term|}}}'''<!-- Fill first cell of row with "term" -->
end IF "noanchor" -->}}<!-- Place anchors at beginning of first cell then
--> '''{{{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, if there is no alias put a "~" so it goes to the bottom when sorting this column.
-->{{Trim| {{{1|~}}} }}<!-- fill second cell with 1st alias, if there is no alias put a "~" so it goes to the bottom when sorting this column.

Revision as of 01:39, 23 February 2015

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