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
(Attempting a pretty "creative" solution to this issue)
sims>LostInRiverview
m (Undid revision 557765 by LostInRiverview (Talk) It works, but only if the cost param displays one number only. Since I know it's used to display multiple prices, this won't work)
Line 32: Line 32:
}}
}}
{{#if:{{{cost<includeonly>|</includeonly>}}} |
{{#if:{{{cost<includeonly>|</includeonly>}}} |
{{!}} width="75" style="background: {{Vgbodycolor|{{Vgcode|{{{game1}}} }} }}; border-bottom:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid; color: #4B4B4B"{{!}}'''Cost <br/>{{#iferror:{{#expr: {{{cost}}} + 1}}| |<small><small>(in [[The Sims 3 Store#SimPoints|SimPoints]])</small></small>}}'''
{{!}} 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}}} }}
{{!}} style="background: #FFFFFF; border-bottom:{{Vglinecolor|{{Vgcode|{{{game1}}} }} }} 1px solid;" {{!}}{{#if:{{{cost<includeonly>|</includeonly>}}}|{{{cost}}} }}
{{!}}-
{{!}}-

Revision as of 15:34, 20 December 2013

Neighborhood
link={{{game1}}}
{{{image}}}
{{{caption}}}
Name {{{name}}}
Game(s) [[{{{game1}}}]], {{{game2}}}
Cost
(in SimPoints)
{{{cost}}}
Create 'Onomatology' page
{{{theories}}}
Write a Review!
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?)