Template:Glossary item View history

(noted code, added support for noanchor=yes, up to four non displayed anchors anchor1, anchor2 ..., update and added(optional) split dates display)
m (fix notation to remove alias line break)
Line 14: Line 14:
-->{{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
{{Trim|{{{2|}}}}}<!-- followed by the second alias
-->{{Trim|{{{2|}}}}}<!-- followed by the second alias
-->{{#if:{{{3|}}}|,}} {{Trim|{{{3|}}}}}{{#if:{{{4|}}}|,}} {{Trim|{{{4|}}}}} <!-- repeat for up to 4 aliases -->
-->{{#if:{{{3|}}}|,}} {{Trim|{{{3|}}}}}{{#if:{{{4|}}}|,}} {{Trim|{{{4|}}}}} <!-- repeat for up to 4 aliases -->
| {{{desc|}}} <!-- place the description in the third cell -->
| {{{desc|}}} <!-- place the description in the third cell -->
|<small><small> {{{updated|}}}{{#if:{{{added|}}}|<br>
|<small><small> {{{updated|}}}{{#if:{{{added|}}}|<br>
{{{added|}}}}} </small></small><!-- place the last updated date followed the date added on the next line if specified in the 4th cell --></includeonly>
{{{added|}}}}} </small></small><!-- place the last updated date followed the date added on the next line if specified in the 4th cell --></includeonly>

Revision as of 09:25, 8 February 2015

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