Template:Infobox neighborhood/test: Difference between revisions
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) |
No edit summary |
||
(One intermediate revision 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 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>--> |