Template:Glossary item View history

m (3 smalls and a <br>)
 
(9 intermediate revisions by the same user not shown)
Line 7: Line 7:
{{User:PesachZ/Glossary/Glossary item|term=No-Anchor title|Noanchor|Hidden|NA|NAT|desc=This row displays identically to other rows but does not produces any anchors. A link to #No-Anchor title will not bring you to this entry.|updated=2015-02-08|added=2014-02-13|noanchor=yes|related1=testing}}
{{User:PesachZ/Glossary/Glossary item|term=No-Anchor title|Noanchor|Hidden|NA|NAT|desc=This row displays identically to other rows but does not produces any anchors. A link to #No-Anchor title will not bring you to this entry.|updated=2015-02-08|added=2014-02-13|noanchor=yes|related1=testing}}
{{User:PesachZ/Glossary/Glossary item|term=No-Anchor title|Noanchor|Hidden|NA|NAT|desc=This row displays identically to other rows but does not produces any anchors. A link to #No-Anchor title will not bring you to this entry.|updated=2015-02-08|added=2014-02-13|noanchor=yes|jump1=No-Anchor title}}-->
{{User:PesachZ/Glossary/Glossary item|term=No-Anchor title|Noanchor|Hidden|NA|NAT|desc=This row displays identically to other rows but does not produces any anchors. A link to #No-Anchor title will not bring you to this entry.|updated=2015-02-08|added=2014-02-13|noanchor=yes|jump1=No-Anchor title}}-->
</noinclude><includeonly><!-- Begin template code -->{{#ifeq:{{{noanchor|}}}|yes|<!-- If "noanchor" is set to yes, don't output any anchors
</noinclude><includeonly><!--  
###############################################################################
        Begin template code
############################################################################### --><!-- begin table row -->
|- valign="top" <!-- Start new table row -->
|<!-- ### 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" -->}}<!-- begin table row -->
end IF "noanchor" -->}}<!-- Place anchors at beginning of first cell then
|- valign="top" <!-- Start new table row -->
-->'''{{{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, 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.
Line 21: Line 25:
--> {{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 -->
|<!-- ## Start description cell ## -->{{#if:{{{related1|}}}<!-- If there is a related1 entry that links into this entry
|<!-- ## Start description cell ## -->{{#if:{{{jump1|}}}|{{note label|{{{jump1|}}}-{{{term|}}}}}}}<!-- If jump1 is set create a jump back link using the {{note label}} template with the identifier in the format of related_article-term to match the related links identifiers. Do the same for the following jump parameters
-->|<small>Related entries:</small> <sub>{{ref|{{{term|}}}-{{{related1|}}}|{{{related1|}}}}}</sub> <!-- Then put the {{ref}} link for that term here, and check for additional related entries adding them in with  • between them.
-->{{#if:{{{related2|}}}| • <sub>{{ref|{{{term|}}}-{{{related2|}}}|{{{related2|}}}}}</sub>}} {{#if:{{{related3|}}}| • <sub>{{ref|{{{term|}}}-{{{related3|}}}|{{{related3|}}}}}</sub>}} {{#if:{{{related4|}}}| • <sub>{{ref|{{{term|}}}-{{{related4|}}}|{{{related4|}}}}}</sub>}} {{#if:{{{related5|}}}| • <sub>{{ref|{{{term|}}}-{{{related5|}}}|{{{related5|}}}}}</sub>}} {{#if:{{{related6|}}}| • <sub>{{ref|{{{term|}}}-{{{related6|}}}|{{{related6|}}}}}</sub>}} {{#if:{{{related7|}}}| • <sub>{{ref|{{{term|}}}-{{{related7|}}}|{{{related7|}}}}}</sub>}} {{#if:{{{related8|}}}| • <sub>{{ref|{{{term|}}}-{{{related8|}}}|{{{related8|}}}}}</sub>}} {{#if:{{{related9|}}}| • <sub>{{ref|{{{term|}}}-{{{related9|}}}|{{{related9|}}}}}</sub>}} {{#if:{{{related10|}}}| • <sub>{{ref|{{{term|}}}-{{{related10|}}}|{{{related10|}}}}}</sub>}} {{#if:{{{related11|}}}| • <sub>{{ref|{{{term|}}}-{{{related11|}}}|{{{related11|}}}}}</sub>}} {{#if:{{{related12|}}}| • <sub>{{ref|{{{term|}}}-{{{related12|}}}|{{{related12|}}}}}</sub>}} {{#if:{{{related13|}}}| • <sub>{{ref|{{{term|}}}-{{{related13|}}}|{{{related13|}}}}}</sub>}} {{#if:{{{related14|}}}| • <sub>{{ref|{{{term|}}}-{{{related14|}}}|{{{related14|}}}}}</sub>}} {{#if:{{{related15|}}}| • <sub>{{ref|{{{term|}}}-{{{related15|}}}|{{{related15|}}}}}</sub>}} {{#if:{{{related16|}}}| • <sub>{{ref|{{{term|}}}-{{{related16|}}}|{{{related16|}}}}}</sub>}} {{#if:{{{related17|}}}| • <sub>{{ref|{{{term|}}}-{{{related17|}}}|{{{related17|}}}}}</sub>}} {{#if:{{{related18|}}}| • <sub>{{ref|{{{term|}}}-{{{related18|}}}|{{{related18|}}}}}</sub>}} {{#if:{{{related19|}}}| • <sub>{{ref|{{{term|}}}-{{{related19|}}}|{{{related19|}}}}}</sub>}} {{#if:{{{related20|}}}| • <sub>{{ref|{{{term|}}}-{{{related20|}}}|{{{related20|}}}}}</sub>}} <!--end related1 if-->}}<!--
--start checking for jump back links --><!--
----------
Commented out display of jump back links
 
{{#if:{{{jump1|}}}{{{jump2|}}}{{{jump3|}}}{{{jump4|}}}|<!-- if any jump back links exist, check if this entry has any related links
-- >{{#if:{{{related1|}}}| &nbsp;&#124;&nbsp; }}<!-- if there are related links display a pipe in between the related and jump links
-- ><small>Jump back
 
---------
-->{{#if:{{{jump1|}}}|{{note label|{{{jump1|}}}-{{{term|}}}}}}}<!-- If jump1 is set create a jump back link using the {{note label}} template with the identifier in the format of related_article-term to match the related links identifiers. Do the same for the following jump parameters
-->{{#if:{{{jump2|}}}|{{note label|{{{jump2|}}}-{{{term|}}}}}}}{{#if:{{{jump3|}}}|{{note label|{{{jump3|}}}-{{{term|}}}}}}}{{#if:{{{jump4|}}}|{{note label|{{{jump4|}}}-{{{term|}}}}}}}<!--comment out end jump if}}<!-- end jump if  
-->{{#if:{{{jump2|}}}|{{note label|{{{jump2|}}}-{{{term|}}}}}}}{{#if:{{{jump3|}}}|{{note label|{{{jump3|}}}-{{{term|}}}}}}}{{#if:{{{jump4|}}}|{{note label|{{{jump4|}}}-{{{term|}}}}}}}<!--comment out end jump if}}<!-- end jump if  
-- ><!--
-->{{{desc|}}} <!-- place the description under the jump links -->
 
{{#if:{{{related1|}}}<!-- If there is a related1 entry that links into this entry
commented out end of jump display
-->|{{#if:{{{desc|}}}|<small><small><small><br />
</small>
 
-->{{#if:{{{related1|}}}<!--
--------
Commented out extra lines for jump text since jump text is hidden
 
{{{jump1|}}}{{{jump2|}}}{{{jump3|}}}{{{jump4|}}}
 
----------
-->|<small><small><small><br />
<!-- small empty line between related entries and description -->
<!-- small empty line between related entries and description -->
</small></small></small>}}<!-- add a line break if there are any related or jump links above
</small></small></small>}}<!-- add a line break if there is a desc above
-->{{{desc|}}} <!-- place the description under the related and jump links -->
--><small>Related entries:</small> <sub>{{ref|{{{term|}}}-{{{related1|}}}|{{{related1|}}}}}</sub> <!-- Then put the {{ref}} link for that term here, and check for additional related entries adding them in with  • between them.
|<!-- ## Start date cell ## --><small><small> {{#if:{{{updated|}}}<!--if there an updated date then
-->{{#if:{{{related2|}}}| • <sub>{{ref|{{{term|}}}-{{{related2|}}}|{{{related2|}}}}}</sub>}} {{#if:{{{related3|}}}| • <sub>{{ref|{{{term|}}}-{{{related3|}}}|{{{related3|}}}}}</sub>}} {{#if:{{{related4|}}}| • <sub>{{ref|{{{term|}}}-{{{related4|}}}|{{{related4|}}}}}</sub>}} {{#if:{{{related5|}}}| • <sub>{{ref|{{{term|}}}-{{{related5|}}}|{{{related5|}}}}}</sub>}} {{#if:{{{related6|}}}| • <sub>{{ref|{{{term|}}}-{{{related6|}}}|{{{related6|}}}}}</sub>}} {{#if:{{{related7|}}}| • <sub>{{ref|{{{term|}}}-{{{related7|}}}|{{{related7|}}}}}</sub>}} {{#if:{{{related8|}}}| • <sub>{{ref|{{{term|}}}-{{{related8|}}}|{{{related8|}}}}}</sub>}} {{#if:{{{related9|}}}| • <sub>{{ref|{{{term|}}}-{{{related9|}}}|{{{related9|}}}}}</sub>}} {{#if:{{{related10|}}}| • <sub>{{ref|{{{term|}}}-{{{related10|}}}|{{{related10|}}}}}</sub>}} {{#if:{{{related11|}}}| • <sub>{{ref|{{{term|}}}-{{{related11|}}}|{{{related11|}}}}}</sub>}} {{#if:{{{related12|}}}| • <sub>{{ref|{{{term|}}}-{{{related12|}}}|{{{related12|}}}}}</sub>}} {{#if:{{{related13|}}}| • <sub>{{ref|{{{term|}}}-{{{related13|}}}|{{{related13|}}}}}</sub>}} {{#if:{{{related14|}}}| • <sub>{{ref|{{{term|}}}-{{{related14|}}}|{{{related14|}}}}}</sub>}} {{#if:{{{related15|}}}| • <sub>{{ref|{{{term|}}}-{{{related15|}}}|{{{related15|}}}}}</sub>}} {{#if:{{{related16|}}}| • <sub>{{ref|{{{term|}}}-{{{related16|}}}|{{{related16|}}}}}</sub>}} {{#if:{{{related17|}}}| • <sub>{{ref|{{{term|}}}-{{{related17|}}}|{{{related17|}}}}}</sub>}} {{#if:{{{related18|}}}| • <sub>{{ref|{{{term|}}}-{{{related18|}}}|{{{related18|}}}}}</sub>}} {{#if:{{{related19|}}}| • <sub>{{ref|{{{term|}}}-{{{related19|}}}|{{{related19|}}}}}</sub>}} {{#if:{{{related20|}}}| • <sub>{{ref|{{{term|}}}-{{{related20|}}}|{{{related20|}}}}}</sub>}} <!--end related1 if-->}}
|<!-- ## Start date cell ## -->style=text-align:center;|<small><small> {{#if:{{{updated|}}}<!--if there an updated date then
-->|{{{updated|}}}&nbsp;(U)<!-- place the last updated date followed by "(U)" in the 4th cell, and end if>-->}}{{#if:{{{added|}}}<!-- if there is an added date... -->
-->|{{{updated|}}}&nbsp;(U)<!-- place the last updated date followed by "(U)" in the 4th cell, and end if>-->}}{{#if:{{{added|}}}<!-- if there is an added date... -->
     |{{#if:{{{updated|}}}<!-- then if there was also an updated date... -->
     |{{#if:{{{updated|}}}<!-- then if there was also an updated date... -->
           |<br>}}<!-- add a line break -->
           |<br>}}<!-- add a line break -->
{{{added|}}}&nbsp;(A)}} </small></small><!-- followed by the date added with an "(A)" on the next line --></includeonly>
{{{added|}}}&nbsp;(A)}} </small></small><!-- followed by the date added with an "(A)" on the next line --></includeonly>

Latest revision as of 09:49, 19 April 2015

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