Template:Game infobox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(114 intermediate revisions by 17 users not shown)
Line 1: Line 1:
<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;">
{{Infobox|start}}
<div style="text-align:center;font-size:16px;font-weight:900;line-height:1.5em;">{{{name}}}
{{Infobox|title|name={{{name|''{{PAGETITLE}}''}}}}}
<div class="{{#if:{{{image|}}}||hiddenStructure}}">[[image:{{{image}}}|{{{imageSize|200}}}px|center|{{{image}}}]]</div></div>
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
<div style="clear:left;font-size:10px;text-align:center">
 
<div style="width:80px;float:left;text-align:left;">Developer(s)</div>
{{Infobox|entry|title={{{developer-title|Developer(s)}}}|content={{{developer|}}}}}
<div style="width:170px;float:left;text-align:right;">{{{Developer}}}</div>
{{Infobox|entry|title={{{primary-dev-title|Primary developer}}}|content={{{primary-dev|}}}}}
</div>
{{Infobox|entry|title={{{support-dev-title|Support developer(s)}}}|content={{{support-dev|}}}}}
<div style="clear:left;font-size:10px;text-align:center">
{{Infobox|entry|title={{{publisher-title|Publisher(s)}}}|content={{{publisher|}}}}}
<div style="width:80px;float:left;text-align:left;">Publisher</div>
{{Infobox|entry|title={{{writer-title|Writer(s)}}}|content={{{writer|}}}}}
<div style="width:170px;float:left;text-align:right;">{{{Publisher}}}</div>
{{Infobox|entry|title={{{composer-title|Composer(s)}}}|content={{{composer|}}}}}
</div>
{{Infobox|entry|title={{{engine-title|Engine}}}|content={{{engine|}}}}}
<div class="{{#if:{{{US Date Released|}}}||hiddenStructure}}">
{{Infobox|entry|title={{{platform-title|Platform(s)}}}|content={{{platform|}}}}}
<div style="clear:left;font-size:10px;text-align:center;border-top:2px solid #B5B7CF;">
{{Infobox|entry|title={{{releasedate-title|Release date(s)}}}|content={{{releasedate|}}}}}
<div style="width:80px;float:left;text-align:left;">US Date Released</div>
{{Infobox|entry|title={{{canceldate-title|Cancellation date}}}|content={{{canceldate|}}}}}
<div style="width:170px;float:left;text-align:right;">{{{US Date Released|}}}</div>
{{Infobox|entry|title={{{genre-title|Genre(s)}}}|content={{{genre|}}}}}
</div>
{{Infobox|entry|title={{{modes-title|Mode(s)}}}|content={{{modes|}}}}}
</div>
{{Infobox|entry|title={{{rating-title|Rating(s)}}}|content={{{rating|}}}}}
<div style="clear:left;font-size:10px;text-align:center;border-top:2px solid #B5B7CF;">
 
<div class="{{#if:{{{UK Date Released|}}}||hiddenStructure}}">
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Game}}}}}</includeonly><noinclude>{{clear}}
<div style="width:80px;float:left;text-align:left;">UK Date Released</div>
==Usage instructions==
<div style="width:170px;float:left;text-align:right;">{{{UK Date Released|}}}</div>
Paste the following code into the top of an article, filling all known fields:
</div>
 
</div>
<pre>
<div class="{{#if:{{{Genre|}}}||hiddenStructure}}">
{{Game infobox
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
<div style="width:80px;float:left;text-align:left;">Genre:</div>
<div style="width:170px;float:left;text-align:right;">{{{Genre}}}</div>
</div>
</div>
<div class="{{#if:{{{Game modes|}}}||hiddenStructure}}">
<div style="clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
<div style="width:80px;float:left;text-align:left;">Game modes:</div>
<div style="width:170px;float:left;text-align:right;">{{{Game modes}}}</div>
</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;">[[wikipedia:ESRB|ESRB]] rating:</div>
<div style="width:170px;float:left;text-align:right;">{{{ESRB}}}</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;">Platform(s):</div>
<div style="width:170px;float:left;text-align:right;">{{{Platform}}}<BR>{{{Product Dimensions Metric|}}}</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 class="{{#if:{{{website|}}}||hiddenStructure}}" style="width:250px;clear:left;font-size:10px;text-align:center;border-top:1px solid #B5B7CF;">
[{{{website}}} Website]
</div>
</div><noinclude>{{Clear}}
Add the following code and change the values to add the game template to the an article:
<PRE>
{{Game Info Box
|name=
|name=
|image=
|image=
|imageSize=
|developer=
|Developer=
|primary-dev=
|Publisher=
|support-dev=
|US Date Released=
|publisher=
|UK Date Released=
|writer=
|Genre=
|composer=
|Game modes=
|engine=
|ESRB=
|platform=
|Platform=
|releasedate=
|Media=
|canceldate=
|Website=
|genre=
|modes=
|rating=
}}
}}
</PRE>
</pre>
[[Category:Templates|Game]]
 
</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 10:11, June 14, 2024

Game infobox
 

Usage instructions

Paste the following code into the top of an article, filling all known fields:

{{Game infobox
|name=
|image=
|developer=
|primary-dev=
|support-dev=
|publisher=
|writer=
|composer=
|engine=
|platform=
|releasedate=
|canceldate=
|genre=
|modes=
|rating=
}}