Template:Infobox/Mod Info: Difference between revisions
From PC Gaming Shelter
Created page with "{{#if: {{{Related game|}}} |{{Infobox/Generic |Game |{{{Related game|}}} |links=1 }} }}<!-- -->{{#if: {{{Has mod type|}}} |{{Infobox/Generic |Mod Type |{{{Has mod type|}}} |links=1 }} }}<!-- -->{{#if: {{{Has developer|}}} |{{Infobox/Generic |Developer |{{{Has developer|}}} |multiple=1 |links=1 }} }}<!-- -->{{#if: {{{Has release date|}}} |{{Infobox/Generic |Released |:Category:{{#time: Y|{{{..." Tag: 2017 source edit |
No edit summary |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
|{{{Related game|}}} | |{{{Related game|}}} | ||
|links=1 | |links=1 | ||
|form=Game | |||
}} | }} | ||
}}<!-- | |||
-->{{#if: {{{Has game mode|}}} | |||
|{{Infobox/Generic | |||
|Mode | |||
|{{{Has game mode|}}} | |||
|links=1 | |||
}} | |||
|{{#vardefine: gamemode|{{#show: {{{Related game|}}}|?Has game mode |link=none}}}}<!-- | |||
-->{{#if: {{#var: gamemode}} | |||
|{{Infobox/Generic | |||
|Mode | |||
|{{#var: gamemode}} | |||
|multiple=1 | |||
|links=1 | |||
}}<!-- | |||
-->{{#set: Has game mode={{#var: gamemode}}|+sep=,}} | |||
}} | |||
}}<!-- | }}<!-- | ||
-->{{#if: {{{Has mod type|}}} | -->{{#if: {{{Has mod type|}}} | ||
|{{Infobox/Generic | |{{Infobox/Generic | ||
| | |Type | ||
|{{{Has mod type|}}} | |{{{Has mod type|}}} | ||
|links=1 | |links=1 | ||
| Line 27: | Line 47: | ||
|{{Infobox/Generic | |{{Infobox/Generic | ||
|Released | |Released | ||
|{{#time: Y|{{{Has release date|}}}}} | |||
|links=0 | |links=0 | ||
}} | }} | ||
| Line 37: | Line 57: | ||
|{{{Has status|}}} | |{{{Has status|}}} | ||
|links=0 | |links=0 | ||
|indicator={{#switch:{{{Has status|}}} | |||
|Active=green | |||
|Completed=violet | |||
|Abandoned=red | |||
|On Hold=orange | |||
|#default=gray | |||
}} | |||
}} | |||
}}<!-- | |||
-->{{#if: {{{Works on|}}} | |||
|{{Infobox/Generic | |||
|Works On | |||
|{{{Works on|}}} | |||
|links=0 | |||
|multiple=1 | |||
}} | }} | ||
}} | }} | ||
