Template:GameInfobox: Difference between revisions
Appearance
Szczypak64 (talk | contribs) m Protected "Template:GameInfobox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
Szczypak64 (talk | contribs) No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
{ | <includeonly><div style="padding:0 0 20px 20px;width:340px;float:right"> | ||
{{#if:{{{Quote|{{{ | <!-- START OF ACTUAL INFO BOX --> | ||
{{ | {| border="0" cellpadding="2" cellspacing="0" style="background: whitesmoke; border: 1px solid #aaaaaa;width:100%" align="center" | ||
{{ | |- | ||
{{ | !style="background:green;" |'''<font color=White>{{{name|''{{PAGENAME}}''}}}</font>''' | ||
{{ | |- | ||
{{ | | | ||
{{ | <!-- BORDER AROUND THE IMAGE --> | ||
{{ | {| border="0" cellpadding="2" cellspacing="0" style="background: whitesmoke; border: 1px solid #aaaaaa" align="center" | ||
{{ | |- | ||
{{ | ![[image:{{{Picture|none.png}}}|330px|center|]] | ||
{{ | |- | ||
{{ | |}{{#if:{{{Quote|}}}|{{{Quote|}}}}} | ||
{{ | <!-- END OF BORDER AROUND IMAGE --> | ||
{{ | |- | ||
| | |||
{| border="0" cellpadding="2" cellspacing="1" style="text-align:left; background: none; border-top:1px solid #aaaaaa;width:100%" | |||
|-valign="top" | |||
{{#if:{{{Protagonist|}}} | | |||
!width=100{{!}}Protagonist(s): | |||
!width=200{{!}}{{{Protagonist|}}} | |||
}} | |||
|-valign="top" | |||
{{#if:{{{Genre|}}} | | |||
!width=100{{!}}Genre(s): | |||
!width=200{{!}}{{{Genre|}}} | |||
}} | |||
|-valign="top" | |||
{{#if:{{{Rating|}}} | | |||
!width=100{{!}}Rating(s): | |||
!width=200{{!}}{{{Rating|}}} | |||
}} | |||
|-valign="top" | |||
{{#if:{{{Platforms|}}} | | |||
!width=100{{!}}Platform(s): | |||
!width=200{{!}}{{{Platforms|}}} | |||
}} | |||
|-valign="top" | |||
{{#if:{{{Release Date|}}} | | |||
!width=100{{!}}Release: | |||
!width=200{{!}}{{{Release Date|}}} | |||
}} | |||
|-valign="top" | |||
{{#if:{{{Delist Date|}}} | | |||
!width=100{{!}}Discontinuation: | |||
!width=200{{!}}{{{Delist Date|}}} | |||
}} | |||
|-valign="top" | |||
{{#if:{{{Game Engine|}}} | | |||
!width=100{{!}}Engine: | |||
!width=200{{!}}{{{Game Engine|}}} | |||
}} | |||
|-valign="top" | |||
{{#if:{{{Developer|}}} | | |||
!width=100{{!}}Developer(s): | |||
!width=200{{!}}{{{Developer|}}} | |||
}} | |||
|-valign="top" | |||
{{#if:{{{Publisher|}}} | | |||
!width=100{{!}}Publisher(s): | |||
!width=200{{!}}{{{Publisher|}}} | |||
}} | |||
|-valign="top" | |||
{{#if:{{{Country|}}} | | |||
!width=100{{!}}Country: | |||
!width=200{{!}}{{{Country|}}} | |||
}} | |||
|-valign="top" | |||
{{#if:{{{Franchise|}}} | | |||
!width=100{{!}}Series: | |||
!width=200{{!}}{{{Franchise|}}} | |||
}} | |||
|-valign="top" | |||
{{#if:{{{Prequel|}}} | | |||
!width=100{{!}}Predecessor: | |||
!width=200{{!}}{{{Prequel|}}} | |||
}} | |||
|-valign="top" | |||
{{#if:{{{Sequel|}}} | | |||
!width=100{{!}}Successor: | |||
!width=200{{!}}{{{Sequel|}}} | |||
}} | |||
|- | |||
|} | |} | ||
<!-- END OF FIRST SECTION --> | |||
|} | |} | ||
<!-- END OF ACTUAL INFOBOX --> | |||
</div> | |||
<!-- END OF PADDING AROUND INFOBOX --> | |||
</includeonly> | |||
<noinclude> | <noinclude> | ||
<div><pre> | <div><pre> | ||
{{GameInfobox | {{GameInfobox | ||
|Picture = | |Picture= | ||
|Quote = | |Quote= | ||
|Protagonist = | |Protagonist= | ||
|Genre = | |Genre= | ||
|Rating = | |Rating= | ||
|Platforms = | |Platforms= | ||
|Release Date = | |Release Date= | ||
|Delist Date = | |Delist Date= | ||
|Game Engine = | |Game Engine= | ||
|Developer = | |Developer= | ||
|Publisher = | |Publisher= | ||
|Country = | |Country= | ||
|Franchise = | |Franchise= | ||
|Prequel = | |Prequel= | ||
|Sequel = | |Sequel= | ||
}} | }} | ||
</pre></div> | </pre></div> | ||
= | =Example= | ||
Notes: Use the operator <nowiki><br></nowiki> in source mode to add linebreaks within the table. Sections left blank will not be displayed. The title that appears at the top of the infobox will be the same as the name of the page it is on. Note that the picture field requires the extension (.jpg, .jpeg, .png) to be present, and requires that the File: or Image: part of the link ''not'' be present. | Notes: Use the operator <nowiki><br></nowiki> in source mode to add linebreaks within the table. Sections left blank will not be displayed. The title that appears at the top of the infobox will be the same as the name of the page it is on. Note that the picture field requires the extension (.jpg, .jpeg, .png) to be present, and requires that the File: or Image: part of the link ''not'' be present. | ||
Line 45: | Line 117: | ||
<div><pre style=> | <div><pre style=> | ||
{{GameInfobox | {{GameInfobox | ||
|Picture=Sonic-the-Hedgehog-2006-X360.jpg | |||
|Picture = Sonic-the-Hedgehog-2006-X360.jpg | |Quote={{Quote|It's no use!|Silver the Hedgehog, hopefully about this game}} | ||
|Quote = {{Quote| | |Protagonist=Sonic the Hedgehog<br>Shadow the Hedgehog<br>Silver the Hedgehog | ||
|Genre=Action-adventure<br>Platform | |||
|Rating = ESRB: E10+<br>PEGI: 12 | |||
|Protagonist = Sonic the Hedgehog<br>Shadow the Hedgehog<br>Silver the Hedgehog | |Platforms=[[mh:awesomegames:Sony PlayStation|PlayStation]] | ||
|Genre = Action-adventure<br>Platform | |Release Date=Xbox 360<br><small>NA: November 14, 2006<br>EU: November 24, 2006<br>JP: December 21, 2006</small><br>PlayStation 3<br><small>JP: December 21, 2006<br>NA: January 30, 2007<br>EU: March 23, 2007</small> | ||
|Release Date = Xbox 360<br><small>NA: November 14, 2006<br>EU: November 24, 2006<br>JP: December 21, 2006</small><br>PlayStation 3<br><small>JP: December 21, 2006<br>NA: January 30, 2007<br>EU: March 23, 2007</small> | |Delist Date= | ||
|Game Engine=RenderWare<br>Havok <small>(physics)</small> | |||
|Developer=[[mh:awesomegames:Sonic Team]] | |||
|Publisher=[[Sega]] | |||
|Country = Japan | |Country = Japan | ||
| | |Franchise = ''[[:Category:Sonic the Hedgehog Games|Sonic the Hedgehog]]'' | ||
| | |||
|Prequel = ''[[Shadow the Hedgehog]]'' | |Prequel = ''[[Shadow the Hedgehog]]'' | ||
|Sequel = ''[[Sonic Unleashed]]'' | |Sequel = ''[[mh:awesomegames:Sonic Unleashed (PS3/X360)|Sonic Unleashed]]'' | ||
}} | }} | ||
</pre></div> | </pre></div> | ||
Results in the following (normally aligned on the right of the screen): | Results in the following (normally aligned on the right of the screen): | ||
{| | {| | ||
|- | |- | ||
|{{GameInfobox | |{{GameInfobox | ||
|name = | |name = GameInfobox | ||
|Picture = Sonic-the-Hedgehog-2006-X360.jpg | |Picture=Sonic-the-Hedgehog-2006-X360.jpg | ||
|Quote = {{Quote| | |Quote={{Quote|It's no use!|Silver the Hedgehog, hopefully about this game}} | ||
|Protagonist=Sonic the Hedgehog<br>Shadow the Hedgehog<br>Silver the Hedgehog | |||
|Genre=Action-adventure<br>Platform | |||
|Protagonist = Sonic the Hedgehog<br>Shadow the Hedgehog<br>Silver the Hedgehog | |Rating = ESRB: E10+<br>PEGI: 12 | ||
|Genre = Action-adventure<br>Platform | |Platforms=[[mh:awesomegames:Sony PlayStation|PlayStation]] | ||
|Release Date = Xbox 360<br><small>NA: November 14, 2006<br>EU: November 24, 2006<br>JP: December 21, 2006</small><br>PlayStation 3<br><small>JP: December 21, 2006<br>NA: January 30, 2007<br>EU: March 23, 2007</small> | |Release Date=Xbox 360<br><small>NA: November 14, 2006<br>EU: November 24, 2006<br>JP: December 21, 2006</small><br>PlayStation 3<br><small>JP: December 21, 2006<br>NA: January 30, 2007<br>EU: March 23, 2007</small> | ||
|Delist Date= | |||
|Game Engine=RenderWare<br>Havok <small>(physics)</small> | |||
|Developer=[[mh:awesomegames:Sonic Team]] | |||
|Publisher=[[Sega]] | |||
|Country = Japan | |Country = Japan | ||
| | |Franchise = ''[[:Category:Sonic the Hedgehog Games|Sonic the Hedgehog]]'' | ||
| | |||
|Prequel = ''[[Shadow the Hedgehog]]'' | |Prequel = ''[[Shadow the Hedgehog]]'' | ||
|Sequel = ''[[Sonic Unleashed | |Sequel = ''[[mh:awesomegames:Sonic Unleashed (PS3/X360)|Sonic Unleashed]]'' | ||
| | |||
}} | }} | ||
|- | |- |
Revision as of 20:48, December 3, 2024
{{GameInfobox |Picture= |Quote= |Protagonist= |Genre= |Rating= |Platforms= |Release Date= |Delist Date= |Game Engine= |Developer= |Publisher= |Country= |Franchise= |Prequel= |Sequel= }}
Example
Notes: Use the operator <br> in source mode to add linebreaks within the table. Sections left blank will not be displayed. The title that appears at the top of the infobox will be the same as the name of the page it is on. Note that the picture field requires the extension (.jpg, .jpeg, .png) to be present, and requires that the File: or Image: part of the link not be present.
Using the following:
{{GameInfobox |Picture=Sonic-the-Hedgehog-2006-X360.jpg |Quote={{Quote|It's no use!|Silver the Hedgehog, hopefully about this game}} |Protagonist=Sonic the Hedgehog<br>Shadow the Hedgehog<br>Silver the Hedgehog |Genre=Action-adventure<br>Platform |Rating = ESRB: E10+<br>PEGI: 12 |Platforms=[[mh:awesomegames:Sony PlayStation|PlayStation]] |Release Date=Xbox 360<br><small>NA: November 14, 2006<br>EU: November 24, 2006<br>JP: December 21, 2006</small><br>PlayStation 3<br><small>JP: December 21, 2006<br>NA: January 30, 2007<br>EU: March 23, 2007</small> |Delist Date= |Game Engine=RenderWare<br>Havok <small>(physics)</small> |Developer=[[mh:awesomegames:Sonic Team]] |Publisher=[[Sega]] |Country = Japan |Franchise = ''[[:Category:Sonic the Hedgehog Games|Sonic the Hedgehog]]'' |Prequel = ''[[Shadow the Hedgehog]]'' |Sequel = ''[[mh:awesomegames:Sonic Unleashed (PS3/X360)|Sonic Unleashed]]'' }}
Results in the following (normally aligned on the right of the screen):
|