Template:Infobox neighborhood/test: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
m (fix)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Metainfobox/styles.css" /><!---*****OVERALL DESIGN CODE*****--->
<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 {{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|}}}|{{{game<includeonly>|</includeonly>}}}|{{{game1}}} }} }} }} }} }}" colspan="2"{{!}}{{{name|{{PAGENAME}}}}}
! class="metainfobox-header large {{lc: {{MGL | {{vgcode | {{#if:{{{basegame|}}}|{{{basegame}}}|{{#if:{{{game|}}}|{{Delink|{{{game<includeonly>|</includeonly>}}}}}|{{Delink|{{{game1}}}}} }} }} }} }} }}" colspan="2"{{!}}{{{name|{{PAGENAME}}}}}
{{!}}-
{{!}}-
<!---*****GAME LOGO*****--->
<!---*****GAME LOGO*****--->
{{#if:{{{game<includeonly>|</includeonly>}}} |
{{#if:{{{game<includeonly>|</includeonly>}}} |
{{!}} class="metainfobox-logo" colspan="2" {{!}} <small><center>{{GetGameImage|{{{game}}}|{{{neighbor|}}}}}</center></small>
{{!}} class="metainfobox-logo" colspan="2" {{!}} <small><center>{{GetGameImage|{{Delink|{{{game}}}}}|{{{neighbor|}}}}}</center></small>
{{!}}-
{{!}}-
}}
}}
Line 49: Line 49:
|}<includeonly>{{#ifeq: {{Yesno-yes|{{{cat}}}|no=no}}|no| <!-- Don't add categories --> |
|}<includeonly>{{#ifeq: {{Yesno-yes|{{{cat}}}|no=no}}|no| <!-- Don't add categories --> |
{{Namespace detect
{{Namespace detect
|main = [[Category:Neighborhoods in {{Checkgame|{{{name}}}}}]]
|main = {{#if:{{{game|}}}|[[Category:Neighborhoods in {{Vgcode|{{MGL|{{Delink|{{{game}}} }} }} }}]]}}{{#if:{{{world|}}}|[[Category:{{Delink|{{{world}}}}} neighborhoods]]}}
|fanon = [[Category:Neighborhoods in {{Checkgame|{{{name}}}}} (fanon)]]
|fanon = {{#if:{{{game|}}}|[[Category:Neighborhoods in {{Vgcode|{{MGL|{{Delink|{{{game}}} }} }} }} (fanon)]]}}{{#if:{{{world|}}}|[[Category:{{Delink|{{{world}}}}} neighborhoods (fanon)]]}}
|custom = [[Category:Neighborhoods in {{Checkgame|{{{name}}}}} (custom)]]
|custom = {{#if:{{{game|}}}|[[Category:Neighborhoods in {{Vgcode|{{MGL|{{Delink|{{{game}}} }} }} }} (custom)]]}}{{#if:{{{world|}}}|[[Category:{{Delink|{{{world}}}}} neighborhoods (custom)]]}}
}}
}}
}}</includeonly><!--<noinclude>{{clr}}{{Documentation}}</noinclude>-->
}}</includeonly><!--<noinclude>{{clr}}{{Documentation}}</noinclude>-->

Latest revision as of 13:22, 1 August 2019

Infobox neighborhood/test
{{{image}}}
{{{caption}}}
Name Infobox neighborhood/test
World [[{{{world}}}]]
Game  [[{{{game}}}]]