Difference between revisions of "Template:User time zone"
From Paragon Wiki Archive
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}}}]]. |
Contents
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}}}]]. |
|
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}} |
|
Samples
Template output | Stand alone code | ||
---|---|---|---|
|
{{User time zone|UTC}} | ||
|
{{User time zone|GMT}} | ||
|
{{User time zone|EST}} |