Template:Infobox neighborhood: Difference between revisions

Update for new custom namespace
m (Protected "Template:Infobox neighborhood" ([Edit=Allow only autoconfirmed and confirmed users] (indefinite) [Move=Allow only autoconfirmed and confirmed users] (indefinite) [Delete=Allow only autoconfirmed and confirmed users] (indefinite)))
(Update for new custom namespace)
 
(4 intermediate revisions by 3 users not shown)
Line 1:
<templatestyles src="Metainfobox/styles.css" /><!---*****OVERALL DESIGN CODE*****--->
{| class="metainfobox {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{#if:{{{game|}}}|{{Delink|{{{game<includeonly>|</includeonly>}}}}}|{{Delink|{{{game1}}}}} }} }} }} }} }}" cellpadding="1.5"
! class="metainfobox-header large {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{#if:{{{game|}}}|{{Delink|{{{game<includeonly>|</includeonly>}}}}}|{{Delink|{{{game1}}}}} }} }} }} }} }}" colspan="2"{{!}}{{{name|{{PAGENAME}}}}}
{{!}}-
<!---*****GAME LOGO*****--->
{{#if:{{{game<includeonly>|</includeonly>}}} |
{{!}} class="metainfobox-logo" colspan="2" {{!}} <small><center>{{GetGameImage|{{Delink|{{{game}}}}}|{{{neighbor|}}}}}</center></small>
{{!}}-
}}
Line 22:
{{#if: {{{world<includeonly>|</includeonly>}}} |
{{!}} World
{{!}} [[{{Addlink|{{{world}}}]]}}
{{!}}-
}}
{{#if: {{{game<includeonly>|</includeonly>}}} |
{{!}} Game
{{!}} {{GetGameIcon|{{{game}}}}}&nbsp;''[[{{Addlink|{{{game}}}]]}}''
{{!}}-
}}
{{#if: {{{game1|}}} |
{{!}} Game
{{!}} {{GetGameIcon|{{{game1}}}}}&nbsp;''[[{{Addlink|{{{game1}}}]]}}''
{{!}}-
}}
{{#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|}}}|{{Delink|{{{game<includeonly>|</includeonly>}}}}}|{{Delink|{{{game1}}}}} }} }} }} }} }}" colspan="2" {{!}}
{{!}}-
{{#ifexist: {{FULLPAGENAME}}/Onomatology |
Line 41:
{{!}}-
}}
<!---*****FANON COMMENTS LINK***** - 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
|}<includeonly>{{Checkmns|[[Category:Neighborhoods in {{Checkgame|{{{name}}}}}]]}}{{Checkfns|[[Category:Neighborhoods in {{Checkgame|{{{name}}}}} (fanon)]]}}</includeonly><noinclude>{{clr}}{{Documentation}}</noinclude>
|main = {{#if:{{{game|}}}|[[Category:Neighborhoods in {{Vgcode|{{MGL|{{Delink|{{{game}}} }} }} }}]]}}{{#if:{{{world|}}}|[[Category:{{Delink|{{{world}}}}} neighborhoods]]}}
|fanon = {{#if:{{{game|}}}|[[Category:Neighborhoods in {{Vgcode|{{MGL|{{Delink|{{{game}}} }} }} }} (fanon)]]}}{{#if:{{{world|}}}|[[Category:{{Delink|{{{world}}}}} neighborhoods (fanon)]]}}
|custom = {{#if:{{{game|}}}|[[Category:Neighborhoods in {{Vgcode|{{MGL|{{Delink|{{{game}}} }} }} }} (custom)]]}}{{#if:{{{world|}}}|[[Category:{{Delink|{{{world}}}}} neighborhoods (custom)]]}}
}}
}}</includeonly><noinclude>{{clr}}{{Documentation}}</noinclude>