User:LostInRiverview/Test: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
imported>LostInRiverview
mNo edit summary
imported>LostInRiverview
No edit summary
Line 1: Line 1:
:'''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 if a date is valid in both formats; 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.}}
<div style="width:260px;float:right;clear:right;margin-left:5px;margin-right:0px;margin-top:0px;margin-bottom:0px; border-right: {{Vgbordercolor|{{Vgcode|{{{game1}}} }} }} 1px solid;border-left:{{Vgbordercolor|{{Vgcode|{{{game1}}} }} }} 1px solid; border-top:{{Vgbordercolor|{{Vgcode|{{{game1}}} }} }} 1px solid;border-bottom:{{Vgbordercolor|{{Vgcode|{{{game1}}} }} }} 1px solid; background:{{Vgsecondaryheadercolor|{{Vgcode|{{{game1}}} }} }}; color:black; vertical-align:top; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius:5px; background-position:-40px -15px;">

{| 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|{{{game1}}} }} }}" style="font-size:110%; padding:1px; color:#FFFFFF;" {{!}} '''{{{name|{{PAGENAME}}}}}'''
<includeonly>{{Checkmns|[[Category:Neighborhoods]]}}{{Checkfns|[[Category:Neighborhoods (fanon)]]}}</includeonly>
{{!}}-
}}
{{#if:{{{game1<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="float:center; text-align:center" {{!}}<small><center>{{GetGameImage|{{{game1}}}|{{{name|}}}}}</center></small>
{{!}}-
}}
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="float:center; border-top:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid; text-align:center" {{!}}{{{image}}}
{{!}}-
}}
{{#if:{{{caption<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid; text-align:center"{{!}}<small><font color="{{Vgmainheadercolor|{{Vgcode|{{{game1}}} }} }}">''{{{caption}}}''</font></small>
{{!}}-
}}
{{#if:{{{name<includeonly>|</includeonly>}}} |
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game1}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Name'''
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid;" {{!}}{{{name}}}
{{!}}-
}}
{{#if:{{{game1<includeonly>|</includeonly>}}} |
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game1}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Game(s)'''
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid;" {{!}}{{#if:{{{game1|}}}|{{GetGameIcon|{{{game1}}}|{{{name}}} }} }} [[{{{game1}}}]]{{#if:{{{game2<includeonly>|</includeonly>}}}|, {{{game2}}} }}
{{!}}-
}}
{{#if:{{{cost<includeonly>|</includeonly>}}} |
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game1}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Cost <br/><small><small>(in [[The Sims 3 Store#SimPoints|SimPoints]])</small></small>'''
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid;" {{!}}{{#if:{{{cost<includeonly>|</includeonly>}}}|{{{cost}}} }}
{{!}}-
}}
|}
{| cellpadding="3" cellspacing="0" style="float:center; width:255px; font-size: 90%; background-color: #ffffff; text-align: left"
|-
{{!}}-
{{!}} align="center" colspan="2" bgcolor="{{Vgsecondaryheadercolor|{{Vgcode|{{{game1}}} }} }}" style="font-size:110%; padding:1px; color:{{Vgsecondaryfontcolor|{{Vgcode|{{{game1}}} }} }};" {{!}} <includeonly>{{Checkmns|</includeonly>'''{{#ifexist:{{FULLPAGENAME}}/Onomatology|[[{{PAGENAME}}/Onomatology{{!}}Onomatology]]|<span class="red-link">[{{fullurl:{{FULLPAGENAME}}/Onomatology|action=edit&preload=Template:Onomatology/preload}} Create 'Onomatology' page]</span>}}'''<includeonly>}}</includeonly>
{{!}}-
|}
{| cellpadding="3" cellspacing="0" style="float:center; width:255px; font-size: 90%; background-color: #ffffff; text-align: left"
|-
{{!}} align="center" colspan="2" bgcolor="{{Vgsecondaryheadercolor|{{Vgcode|{{{game1}}} }} }}" style="font-size:110%; padding:1px; color:{{Vgsecondaryfontcolor|{{Vgcode|{{{game1}}} }} }};" {{!}} {{#if: {{{theories<includeonly>|</includeonly>}}} | '''[[{{PAGENAME}}/theories|{{{theories}}}]]'''}}
{{!}}-
|}
{| cellpadding="3" cellspacing="0" style="float:center; width:255px; font-size: 90%; background-color: #ffffff; text-align: left"
|-
{{!}} align="center" colspan="2" bgcolor="{{Vgsecondaryheadercolor|{{Vgcode|{{{game1}}} }} }}" style="font-size:110%; padding:1px; color:{{Vgsecondaryfontcolor|{{Vgcode|{{{game1}}} }} }};" {{!}} <includeonly>{{Checkfns|</includeonly>'''[[{{FULLPAGENAME}}#WikiaArticleComments|Write a Review!]]'''<includeonly>}}</includeonly>
{{!}}-
|}
</div>
|}
</div>

Revision as of 02:47, 7 January 2014

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 if a date is valid in both formats; for instance, 6/18/24 is read as June 18th for Americans, but is a nonsense date to Non-Americans.
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 ISO standards regarding dates (YYYY-MM-DD format).