Difference between revisions of "Template:InfoGame"

1,173 bytes added ,  14:29, 9 September 2019
no edit summary
Line 47: Line 47:
<div style="flex:1; padding:5px; text-align:right; font-weight:700; background:#{{colors|{{{series|SEIWA}}}|primary}};">Worldwide</div>
<div style="flex:1; padding:5px; text-align:right; font-weight:700; background:#{{colors|{{{series|SEIWA}}}|primary}};">Worldwide</div>
<div style="flex:2; padding:5px; text-align:left; color:#{{colors|{{{series|SEIWA}}}|text}}; background:#{{colors|{{{series|SEIWA}}}|secondary}};">{{{WWrelease}}}</div>
<div style="flex:2; padding:5px; text-align:left; color:#{{colors|{{{series|SEIWA}}}|text}}; background:#{{colors|{{{series|SEIWA}}}|secondary}};">{{{WWrelease}}}</div>
</div>}}{{#if:{{{predecessor|}}}{{{successor|}}}|
</div>}}{{#if:{{{predecessor|}}}{{{successor|}}}{{{series|}}}|
<div style="padding:5px; text-align:center; font-weight:200; background:#4D4D4D;">Series</div>
<div style="padding:5px; text-align:center; font-weight:200; background:#4D4D4D;">Series</div>
{{#if:{{{predecessor|}}}|<div style="display:flex; flex-direction:row;">
{{#if:{{{series|}}}|<div style="display:flex; flex-direction:row;">
<div style="flex:1; padding:5px; text-align:right; font-weight:700; background:#{{colors|{{{series|SEIWA}}}|primary}};">Series</div>
<div style="flex:2; padding:5px; text-align:left; color:#{{colors|{{{series|SEIWA}}}|text}}; background:#{{colors|{{{series|SEIWA}}}|secondary}};">''{{{series}}}''</div>
</div>}}{{#if:{{{predecessor|}}}|<div style="display:flex; flex-direction:row;">
<div style="flex:1; padding:5px; text-align:right; font-weight:700; background:#{{colors|{{{series|SEIWA}}}|primary}};">Predecessor</div>
<div style="flex:1; padding:5px; text-align:right; font-weight:700; background:#{{colors|{{{series|SEIWA}}}|primary}};">Predecessor</div>
<div style="flex:2; padding:5px; text-align:left; color:#{{colors|{{{series|SEIWA}}}|text}}; background:#{{colors|{{{series|SEIWA}}}|secondary}};">''{{{predecessor}}}''</div>
<div style="flex:2; padding:5px; text-align:left; color:#{{colors|{{{series|SEIWA}}}|text}}; background:#{{colors|{{{series|SEIWA}}}|secondary}};">''{{{predecessor}}}''</div>
Line 55: Line 58:
<div style="flex:1; padding:5px; text-align:right; font-weight:700; background:#{{colors|{{{series|SEIWA}}}|primary}};">Successor</div>
<div style="flex:1; padding:5px; text-align:right; font-weight:700; background:#{{colors|{{{series|SEIWA}}}|primary}};">Successor</div>
<div style="flex:2; padding:5px; text-align:left; color:#{{colors|{{{series|SEIWA}}}|text}}; background:#{{colors|{{{series|SEIWA}}}|secondary}};">''{{{successor}}}''</div>
<div style="flex:2; padding:5px; text-align:left; color:#{{colors|{{{series|SEIWA}}}|text}}; background:#{{colors|{{{series|SEIWA}}}|secondary}};">''{{{successor}}}''</div>
</div>}}}}{{#if:{{{seiwa|}}}|
<div style="padding:5px; text-align:center; font-weight:200; background:#4D4D4D;">SEIWA</div>
{{#if:{{{seiwa|}}}|<div style="display:flex; flex-direction:row;">
<div style="flex:1; padding:5px; text-align:right; font-weight:700; background:#{{colors|{{{series|SEIWA}}}|primary}};">[[File:{{#switch:{{lc:{{{seiwa|}}}}}
|khwiki=Kingdom Hearts Wiki Logo
|#default=SEIWA Logo}}.png|200px|center]]</div>
<div style="flex:2; padding:5px; text-align:left; color:#{{colors|{{{series|SEIWA}}}|text}}; background:#{{colors|{{{series|SEIWA}}}|secondary}};">'''{{#switch:{{lc:{{{seiwa|}}}}}
|khwiki=[[Kingdom Hearts Wiki]]
|#default=A SEIWA Wiki'''}} has more information on {{{{interwiki-code|{{{series|SEIWA}}}}}|{{{wikititle|{{PAGENAME}}}}}| this game}}</div>
</div>}}}}
</div>}}}}
</div><includeonly>{{#if:{{{series|}}}|[[Category:{{{series}}}]]}} [[Category:Games]]</includeonly>
</div><includeonly>{{#if:{{{series|}}}|[[Category:{{{series}}}]]}} [[Category:Games]]</includeonly>
<noinclude>[[Category:Infoboxes]]</noinclude>
<noinclude>[[Category:Infoboxes]]</noinclude>