Template:Game infobox: Difference between revisions

m (Text replacement - "colspan="([^"\n]+)" class="([^"\n]+)" style="([^"\n]+)"" to "class="$2" colspan="$1" style="$3"")
m (Text replacement - "\|title=([^\n{}\|]+)\|content={{{([^\n{}\|]+)\|}}}" to "|title={{{$2-title|$1}}}|content={{{$2|}}}")
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:300px; color:{{{color|inherit}}}; background:{{{BG|#F2F3F4}}}; border:1px solid #999" cellspacing="0"
{{Infobox|start}}
! class="infoboxheading" colspan="2" style="background:{{{BG|transparent}}}" class="infoboxheading" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}}}
|-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{#if:{{{image|}}}|
 
! colspan="2" style="background:{{{imageBG|transparent}}}" class="infoboxmedia" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|entry|title={{{developer-title|Developer(s)}}}|content={{{developer|}}}}}
}}
{{Infobox|entry|title={{{publisher-title|Publisher(s)}}}|content={{{publisher|}}}}}
|-
{{Infobox|entry|title={{{platform-title|Platform(s)}}}|content={{{platform|}}}}}
{{#if:{{{developer|}}}|
{{Infobox|entry|title={{{releasedate-title|Release date(s)}}}|content={{{releasedate|}}}}}
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{genre-title|Genre(s)}}}|content={{{genre|}}}}}
'''Developer(s)''':
{{Infobox|entry|title={{{modes-title|Mode(s)}}}|content={{{modes|}}}}}
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{rating-title|Rating(s)}}}|content={{{rating|}}}}}
{{{developer|}}}
 
{{!}}-|}}
{{Infobox|end}}<noinclude>{{clear}}
{{#if:{{{publisher|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Publisher(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{publisher|}}}
{{!}}-|}}
{{#if:{{{platform|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Platform(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{platform|}}}
{{!}}-|}}
{{#if:{{{releasedate|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Release date(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{releasedate|}}}
{{!}}-|}}
{{#if:{{{genre|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Genre(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{genre|}}}
{{!}}-|}}
{{#if:{{{modes|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Mode(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{modes|}}}
{{!}}-|}}
{{#if:{{{rating|}}}|
{{!}} class="infoboxlabel" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Rating(s)''':
{{!}} class="infoboxcell" style="background:{{{sectionBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{rating|}}}
{{!}}-|}}
| class="infoboxfooter" colspan="2" | &nbsp;
|}<noinclude>
{{Clear}}__NOTOC__
==Usage instructions==
==Usage instructions==
Paste the following code into the top of an article, filling all known fields:
Paste the following code into the top of an article, filling all known fields:


<pre>{{game infobox
<pre>
|name=  
{{Game infobox
|image=  
|name=
|developer=  
|image=
|publisher=  
|developer=
|platform=  
|publisher=
|releasedate=  
|platform=
|genre=  
|releasedate=
|modes=  
|genre=
|modes=
|rating=
|rating=
}}</pre>
}}
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 22:10, June 1, 2024

Game infobox
 

Usage instructions

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

{{Game infobox
|name=
|image=
|developer=
|publisher=
|platform=
|releasedate=
|genre=
|modes=
|rating=
}}