Template:TLyear: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<noinclude>;Usage: <nowiki>{{TLyear|num=-8|string=minus8}}</nowiki>
<noinclude>This is a template for the [[Timeline]] page
 
 
;Usage: <nowiki>{{TLyear|num=-8|string=minus8}}</nowiki>


Note that the edit link shows up even if the minus page does not exist.
Note that the edit link shows up even if the minus page does not exist.
Line 6: Line 9:
{{#ifexist:{{lc:{{PAGENAME}}}}/{{{string}}}| {{:{{lc:{{PAGENAME}}}}/{{{string}}}}} |}}<!-- list the minus page if it exists-->
{{#ifexist:{{lc:{{PAGENAME}}}}/{{{string}}}| {{:{{lc:{{PAGENAME}}}}/{{{string}}}}} |}}<!-- list the minus page if it exists-->


<span class="plainlinks" style="font-size: small"><center>( [{{fullurl:{{lc:{{PAGENAME}}}}/{{{string}}}|action=edit}} <span title="Edit timeline">Edit Timeline Entry</span>] )</center></span><!-- edit link even if page does not exist --></includeonly>
<span class="plainlinks" style="font-size: small"><center>( [{{fullurl:{{lc:{{PAGENAME}}}}/{{{string}}}|action=edit}} <span title="Edit timeline">Edit Timeline Entry</span>] )</center></span><!-- edit link even if page does not exist --></includeonly><noinclude>== Links ==
* [[Timeline]]
</noinclude>

Latest revision as of 17:03, 18 September 2020

This is a template for the Timeline page


Usage
{{TLyear|num=-8|string=minus8}}

Note that the edit link shows up even if the minus page does not exist.

Links