Template:Game infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Reverted edits by Infernal Hell (Talk) to last version by -Ascension-)
Line 1: Line 1:
{| border=0 cellspacing=0 cellpadding=4 style="float:right; clear:right; width:250px; background:#f0f0f0; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;"
<div style="width:250px;float:right;clear:right;margin:1em 0 1em 1em;border:1px solid #B5B7CF;background:#EFF0FF;-moz-border-radius:10px;padding:10px 10px 10px 10px;">
|-
<div style="text-align:center;font-size:16px;font-weight:900;line-height:1.5em;">{{{name}}}
|colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{image<includeonly>|</includeonly>}}}|{{{image}}}}}
<div class="hiddenStructure{{{image|}}}">[[image:{{{image}}}|200px|center|]]</div></div>
|-
<div style="clear:left;font-size:10px;text-align:center">
|colspan=2 style="text-align:center; font-size:larger; color:#FFFFFF; background:#996; border-top:1px solid #999; border-bottom:1px solid #999;" |'''{{#if:{{{name<includeonly>|</includeonly>}}}|{{{name}}}|{{PAGENAME}}}}'''
<div style="width:80px;float:left;text-align:left;">Developer(s)</div>
|-
<div style="width:170px;float:left;text-align:right;">{{{Developer}}}</div>
! colspan=2 style="text-align:left; background:#ddb; border-bottom:1px solid #999;" {{!}} '''Game information'''}}
</div>
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
<div style="clear:left;font-size:10px;text-align:center">
{{#if:{{{Developer<includeonly>|</includeonly>}}}|{{!}}{{!}}Developer(s){{!}}{{!}}
<div style="width:80px;float:left;text-align:left;">Publisher</div>
{{{Developer}}} }}
<div style="width:170px;float:left;text-align:right;">{{{Publisher}}}</div>
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
</div>
{{#if:{{{Publisher<includeonly>|</includeonly>}}}|{{!}}{{!}}Publisher(s){{!}}{{!}}
<div class="hiddenStructure{{{US Date Released|}}}">
{{{Publisher}}} }}
<div style="clear:left;font-size:10px;text-align:center;border-top:2px solid #B5B7CF;">
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
<div style="width:80px;float:left;text-align:left;">US Date Released</div>
{{#if:{{{US Date Release<includeonly>|</includeonly>}}}|{{!}}{{!}}US Date Release{{!}}{{!}}
<div style="width:170px;float:left;text-align:right;">{{{US Date Released|}}}</div>
{{{US Date Release}}} }}
</div>
|-
</div>
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
<div style="clear:left;font-size:10px;text-align:center;border-top:2px solid #B5B7CF;">
{{#if:{{{UK Date Release<includeonly>|</includeonly>}}}|{{!}}{{!}}UK Date Release{{!}}{{!}}
<div class="hiddenStructure{{{UK Date Released|}}}">
{{{UK Date Release}}} }}
<div style="width:80px;float:left;text-align:left;">UK Date Released</div>
|-
<div style="width:170px;float:left;text-align:right;">{{{UK Date Released|}}}</div>
{{#if:{{{Genre<includeonly>|</includeonly>}}}|{{!}}{{!}}Genre{{!}}{{!}}
</div>
{{{Genre}}} }}
</div>
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
<div class="hiddenStructure{{{Genre|}}}">
{{#if:{{{Game modes<includeonly>|</includeonly>}}}|{{!}}{{!}}Game Modes{{!}}{{!}}
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
{{{Game modes}}} }}
<div style="width:80px;float:left;text-align:left;">Genre:</div>
|-
<div style="width:170px;float:left;text-align:right;">{{{Genre}}}</div>
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
</div>
{{#if:{{{ESRB<includeonly>|</includeonly>}}}|{{!}}{{!}}ESRB Rating(s){{!}}{{!}}
</div>
{{{ESRB}}} }}
<div class="hiddenStructure{{{Game modes|}}}">
|-
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
<div style="width:80px;float:left;text-align:left;">Game modes:</div>
{{#if:{{{Platform<includeonly>|</includeonly>}}}|{{!}}{{!}}Platform(s){{!}}{{!}}
<div style="width:170px;float:left;text-align:right;">{{{Game modes}}}</div>
{{{Platform}}} }}
</div>
|-
</div>
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
{{#if:{{{Media<includeonly>|</includeonly>}}}|{{!}}{{!}}Media{{!}}{{!}}
<div style="width:80px;float:left;text-align:left;">[[wikipedia:ESRB|ESRB]] rating:</div>
{{{Media}}} }}
<div style="width:170px;float:left;text-align:right;">{{{ESRB}}}</div>
|-
</div>
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
{{#if:{{{Website<includeonly>|</includeonly>}}}|{{!}}{{!}}Website{{!}}{{!}}
<div style="width:80px;float:left;text-align:left;">Platform(s):</div>
{{{Website}}} }}
<div style="width:170px;float:left;text-align:right;">{{{Platform}}}<BR>{{{Product Dimensions Metric|}}}</div>
|-
</div>
| colspan=2 style="text-align:center; background:#996; border-bottom:1px solid #999; padding:0px;" | [[Template:AI Infobox|[Source]]]
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
|}<noinclude>
<div style="width:80px;float:left;text-align:left;">Designer(s):</div>
<div style="width:170px;float:left;text-align:right;">{{{Designer}}}</div>
</div>
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
<div style="width:80px;float:left;text-align:left;">Writer(s):</div>
<div style="width:170px;float:left;text-align:right;">{{{Writer}}}</div>
</div>
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
<div style="width:80px;float:left;text-align:left;">Composer(s):</div>
<div style="width:170px;float:left;text-align:right;">{{{Composer}}}</div>
</div>
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
<div style="width:80px;float:left;text-align:left;">Media:</div>
<div style="width:170px;float:left;text-align:right;">{{{Media}}}</div>
</div>
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
<div style="width:80px;float:left;text-align:left;">Website:</div>
<div style="width:170px;float:left;text-align:right;">{{{Website}}}</div>
</div>
</div>
<noinclude>
{{Clear}}
{{Clear}}
Add the following code to add the game template to the an article:
Add the following code to add the game template to the an article:
<PRE>
<pre>
{{Game Info Box
{{Game Info Box
|name=  
|name=  
|image=  
|image=  
|imageSize=
|Developer=  
|Developer=  
|Publisher=  
|Publisher=  
Line 59: Line 78:
|ESRB=  
|ESRB=  
|Platform=  
|Platform=  
|Designer=
|Writer=
|Composer=
|Media=  
|Media=  
|Website=  
|Website=  
}}
}}
</PRE>
</pre>
[[Category:Templates|Game]]
[[Category:Templates|Game]]
</noinclude>
</noinclude>

Revision as of 02:17, July 31, 2010

{{{name}}}
[[image:{{{image}}}|200px|center|]]
Developer(s)
{{{Developer}}}
Publisher
{{{Publisher}}}
US Date Released
UK Date Released
Genre:
{{{Genre}}}
Game modes:
{{{Game modes}}}
ESRB rating:
{{{ESRB}}}
Platform(s):
{{{Platform}}}
Designer(s):
{{{Designer}}}
Writer(s):
{{{Writer}}}
Composer(s):
{{{Composer}}}
Media:
{{{Media}}}
Website:
{{{Website}}}

Add the following code to add the game template to the an article:

{{Game Info Box
|name= 
|image= 
|Developer= 
|Publisher= 
|US Date Released= 
|UK Date Released= 
|Genre= 
|Game modes= 
|ESRB= 
|Platform= 
|Designer=
|Writer=
|Composer=
|Media= 
|Website= 
}}