Template:Infobox neighborhood: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
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: 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 |