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)
(so i had actually been working with outdated template code this whole time. copying code by LiR and reworking it into this)
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>-->

Revision as of 13:18, 1 August 2019

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