Template:User time zone: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
m (tweak)
imported>Aggelakis
mNo edit summary
Line 22: Line 22:
! output
! output
|-
|-
| <pre>{{User time zone|MDT|Mountain Time Zone}}</pre>
| <pre>{{User time zone|Mountain|Mountain Time Zone}}</pre>
| {{User time zone|MDT|Mountain Time Zone}}
| {{User time zone|Mountain|Mountain Time Zone}}
|}
|}
===Three Parameters===
===Three Parameters===

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}}
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.