Template:Infobox neighborhood/doc

This is the current revision of this page, as edited by K6ka (talk | contribs) at 16:05, 29 August 2019. The present address (URL) is a permanent link to this version.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description Edit

Infobox for neighborhoods. For worlds, use {{Infobox world}}.

Syntax Edit

{{Infobox neighborhood
|name    = 
|image   = 
|caption = 
|world   = 
|game    = 
}}

Parameters Edit

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

TemplateData Edit

This is the TemplateData documentation for this template used by the VisualEditor and other tools.

TemplateData for Infobox neighborhood

Infobox for neighborhoods, like Pleasantview and Strangetown. For worlds, use {{Infobox world}}.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

The name of the neighborhood. If left blank, will default to the name of the page.

Example
Pleasantview
Stringoptional
Imageimage

An image of the neighborhood, usually an in-game thumbnail or an overhead shot. Requires full wiki markup.

Example
[[File:Pleasantview.png]]
Contentoptional
Gamegame

The game the neighborhood appears in.

Example
The Sims 2
Stringsuggested
Base Gamebasegame

Causes the template to be styled after the specified base game theme (e.g. red for TS1, dark blue for TS2, green for TS3). This should only be used if the "game" parameter is used in an unusual format (e.g. listing multiple games at once) that causes the template to display its default gray scheme.

Example
The Sims 3
Stringoptional
Captioncaption

Caption to be displayed under the image. This is usually used for the neighborhood description.

Stringoptional
Worldworld

If the neighborhood is located within a larger world, as is the case with The Sims 4, specify the name of the world here.

Example
Oasis Springs
Stringoptional
Categorize?cat

If set to "no", the template will not add categories to the page. Defaults to "yes" if left blank. Used for testing and demonstration purposes only.

Stringoptional