Template:User time zone: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko (historical)
(expanding complete. Can now use optional 2nd and 3rd parameters to properly link to time zones)
imported>Konoko (historical)
m (extra close bracket)
Line 39: Line 39:
| <nowiki>'''[[Image:IO Accuracy.png]]''' This user's time zone is '''[[Wikipedia:Mountain Time Zone|MDT]]'''.</nowiki>
| <nowiki>'''[[Image:IO Accuracy.png]]''' This user's time zone is '''[[Wikipedia:Mountain Time Zone|MDT]]'''.</nowiki>
| {{User time zone|MDT|Mountain Time Zone|[[Image:IO Accuracy.png]]}}
| {{User time zone|MDT|Mountain Time Zone|[[Image:IO Accuracy.png]]}}
|}
|}[[Category:Userbox Templates|{{PAGENAME}}]]</noinclude>
|}[[Category:Userbox Templates|{{PAGENAME}}]]</noinclude>

Revision as of 16:17, 18 April 2007

{{{1}}} This user's time zone is [[Wikipedia:{{{1}}}|{{{1}}}]].


Notes

Takes 1, 2, or 3 parameters.

one

If only one parameter is used, then this is the output.

wikicode resulting code output
{{User time zone|UTC}}
'''UTC''' This user's time zone is '''[[Wikipedia:UTC|UTC]]'''.
UTC This user's time zone is 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
{{User time zone|MDT|Mountain Time Zone}}
'''MDT''' This user's time zone is '''[[Wikipedia:Mountain Time Zone|MDT]]'''.
MDT This user's time zone is MDT.

three

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 resulting code output
{{User time zone|MDT|Mountain Time Zone|[[Image:IO Accuracy.png]]}}
'''[[Image:IO Accuracy.png]]''' This user's time zone is '''[[Wikipedia:Mountain Time Zone|MDT]]'''.
IO Accuracy.png This user's time zone is MDT.