3,309
edits
sims>LostInRiverview mNo edit summary |
(Update to recognize custom namespace) |
||
(15 intermediate revisions by 6 users not shown) | |||
Line 1:
<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-header large {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{#if:{{{game|}}}|{{{game<includeonly>|</includeonly>}}}|{{{game1}}} }} }} }} }} }}" colspan="2"{{!}}{{{name|{{PAGENAME}}}}}▼
}}▼
▲<!---*****OVERALL DESIGN CODE*****--->
▲{| class="metainfobox {{lc: {{MGL | {{vgcode | {{#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}}}}}
{{!}}-
<!---*****GAME LOGO*****--->
{{#if:{{{game<includeonly>|</includeonly>}}} |
{{!}} class="metainfobox-logo" colspan="2" {{!}} <small><center>{{GetGameImage|{{{game}}}|{{{neighbor|}}}}}</center></small>
{{!}}-▼
▲}}
<!---*****BOX ART AND CAPTION*****--->
{{#if:{{{image<includeonly>|</includeonly>}}} |
Line 26 ⟶ 22:
{{#if: {{{game<includeonly>|</includeonly>}}} |
{{!}} Game
{{!}} {{GetGameIcon|{{{game}}}}} ''[[{{{game}}}]]''
{{!}}-
}}
{{#if: {{{game1|}}} |
{{!}} Game
{{!}} {{GetGameIcon|{{{game1}}}}} ''[[{{{game1}}}]]''
{{!}}-
}}
Line 39 ⟶ 35:
{{!}}-
}}
{{#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 |
{{!}} colspan="2" {{!}} [[{{FULLPAGENAME}}/Onomatology|Onomatology]]
}}<!-- Not used on Miraheze
▲{{!}}-
{{#ifeq:{{NAMESPACE}}|Fanon|
{{!}} colspan="2" {{!}} [[{{FULLPAGENAME}}#WikiaArticleComments|Comments and Reviews]]
{{!}}-
}}-->
}}
|}<includeonly>{{#ifeq: {{Yesno-yes|{{{cat}}}|no=no}}|no| <!-- Don't add categories --> |
{{Namespace detect
|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>
|