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>LostInRiverview
m (Fallback solution)
sims>LostInRiverview
(Adding additional check - template will categorize pages as Worlds if game is listed as The Sims 4)
Line 6: Line 6:
{{#ifeq: {{#expr: {{#if:{{{name|<noinclude>-</noinclude>}}}|1|0}} }} | 1 |
{{#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}}}}}'''
{{!}} 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>
{{!}}-
{{!}}-
}}
}}
Line 55: Line 54:
</div>
</div>
|}
|}
</div>{{#ifeq|{{Checkgame|{{{game1}}}}}|The Sims 4|<includeonly>{{Checkmns|[[Category:Worlds]]}}{{Checkfns|[[Category:Worlds (fanon)]]}}</includeonly>|<includeonly>{{Checkmns|[[Category:Neighborhoods]]}}{{Checkfns|[[Category:Neighborhoods (fanon)]]}}</includeonly>}}
</div>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 01:18, 3 July 2014

Neighborhood
link={{{game1}}}
{{{image}}}
{{{caption}}}
Name {{{name}}}
Game(s) [[{{{game1}}}]], {{{game2}}}
Cost
(in SimPoints)
{{{cost}}}
Create 'Onomatology' page
{{{theories}}}
Write a Review!

{{#ifeq||The Sims 4||}}

Template documentation (View · Edit · History · Purge)
Usage
{{NeighborhoodInfobox
|name    = 
|image   = 
|caption = 
|game1   = 
}}
Parameters

Required

  • name: Name of the neighborhood.
  • image: [[File:Example.jpg|250px]] The image should be 250px or smaller.
  • caption: Caption for the image.
  • game1: The main game this neighborhood is featured in.

Optional

  • game2: Other games this neighborhood is featured in.
  • cost: The cost of downloadable world, specifically from The Sims 3 Store. This parameter gives the price in SimPoints; if the price is not in SimPoints, use...
    • override: If this parameter is filled in with any text, the "in SimPoints" text below 'Cost' on the template will be removed. Note that in these cases, the currency should be stated in the cost.
  • theories - The display name of a special subpage. Ex. What happened to Bella Goth?, Who is Mrs. Crumplebottom?

Visit Template:Neighborhood/doc to edit this text! (How does this work?) (Refresh this text - why?)