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 (tweak)
(move doc)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
| 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></includeonly><noinclude>{{clr}}
+
|}</div></includeonly><noinclude>
{{TOCright}}
+
{{documentation}}
==Usage==
+
</noinclude>
Takes 1, 2, or 3 parameters.
+
===One Parameter===
+
If only one parameter is used, then this is the output.
+
{|
+
! wikicode
+
! output
+
|-
+
| <pre>{{User time zone|UTC}}</pre>
+
| {{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
+
|-
+
| <pre>{{User time zone|MDT|Mountain Time Zone}}</pre>
+
| {{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
+
|-
+
| <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]]}}
+
|}[[Category:Userbox Templates|Time]]</noinclude>
+

Latest revision as of 16:39, 19 August 2010

[edit] [purge] Documentation

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}}
UTC This user's time zone is 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|Mountain|Mountain Time Zone}}
Mountain This user's time zone is Mountain.

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]]}}
V badge TimeSpentBadge.png This user's time zone is MDT.

See also