Jump to content

Template:GameInfobox: Difference between revisions

Szczypak64 (talk | contribs)
No edit summary
Tag: Reverted
Szczypak64 (talk | contribs)
No edit summary
Tag: Reverted
Line 1: Line 1:
<includeonly><div style="padding:0 0 20px 20px;width:340px;float:right">
<!-- START OF ACTUAL INFO BOX -->
<!-- START OF ACTUAL INFO BOX -->
{| border="0" cellpadding="2" cellspacing="0" style="background: whitesmoke; border: 1px solid #aaaaaa;width:100%" align="center"
{| cellpadding="2" cellspacing="0" style="background: whitesmoke; border: 1px solid #aaaaaa; float: right; margin: 20px; margin-top: 0; max-width: 300px;" align="center"
|-
|-
!style="background:green;" |'''<font color=White>{{{name|''{{PAGENAME}}''}}}</font>'''
! style="background: green; color: white;" |'''{{{name|''{{PAGENAME}}''}}}'''
|-
|-
|
| {{#if:{{{Image|{{{Picture|none.png}}}}}}|[[File:{{{Image|{{{Picture|none.png}}}}}}{{!}}300px{{!}}center]]|}}
<!-- BORDER AROUND THE IMAGE -->
{{#if:{{{Quote|}}}|{{{Quote|}}}}}
{| 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 -->
<!-- END OF BORDER AROUND IMAGE -->
|-
|-
|
|
{| border="0" cellpadding="2" cellspacing="1" style="text-align:left; background: none; border-top:1px solid #aaaaaa;width:100%"
{| border="0" cellpadding="2" cellspacing="1" style="border-top: 1px solid #aaaaaa; text-align: left; width: 100%;"
|-valign="top"
|- valign="top"
{{#if:{{{Protagonist|}}} |
{{#if:{{{Protagonist|}}} |
!width=100{{!}}Protagonist(s):
! width=100 {{!}} Protagonist(s):
!width=200{{!}}{{{Protagonist|}}}
! width=200 {{!}} {{{Protagonist|}}}
}}
}}
|-valign="top"
|- valign="top"
{{#if:{{{Genre|}}} |
{{#if:{{{Genre|}}} |
!width=100{{!}}Genre(s):
! width=100 {{!}} Genre(s):
!width=200{{!}}{{{Genre|}}}
! width=200 {{!}} {{{Genre|}}}
}}
}}
|-valign="top"
|- valign="top"
{{#if:{{{Rating|}}} |
{{#if:{{{Rating|}}} |
!width=100{{!}}Rating(s):
! width=100 {{!}} Rating(s):
!width=200{{!}}{{{Rating|}}}
! width=200 {{!}} {{{Rating|}}}
}}
}}
|-valign="top"
|- valign="top"
{{#if:{{{Platforms|}}} |
{{#if:{{{Platforms|}}} |
!width=100{{!}}Platform(s):
! width=100 {{!}} Platform(s):
!width=200{{!}}{{{Platforms|}}}
! width=200 {{!}} {{{Platforms|}}}
}}
}}
|-valign="top"
|- valign="top"
{{#if:{{{Release Date|}}} |
{{#if:{{{Release Date|}}} |
!width=100{{!}}Release:
! width=100 {{!}} Release:
!width=200{{!}}{{{Release Date|}}}
! width=200 {{!}} {{{Release Date|}}}
}}
}}
|-valign="top"
|- valign="top"
{{#if:{{{Delist Date|}}} |
{{#if:{{{Delist Date|}}} |
!width=100{{!}}Discontinuation:
! width=100 {{!}} Discontinuation:
!width=200{{!}}{{{Delist Date|}}}
! width=200 {{!}} {{{Delist Date|}}}
}}
}}
|-valign="top"
|- valign="top"
{{#if:{{{Game Engine|}}} |
{{#if:{{{Game Engine|}}} |
!width=100{{!}}Engine:  
! width=100 {{!}} Engine:  
!width=200{{!}}{{{Game Engine|}}}
! width=200 {{!}} {{{Game Engine|}}}
}}
}}
|-valign="top"
|- valign="top"
{{#if:{{{Developer|}}} |
{{#if:{{{Developer|}}} |
!width=100{{!}}Developer(s):  
! width=100 {{!}} Developer(s):  
!width=200{{!}}{{{Developer|}}}
! width=200 {{!}} {{{Developer|}}}
}}
}}
|-valign="top"
|- valign="top"
{{#if:{{{Publisher|}}} |
{{#if:{{{Publisher|}}} |
!width=100{{!}}Publisher(s):  
! width=100 {{!}} Publisher(s):  
!width=200{{!}}{{{Publisher|}}}
! width=200 {{!}} {{{Publisher|}}}
}}
}}
|-valign="top"
|- valign="top"
{{#if:{{{Country|}}} |
{{#if:{{{Country|}}} |
!width=100{{!}}Country:  
! width=100 {{!}} Country:  
!width=200{{!}}{{{Country|}}}
! width=200 {{!}} {{{Country|}}}
}}
}}
|-valign="top"
|- valign="top"
{{#if:{{{Franchise|}}} |
{{#if:{{{Franchise|}}} |
!width=100{{!}}Series:  
! width=100 {{!}} Series:  
!width=200{{!}}{{{Franchise|}}}
! width=200 {{!}} {{{Franchise|}}}
}}
}}
|-valign="top"
|- valign="top"
{{#if:{{{Prequel|}}} |
{{#if:{{{Prequel|}}} |
!width=100{{!}}Predecessor:  
! width=100 {{!}} Predecessor:  
!width=200{{!}}{{{Prequel|}}}
! width=200 {{!}} {{{Prequel|}}}
}}
}}
|-valign="top"
|- valign="top"
{{#if:{{{Sequel|}}} |
{{#if:{{{Sequel|}}} |
!width=100{{!}}Successor:
! width=100 {{!}} Successor:
!width=200{{!}}{{{Sequel|}}}
! 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=
|Image=
|Quote=
|Quote=
|Protagonist=
|Protagonist=
Line 110: Line 99:
</pre></div>
</pre></div>


=Example=
==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 117: Line 106:
<div><pre style=>
<div><pre style=>
{{GameInfobox
{{GameInfobox
|Picture=Sonic-the-Hedgehog-2006-X360.jpg
|Image=Sonic-the-Hedgehog-2006-X360.jpg
|Quote={{Quote|It's no use!|Silver the Hedgehog, hopefully about this game}}
|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
|Protagonist=Sonic the Hedgehog<br>Shadow the Hedgehog<br>Silver the Hedgehog