Template:User time zone: Difference between revisions
Jump to navigation
Jump to search
imported>Aggelakis (historical) mNo edit summary |
imported>Aggelakis (historical) m (tweak) |
||
Line 1: | Line 1: | ||
<div style="float: left; border: solid #4169E1 1px; margin: 1px;"> | <includeonly><div style="float: left; border: solid #4169E1 1px; margin: 1px;"> | ||
{| cellspacing="0" style="width: 238px; color: #000000; background: #D3D3D3;" | {| cellspacing="0" style="width: 238px; color: #000000; background: #D3D3D3;" | ||
| style="width: 45px; height: 45px; background: white; text-align: center;" |{{#if:{{{3|}}}|{{{3}}}|'''{{{1}}}'''}} | | style="width: 45px; height: 45px; background: white; text-align: center;" |{{#if:{{{3|}}}|{{{3}}}|'''{{{1}}}'''}} | ||
| style="font-size: 8pt; padding: 4pt; line-height: 1.25em;" | This user's time zone is '''[[Wikipedia:{{#if:{{{2|}}}|{{{2}}}|{{{1}}} }}|{{{1}}}]]'''. | | style="font-size: 8pt; padding: 4pt; line-height: 1.25em;" | This user's time zone is '''[[Wikipedia:{{#if:{{{2|}}}|{{{2}}}|{{{1}}} }}|{{{1}}}]]'''. | ||
|}</div><noinclude>{{clr}} | |}</div></includeonly><noinclude>{{clr}} | ||
{{TOCright}} | |||
= | ==Usage== | ||
Takes 1, 2, or 3 parameters. | Takes 1, 2, or 3 parameters. | ||
== | ===One Parameter=== | ||
If only one parameter is used, then this is the output. | If only one parameter is used, then this is the output. | ||
{| | {| | ||
! wikicode | ! wikicode | ||
! output | ! output | ||
|- | |- | ||
| <pre>{{User time zone|UTC}}</pre> | | <pre>{{User time zone|UTC}}</pre> | ||
| {{User time zone|UTC}} | | {{User time zone|UTC}} | ||
|} | |} | ||
== | ===Two Parameters=== | ||
If two parameters are used, the the link text is modified, useful when MDT and EST don't redirect immediately to the wikipedia articles. | 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 | ! wikicode | ||
! output | ! output | ||
|- | |- | ||
| <pre>{{User time zone|MDT|Mountain Time Zone}}</pre> | | <pre>{{User time zone|MDT|Mountain Time Zone}}</pre> | ||
| {{User time zone|MDT|Mountain Time Zone}} | | {{User time zone|MDT|Mountain Time Zone}} | ||
|} | |} | ||
== | ===Three Parameters=== | ||
The third parameter is entirely optional, will replace the large bold text to the left. (bold caused by wikimarkup's apostrophes, using third parameter removes them) | The third parameter is entirely optional, will replace the large bold text to the left. (bold caused by wikimarkup's apostrophes, using third parameter removes them) | ||
{| | {| | ||
! wikicode | ! wikicode | ||
! output | ! output | ||
|- | |- | ||
| <pre>{{User time zone|MDT|Mountain Time Zone|[[ | | <pre>{{User time zone|MDT|Mountain Time Zone|[[File:V badge TimeSpentBadge.png|32px]]}}</pre> | ||
| {{User time zone|MDT|Mountain Time Zone|[[File:V badge TimeSpentBadge.png|32px]]}} | |||
| {{User time zone|MDT|Mountain Time Zone|[[ | |||
|}[[Category:Userbox Templates|Time]]</noinclude> | |}[[Category:Userbox Templates|Time]]</noinclude> |
Revision as of 06:16, 28 June 2009
Usage
Takes 1, 2, or 3 parameters.
One Parameter
If only one parameter is used, then this is the output.
wikicode | output | ||
---|---|---|---|
{{User time zone|UTC}} |
|
Two Parameters
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 | output | ||
---|---|---|---|
{{User time zone|MDT|Mountain Time Zone}} |
|
Three Parameters
The third parameter is entirely optional, will replace the large bold text to the left. (bold caused by wikimarkup's apostrophes, using third parameter removes them)
wikicode | output | ||
---|---|---|---|
{{User time zone|MDT|Mountain Time Zone|[[File:V badge TimeSpentBadge.png|32px]]}} |
|