Template:Neighborhood: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>A morris
m (moving Category:Neighborhoods with main namespace statements)
sims>Random Ranaun
No edit summary
Line 1: 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|{{{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;">
{| style="margin-left:5px; float:right; width:264px; font-size:94%; text-align:left; border:1px solid #007FFF; background-color: #FFFFFF; -moz-border-radius:10px;" cellpadding="0"
{| cellspacing="1.5" <div style="float:right;background:#99bbff;color:black;">
! colspan="2" style="font-size:110%; text-align:center;" | ''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}''
|
{| cellpadding="3" cellspacing="0" style="float:center; width:255px; font-size: 90%; background-color: #ffffff; text-align: left"
|-
|-
{{#ifeq: {{#expr: {{#if:{{{header|<noinclude>-</noinclude>}}}|1|0}} }} | 1 |
{{!}} align="center" colspan="2" bgcolor="{{Vgmainheadercolor|{{Vgcode|{{{game1}}} }} }}" style="font-size:110%; padding:1px; color:#FFFFFF;" {{!}} '''{{{header|{{PAGENAME}}}}}'''
<includeonly>{{#ifeq:{{NAMESPACE}}| |[[Category:Sims]]|<!--Not in Main: namespace-->}}{{#ifeq:{{NAMESPACE}}|Fanon|[[Category:Sims (fanon)]]|<!--Not in Main: namespace-->}}</includeonly>
{{!}}-
}}
{{#if:{{{game1<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="float:center; text-align:center" {{!}}<small><center>{{GetGameImage|{{{game1}}}}}</center></small>
{{!}}-
}}
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{#if:{{{image<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} {{{image}}}<br /><span style="font-size:80%;">{{{caption|{{PAGENAME}}}}}</span>
{{!}} 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|}}}|{{GetGenderImage|{{{sex}}} }} }}{{{game1}}}{{#if:{{{game2<includeonly>|</includeonly>}}}|, {{{game2}}} }}
{{!}}-
}}
|}
{| cellpadding="3" cellspacing="0" style="float:center; width:255px; font-size: 90%; background-color: #ffffff; text-align: left"
|-
{{#ifeq: {{#expr: {{#if:{{{playerstories|<noinclude>-</noinclude>}}}|1|0}} }} | 1 |
{{!}}-
{{!}} align="center" colspan="2" bgcolor="{{Vgsecondaryheadercolor|{{Vgcode|{{{game1}}} }} }}" style="font-size:110%; padding:1px; color:{{Vgsecondaryfontcolor|{{Vgcode|{{{game1}}} }} }};" {{!}} '''<includeonly>{{Checkmns|</includeonly>{{#ifexist:{{FULLPAGENAME}}/Player stories|[[{{PAGENAME}}/Player stories{{!}}Player stories]]|<span class="red-link">[{{fullurl:{{FULLPAGENAME}}/Player stories|action=edit&preload=Template:Player_Stories/preload}} Create 'Player stories' page]</span>}}<includeonly>}}</includeonly>'''
{{!}}-
}}
|}
{| cellpadding="3" cellspacing="0" style="float:center; width:255px; font-size: 90%; background-color: #ffffff; text-align: left"
|-
{{#ifeq: {{#expr: {{#if:{{{theories|<noinclude>-</noinclude>}}}|1|0}} }} | 1 |
{{!}}-
{{!}} 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}}}]]}}'''
{{!}}-
{{!}}-
}}
}}
|}
{{!}} style="text-align:left;" {{!}} '''Name'''
{| cellpadding="3" cellspacing="0" style="float:center; width:255px; font-size: 90%; background-color: #ffffff; text-align: left"
| {{{name|{{PAGENAME}}}}}
|-
|-
{{#if:{{{games<includeonly>|</includeonly>}}} |
{{#ifeq: {{#expr: {{#if:{{{fanoncomments|<noinclude>-</noinclude>}}}|1|0}} }} | 1 |
{{!}} 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>'''
{{!}} style="text-align:left;" {{!}} '''Game(s)'''
{{!}}{{{games}}}
{{!}}-
{{!}}-
}}
}}
|}
! colspan="2" style="text-align:center;" |
</div>
<includeonly>{{Checkmns|</includeonly>
|}
----
</div><noinclude>
'''{{#ifexist:{{FULLPAGENAME}}/Onomatology|[[{{PAGENAME}}/Onomatology{{!}}Onomatology]]|<span class="red-link">[{{fullurl:{{FULLPAGENAME}}/Onomatology|action=edit&preload=Template:Onomatology/preload}} Create 'Onomatology' page]</span>}}'''<br>
'''{{#ifexist:{{FULLPAGENAME}}/Player stories|[[{{PAGENAME}}/Player stories{{!}}Player stories]]|<span class="red-link">[{{fullurl:{{FULLPAGENAME}}/Player stories|action=edit&preload=Template:Player_Stories/preload}} Create 'Player stories' page]</span>}}'''
{{#if: {{{theories<includeonly>|</includeonly>}}} | <br />'''[[{{PAGENAME}}/theories|{{{theories}}}]]'''}}
<includeonly>[[Category:Neighborhoods]]
}}</includeonly><includeonly>{{Checkfns|</includeonly>
----
'''[[{{FULLPAGENAME}}#WikiaArticleComments|Write a review!]]'''<includeonly>}}</includeonly>
|}<noinclude>


==Usage==
==Usage==

Revision as of 16:55, 2 July 2011

Neighborhood
link={{{game1}}}
{{{image}}}
{{{caption}}}
Name {{{name}}}
Game(s) {{{game1}}}, {{{game2}}}
Create 'Player stories' page
{{{theories}}}
Write a Review!

Usage

{{NeighborhoodInfobox
|name     = 
|image    = 
|caption  = 
|games    = 
|theories = 
}}

Parameters

Required

  • name: Name of the neighborhood.

Optional

  • image: [[File:Example.jpg|width]] The image should be no larger than 256px wide. The width may be left out if it is smaller than that.
  • caption: Caption for the image.
  • games: Games this neighborhood is featured in.
  • theories - The display name of a special subpage. Ex. What happened to Bella Goth?, Who is Mrs. Crumplebottom?