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
sims>LostInRiverview
mNo edit summary
sims>LostInRiverview
m (Adding in optional parameter "basegame" to set infobox colors if {{{game}}} doesn't appear on Template:MGL)
Line 9: Line 9:
</noinclude>
</noinclude>
<!---*****OVERALL DESIGN CODE*****--->
<!---*****OVERALL DESIGN CODE*****--->
{| class="metainfobox {{lc: {{MGL | {{vgcode | {{#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:{{{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}}}}}
{{!}}-
{{!}}-
<!---*****GAME LOGO*****--->
<!---*****GAME LOGO*****--->
Line 44: Line 44:
{{!}}-
{{!}}-
}}
}}
{{#ifeq: {{#expr: <noinclude>1 or </noinclude> {{#ifexist: {{FULLPAGENAME}}/Onomatology|1|0}} or {{checkfns|1|0}} }} | 1 | {{!}} class="metainfobox-header line {{lc: {{MGL | {{vgcode | {{#if:{{{game|}}}|{{{game<includeonly>|</includeonly>}}}|{{{game1}}} }} }} }} }}" colspan="2" {{!}}
{{#ifeq: {{#expr: <noinclude>1 or </noinclude> {{#ifexist: {{FULLPAGENAME}}/Onomatology|1|0}} or {{checkfns|1|0}} }} | 1 | {{!}} class="metainfobox-header line {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{#if:{{{game|}}}|{{{game<includeonly>|</includeonly>}}}|{{{game1}}} }} }} }} }} }}" colspan="2" {{!}}
{{!}}-
{{!}}-
{{#ifexist: {{FULLPAGENAME}}/Onomatology |
{{#ifexist: {{FULLPAGENAME}}/Onomatology |

Revision as of 18:36, 5 February 2018

Under construction
This template is still under construction or undergoing testing and should NOT be used in articles other than sandboxes and testing pages. If you wish to participate in the development of this template, contact the author or use the talk page.
NOT A "LIVE" TEMPLATE
This template is still being worked on and tested. Please do not use this template on any articles!
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?)