User:LostInRiverview/Test: Difference between revisions

no edit summary
imported>LostInRiverview
No edit summary
imported>LostInRiverview
No edit summary
Line 1:
<div style="width: 260px; float: right; clear: right; margin-left: 5px ;margin-right: 0px; margin-top: 0px ;margin-bottom: 0px; border-right: {{Vgbordercolor|{{Vgcode|{{{game}}} }} }} 1px solid;border-left: {{Vgbordercolor|{{Vgcode|{{{game}}} }} }} 1px solid; border-top: {{Vgbordercolor|{{Vgcode|{{{game}}} }} }} 1px solid; border-bottom: {{Vgbordercolor|{{Vgcode|{{{game}}} }} }} 1px solid; background: {{Vgsecondaryheadercolor|{{Vgcode|{{{game}}} }} }}; color: black; vertical-align: top; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius :5px; background-position: -40px -15px;">
:'''Note:''' The standard format for all-numeric dates in the United States is month/day/year, while in many other parts of the world, dates are listed as day/month/year. This can cause confusion and miscommunication. For instance, {{#time:n/j/y}} is read as {{#time:F j}}{{#switch: {{#time:j}}|1|21|31=st|2|22=nd|3|23=rd|th}} for Americans, {{#ifexpr: {{#time:j}} > 12|but is a nonsense date to Non-Americans.|or as {{#switch:{{#time:j}}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December}} {{#time:n}}{{#switch: {{#time:n}}|1|21|31=st|2|22=nd|3|23=rd|th}} for non-Americans.}}
{| cellspacing="1.5" <div style="float:right;background:#99bbff;color:black;">
 
|
:It is best to avoid use of purely numerical dates; listing a date as 5 October/October 5th or 10 May/May 10th avoids this confusion. If a numerical date is necessary or preferred, please follow [[Wikipedia:ISO_8601#Dates|ISO standards]] regarding dates (YYYY-MM-DD format).
{| cellpadding="3" cellspacing="0" style="float:center; width:255px; font-size: 90%; background-color: #ffffff; text-align: left"
|-
{{#ifeq: {{#expr: {{#if:{{{name|<noinclude>-</noinclude>}}}|1|0}} }} | 1 |
{{!}} align="center" colspan="2" bgcolor="{{Vgmainheadercolor|{{Vgcode|{{{game}}} }} }}" style="font-size:110%; padding:1px; color:#FFFFFF;" {{!}} '''{{{name|{{PAGENAME}}}}}'''
{{!}}-
}}
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="float:center; border-top:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; text-align:center" {{!}}{{{image}}}
{{!}}-
}}
{{#if:{{{desc<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; text-align:center"{{!}}<small><font color="{{Vgmainheadercolor|{{Vgcode|{{{game}}} }} }}">''{{{desc}}}''</font></small>
{{!}}-
}}
{{#if:{{{buy<includeonly>|</includeonly>}}} |
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Buyable'''
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}} {{{buy}}}
{{!}}-
}}
{{#if:{{{price<includeonly>|</includeonly>}}} |
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Price'''
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}} {{{price}}}
{{!}}-
}}
{{#ifeq: {{#expr: {{#if:{{{type|<noinclude>-</noinclude>}}}|1|0}} or {{#if:{{{type1|}}}|1|0}} }} | 1 |
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Type'''
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}}{{
#if: {{{type<includeonly>|</includeonly>}}} |
{{{type}}}
}}{{
#if: {{{type1<includeonly>|</includeonly>}}} |
{{{type1}}}{{#if: {{{type2<includeonly>|</includeonly>}}} |, {{{type2}}}}}{{#if: {{{type3<includeonly>|</includeonly>}}} |, {{{type3}}}}}{{#if: {{{type4<includeonly>|</includeonly>}}} |, {{{type4}}}}}{{#if: {{{type5<includeonly>|</includeonly>}}} |, {{{type5}}}}}
}}
{{!}}-
}}
{{#if:{{{size<includeonly>|</includeonly>}}} |
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Size'''
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}} {{{size}}}
{{!}}-
}}
{{#if:{{{uses<includeonly>|</includeonly>}}} |
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Uses'''
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game}}} }} }} 1px solid;" {{!}} {{{uses}}}
{{!}}-
}}
|}
</div>
|}
</div><includeonly>{{#ifeq: {{lc:{{{cat}}}}}|n| |{{#ifeq: {{lc:{{{cat}}}}}|no| |{{#ifeq:{{NAMESPACE}}| |[[Category:Objects]]
{{GetObjectCats|game|{{{game}}}}}{{GetObjectCats|type|{{{type}}}}}{{GetObjectCats|type|{{{type1}}}}}{{GetObjectCats|type|{{{type2}}}}}{{GetObjectCats|type|{{{type3}}}}}{{GetObjectCats|type|{{{type4}}}}}{{GetObjectCats|type|{{{type5}}}}}{{GetObjectCats|buy|{{{buy}}}}}
|<!-- Not in Main namespace -->}}}}}}</includeonly>