Template:Infobox neighborhood: Difference between revisions

m
Adding in optional parameter "basegame" to set infobox colors if {{{game}}} doesn't appear on Template:MGL
sims>LostInRiverview
No edit summary
sims>LostInRiverview
m (Adding in optional parameter "basegame" to set infobox colors if {{{game}}} doesn't appear on Template:MGL)
Line 9:
</noinclude>
<!---*****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}}}}}
{{!}}-
<!---*****GAME LOGO*****--->
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:{{{basegame|}}}|{{{basegame}}}|{{#if:{{{game|}}}|{{{game<includeonly>|</includeonly>}}}|{{{game1}}} }} }} }} }} }}" colspan="2" {{!}}
{{!}}-
{{#ifexist: {{FULLPAGENAME}}/Onomatology |
Anonymous user