Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:User time zone"

From Paragon Wiki Archive
Jump to: navigation, search
m (expanding, test edit)
m
Line 17: Line 17:
 
| '''{{#if: {{{3|}}}|{{{3}}}|{{{1}}}}}''' This user's time zone is '''[[Wikipedia:{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}|{{{1}}}]]'''.
 
| '''{{#if: {{{3|}}}|{{{3}}}|{{{1}}}}}''' This user's time zone is '''[[Wikipedia:{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}|{{{1}}}]]'''.
 
| {{User time zone|UTC}}
 
| {{User time zone|UTC}}
 +
|}
 +
===two===
 +
If two parameters are used, the the link text is modified, useful when MDT and EST don't redirect immediately to the wikipedia articles.
 +
{|
 +
! wikicode
 +
! resulting code
 +
! output
 +
|-
 +
| <pre>{{User time zone|MDT|Mountain Standard Time}}</pre>
 +
|
 +
| {{User time zone|MDT|Mountain Standard Time}}
 
|}
 
|}
 
===Samples===
 
===Samples===

Revision as of 15:52, 18 April 2007

{{{1}}} This user's time zone is [[Wikipedia:{{{1}}}|{{{1}}}]].

Notes

Takes 1, 2, 3 parameters.

one

If only one parameter is used, then this is the output.

wikicode resulting code output
{{User time zone|UTC}}
{{{1}}} This user's time zone is [[Wikipedia:{{{1}}}|{{{1}}}]].
UTC This user's time zone is UTC.

two

If two parameters are used, the the link text is modified, useful when MDT and EST don't redirect immediately to the wikipedia articles.

wikicode resulting code output
{{User time zone|MDT|Mountain Standard Time}}
MDT This user's time zone is MDT.

Samples

Template output Stand alone code
UTC This user's time zone is UTC.
{{User time zone|UTC}}
GMT This user's time zone is GMT.
{{User time zone|GMT}}
EST This user's time zone is EST.
{{User time zone|EST}}