Template:Infobox world: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
sims>LostInRiverview (Removing neighborhood list from infobox (makes the box really long-looking)) |
(Update to recognize custom namespace) |
||
(16 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
<noinclude>{{under construction}} |
|||
⚫ | |||
{{Metabox |
|||
⚫ | |||
|type = Notice |
|||
|image = Icon-warning-48x48.png |
|||
|headline = NOT A "LIVE" TEMPLATE |
|||
|text = This template is still being worked on and tested. ''Please do not use this template on any articles!'' |
|||
|nocat = true |
|||
⚫ | |||
</noinclude> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{{!}}- |
{{!}}- |
||
<!---*****GAME LOGO*****---> |
|||
⚫ | |||
{{!}} class="metainfobox-logo" colspan="2" {{!}} <small><center>{{GetGameImage|{{{game}}}|{{{neighbor|}}}}}</center></small> |
|||
⚫ | |||
⚫ | |||
<!---*****BOX ART AND CAPTION*****---> |
<!---*****BOX ART AND CAPTION*****---> |
||
{{#if:{{{image<includeonly>|</includeonly>}}} | |
{{#if:{{{image<includeonly>|</includeonly>}}} | |
||
Line 21: | Line 17: | ||
}} |
}} |
||
}} |
}} |
||
⚫ | |||
{{!}} Name |
{{!}} Name |
||
{{!}} {{{ |
{{!}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} |
||
{{!}}- |
{{!}}- |
||
}} |
|||
{{#if: {{{game<includeonly>|</includeonly>}}} | |
{{#if: {{{game<includeonly>|</includeonly>}}} | |
||
{{!}} Game |
{{!}} Game |
||
{{!}} {{GetGameIcon|{{{game}}}}} [[{{{game}}}]] |
{{!}} {{GetGameIcon|{{{game}}}}} ''[[{{{game}}}]]'' |
||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
{{#if: {{{game1|}}} | |
{{#if: {{{game1|}}} | |
||
{{!}} Game |
{{!}} Game |
||
{{!}} {{GetGameIcon|{{{game1}}}}} [[{{{game1}}}]] |
{{!}} {{GetGameIcon|{{{game1}}}}} ''[[{{{game1}}}]]'' |
||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 41: | Line 35: | ||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
{{#ifeq: {{#expr: <noinclude>1 or </noinclude> {{#ifexist: {{FULLPAGENAME}}/Onomatology|1|0}} or {{checkfns|1|0}} }} | 1 | {{!}} class="metainfobox-header {{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 | |
||
{{!}} 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>{{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}}} |
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?)