Difference between revisions of "Template:UB Timezone"

From Nookipedia, the Animal Crossing wiki
m (formatted to standard userbox size)
m (Text replacement - "{{clr}}" to "{{clear}}")
Line 6: Line 6:
 
   |info-c  = #fff
 
   |info-c  = #fff
 
   |border-c = #ccc
 
   |border-c = #ccc
}}<noinclude>{{clr}}
+
}}<noinclude>{{clear}}
  
 
==Usage==
 
==Usage==

Revision as of 16:24, January 3, 2021

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

Usage

Base

{{UB Timezone|<Timezone>}}

Note: the first field must be filled out in order for the userbox to display properly.

This userbox is set to display a link to a timezone page on Wikipedia. Replace <Offset> in the above code with the desired link. A list of UTC offsets is available here. The following formats are acceptable:

  • UTC+01:00/UTC-01:00: UTC±Full Offset
  • UTC+1/UTC-1: UTC±Offset, without zeroes
  • GMT+1/GMT-1: GMT±Offset, without zeroes

Customization

The link text displayed may be customized:

{{UB Timezone|<Timezone>|<Display>}}

Replace <Display> in the above code with the text to be displayed as the link.

Example

Wall clock.png This user's time zone is UTC−07:00.
{{UB Timezone|UTC−07:00}}
Wall clock.png This user's time zone is the Alaska Time Zone.
{{UB Timezone|Alaska Time Zone|the Alaska Time Zone}}