Template:Infobox world: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
(Made the doc not overlap with the infobox.)
(Update to recognize custom namespace)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!---*****OVERALL DESIGN CODE*****--->
<templatestyles src="Metainfobox/styles.css" /><!---*****OVERALL DESIGN CODE*****--->
{| class="metainfobox {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{#if:{{{game|}}}|{{{game<includeonly>|</includeonly>}}}|{{{game1}}} }} }} }} }} }}" cellpadding="1.5"
{| class="metainfobox {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{#if:{{{game|}}}|{{{game<includeonly>|</includeonly>}}}|{{{game1}}} }} }} }} }} }}" cellpadding="1.5"
! class="metainfobox-header large {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{#if:{{{game|}}}|{{{game<includeonly>|</includeonly>}}}|{{{game1}}} }} }} }} }} }}" colspan="2"{{!}}{{{name|{{PAGENAME}}}}}
! class="metainfobox-header large {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{#if:{{{game|}}}|{{{game<includeonly>|</includeonly>}}}|{{{game1}}} }} }} }} }} }}" colspan="2"{{!}}{{{name|{{PAGENAME}}}}}
Line 39: Line 39:
{{#ifexist: {{FULLPAGENAME}}/Onomatology |
{{#ifexist: {{FULLPAGENAME}}/Onomatology |
{{!}} colspan="2" {{!}} [[{{FULLPAGENAME}}/Onomatology|Onomatology]]
{{!}} colspan="2" {{!}} [[{{FULLPAGENAME}}/Onomatology|Onomatology]]
}}<!-- Not used on Miraheze
{{!}}-
}}
{{#ifeq:{{NAMESPACE}}|Fanon|
{{#ifeq:{{NAMESPACE}}|Fanon|
{{!}} colspan="2" {{!}} [[{{FULLPAGENAME}}#WikiaArticleComments|Comments and Reviews]]
{{!}} colspan="2" {{!}} [[{{FULLPAGENAME}}#WikiaArticleComments|Comments and Reviews]]
{{!}}-
{{!}}-
}}-->
}}
}}
|}<includeonly>{{#ifeq: {{Yesno-yes|{{{cat}}}|no=no}}|no| <!-- Don't add categories --> |
}}
{{Namespace detect
|}<includeonly>{{Checkmns|[[Category:Worlds in {{Checkgame|{{{name}}}}}]]}}{{Checkfns|[[Category:Worlds in {{Checkgame|{{{name}}}}} (fanon)]]}}</includeonly><noinclude>{{clr}}{{Documentation}}</noinclude>
|main = {{#if:{{{game|}}}|[[Category:Worlds in {{Vgcode|{{MGL|{{Delink|{{{game}}} }} }} }}]]}}
|fanon = {{#if:{{{game|}}}|[[Category:Worlds in {{Vgcode|{{MGL|{{Delink|{{{game}}} }} }} }} (fanon)]]}}
|custom = {{#if:{{{game|}}}|[[Category:Worlds in {{Vgcode|{{MGL|{{Delink|{{{game}}} }} }} }} (custom)]]}}
}}
}}</includeonly>
<noinclude>{{clr}}{{Documentation}}</noinclude>

Latest revision as of 18:01, 19 August 2019

Infobox world
{{{image}}}
{{{caption}}}
Name Infobox world
Game  [[{{{game}}}]]
Cost (in SimPoints) {{{cost}}}
Template documentation (View · Edit · History · Purge)

Description

Infobox for worlds. For neighborhoods, see {{Infobox neighborhood}}.

Usage

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

Parameters

Required

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

Optional

  • cost: The cost of downloadable world, specifically from The Sims 3 Store. This parameter gives the price in SimPoints.

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