Difference between revisions of "Template:UB Timezone"
From Nookipedia, the Animal Crossing wiki
Line 10: | Line 10: | ||
==Usage== | ==Usage== | ||
===Base=== | ===Base=== | ||
− | <pre>{{UB Timezone|< | + | <pre>{{UB Timezone|<Timezone>}}</pre> |
'''''Note:''' the first field must be filled out in order for the userbox to display properly.'' | '''''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 | + | 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 [[Wikipedia:List of UTC time offsets|here]]. The following formats are acceptable: |
*''UTC+01:00/UTC-01:00'': UTC±Full Offset | *''UTC+01:00/UTC-01:00'': UTC±Full Offset | ||
*''UTC+1/UTC-1'': UTC±Offset, without zeroes | *''UTC+1/UTC-1'': UTC±Offset, without zeroes | ||
Line 21: | Line 21: | ||
===Customization=== | ===Customization=== | ||
The link text displayed may be customized: | The link text displayed may be customized: | ||
− | <pre>{{UB Timezone|< | + | <pre>{{UB Timezone|<Timezone>|<Display>}}</pre> |
Replace <Display> in the above code with the text to be displayed as the link. | Replace <Display> in the above code with the text to be displayed as the link. | ||
Line 30: | Line 30: | ||
}} | }} | ||
{{UBDisplay | {{UBDisplay | ||
− | |box={{UB Timezone| | + | |box={{UB Timezone|Alaska Time Zone|the Alaska Time Zone}} |
− | |use=<nowiki>{{UB Timezone| | + | |use=<nowiki>{{UB Timezone|Alaska Time Zone|the Alaska Time Zone}}</nowiki> |
}} | }} | ||
[[Category:Userboxes]]</noinclude> | [[Category:Userboxes]]</noinclude> |
Revision as of 13:36, December 19, 2013
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
| ||
{{UB Timezone|UTC−07:00}} |
| ||
{{UB Timezone|Alaska Time Zone|the Alaska Time Zone}} |