Template:User time zone: Difference between revisions
Jump to navigation
Jump to search
imported>Konoko m (expanding, test edit) |
imported>Konoko mNo edit summary |
||
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}}}]]. |
|
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}} |