Template:Infobox: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
m (Reverted edits by Screamer123 (talk) to last revision by Lawiki1534)
Tag: Rollback
No edit summary
Line 1: Line 1:
<includeonly>
<!-- START OF PADDING AROUND INFO BOX -->
{| border="0" cellpadding="20" width= "320px" style="float: right;"
|-
|
<!-- START OF ACTUAL INFO BOX -->
{| border="0" cellpadding="2" cellspacing="0" style="background: #212121; border: 1px solid #d44d1c" align="center"
|-
!style="background:#d44d1c;" |<font color="white">'''{{{name|{{PAGENAME}}}}}'''</font>
|-
|
<!-- BORDER AROUND THE IMAGE -->
{| border="0" cellpadding="2" cellspacing="0" style="background: #212121; border: 1px solid #d44d1c" align="center"
|-
![[File:{{{Picture|none.png}}}|250px|center|]]
|-
|}<div style= align="center">{{#if:{{{Quote|}}}|{{{Quote|}}}}}</div>
<!-- END OF BORDER AROUND IMAGE -->
|-
|
{| border="0" cellpadding="2" cellspacing="1" style="text-align:left; background: none; border-top:1px solid #4a4a4a"
|-valign="top"
{{#if:{{{Maker|}}} |
!width=100{{!}}Maker:
!width=200{{!}}{{{Maker|''Unknown''}}}
}}
|-valign="top"
{{#if:{{{Type|}}} |
!width=100{{!}}Type:
!width=200{{!}}{{{Type|''Unknown''}}}
}}
|-valign="top"
{{#if:{{{Release date|}}} |
!width=100{{!}}Release date:
!width=200{{!}}{{{Release date|''Unknown''}}}
}}
|-valign="top"
{{#if:{{{Status|}}} |
!width=100{{!}}Status:
!width=200{{!}}{{{Status|''Unknown''}}}
}}
|-
|}
<!-- END OF FIRST SECTION  -->
|}
<!-- END OF ACTUAL INFOBOX -->
|}
<!-- END OF PADDING AROUND INFOBOX -->
</includeonly>
<noinclude>
<noinclude>
{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 90%;"
<div><pre>
{{ScreamerInfobox
|name =
|Picture =
|Quote =
|Maker = ''Unknown''
|Type = ''Unknown''
|Release date = ''Unknown''
|Status = Active/inactive
}}
</pre></div>
 
==Example==
Copying the source below...
 
<div><pre>
{{Infobox
|name = The Maze
|Picture = The_Maze.jpg
|Quote = The third level in The Maze.
|Maker = Jeremy Winterrowd
|Type = Flash game
|Release date = October 2004
|Status = Active
}}
 
</pre></div>
 
...will result into this.
 
{|
|-
|-
| colspan="2" style="text-align:center; font-size: large;" | '''{{{name}}}'''
|{{Infobox
|name = The Maze
|Picture = The_Maze.jpg
|Quote = The third level in The Maze.
|Maker = Jeremy Winterrowd
|Type = Flash game
|Release date = October 2004
|Status = Active
}}
|-
|-
| colspan="2" style="text-align:center;" | [[Image:{{{image}}}|300px| ]]<br>{{{caption}}}
|-
! Data 1:
| {{{data1}}}
|-
! Data 2:
| {{{data2|''this text displayed if data2 not defined''}}}
|-
! Data 3 (data hidden if data3 empty or not defined):
| {{{data3|}}}
|-
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
|}
|}
<br clear=all>
[[Category:Templates]]
[[Category:Infobox]]
</noinclude>
</noinclude>

Revision as of 00:18, 25 June 2020


{{ScreamerInfobox
|name = 
|Picture = 
|Quote = 
|Maker = ''Unknown''
|Type = ''Unknown''
|Release date = ''Unknown''
|Status = Active/inactive
}}

Example

Copying the source below...

{{Infobox
|name = The Maze
|Picture = The_Maze.jpg
|Quote = The third level in The Maze.
|Maker = Jeremy Winterrowd
|Type = Flash game
|Release date = October 2004
|Status = Active
}}

...will result into this.

The Maze
The third level in The Maze.
Maker: Jeremy Winterrowd
Type: Flash game
Release date: October 2004
Status: Active