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
(so i had actually been working with outdated template code this whole time. copying code by LiR and reworking it into this)
mNo edit summary
Line 50: Line 50:
{{Namespace detect
{{Namespace detect
|main = {{#if:{{{game|}}}|[[Category:Neighborhoods in {{Vgcode|{{MGL|{{Delink|{{{game}}} }} }} }}]]}}{{#if:{{{world|}}}|[[Category:{{Delink|{{{world}}}}} neighborhoods]]}}
|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)]]}}
|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)]]}}
|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:19, 1 August 2019

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