Template:User time zone: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Konoko
m (missed bolding the thingy)
imported>Konoko
m (expanding, test edit)
Line 1: Line 1:
<div style="float: left; border: solid #4169E1 1px; margin: 1px;">
<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;" |'''{{{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:{{{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><noinclude>{{clr}}


==Notes==
Takes 1, 2, 3 parameters.
===one===
If only one parameter is used, then this is the output.
{|
! wikicode
! resulting code
! output
|-
| <pre>{{User time zone|UTC}}</pre>
| '''{{#if: {{{3|}}}|{{{3}}}|{{{1}}}}}''' This user's time zone is '''[[Wikipedia:{{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}|{{{1}}}]]'''.
| {{User time zone|UTC}}
|}
===Samples===
===Samples===
{|
{|

Revision as of 15:49, 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}}}]].
UTC This user's time zone is UTC.

Samples

Template output Stand alone code
UTC This user's time zone is UTC.
{{User time zone|UTC}}
GMT This user's time zone is GMT.
{{User time zone|GMT}}
EST This user's time zone is EST.
{{User time zone|EST}}