Template:Infobox: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
mNo edit summary
No edit summary
(23 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<br clear=all>
<!-- START OF PADDING AROUND INFO BOX -->
<!-- START OF PADDING AROUND INFO BOX -->
{| border="0" cellpadding="20" width= "320px" style="float: right;"
{| border="0" cellpadding="20" width= "320px" style="float: right;"
|-
|-
!style="background:#d95e1c;" |'''{{{name|{{PAGENAME}}}}}'''
|
<!-- 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"><big><big>'''{{{name|{{PAGENAME}}}}}'''</big></big></font>
|-
|-
|
|
<!-- BORDER AROUND THE IMAGE -->
<!-- BORDER AROUND THE IMAGE -->
{| border="0" cellpadding="2" cellspacing="0" style="background: black; border: 1px solid #d95e1c" align="center"
{| border="0" cellpadding="2" cellspacing="0" style="background: #212121; border: 1px solid #d44d1c" align="center"
|-
|-
![[File:{{{Image|none.png}}}|250px|center|]]
![[File:{{{Picture|none.png}}}|250px|center|]]
|-
|-
|}<div style= align="center">{{#if:{{{imagecaption|}}}|{{{imagecaption|}}}}}</div>
|}<div style="align=center; text-align:center">{{#if:{{{Quote|}}}|{{{Quote|}}}}}</div>
<!-- END OF BORDER AROUND IMAGE -->
<!-- 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 #4a4a4a"
{| border="0" cellpadding="2" cellspacing="0" style="background: #212121; border: 1px solid #d95e1c" align="center"
|-
|-
|
{| border="0" cellpadding="2" cellspacing="1" style="text-align:left; background: none; border-top:1px solid #d95e1c"
|-valign="top"
|-valign="top"
{{#if:{{{Maker|}}} |
{{#if:{{{Maker|}}} |
Line 30: Line 28:
{{#if:{{{Type|}}} |
{{#if:{{{Type|}}} |
!width=100{{!}}Type:
!width=100{{!}}Type:
!width=200{{!}}{{{Type|}}}
!width=200{{!}}{{{Type|''Unknown''}}}
}}
}}
|-valign="top"
|-valign="top"
{{#if:{{{Language|}}} |
{{#if:{{{Release date|}}} |
!width=100{{!}}Language:
!width=100{{!}}Release date:
!width=200{{!}}{{{Language|}}}
!width=200{{!}}{{{Release date|''Unknown''}}}
}}
|-valign="top"
{{#if:{{{Length|}}} |
!width=100{{!}}Length:
!width=200{{!}}{{{Length|}}}
}}
|-valign="top"
{{#if:{{{Country|}}} |
!width=100{{!}}Country:
!width=200{{!}}{{{Country|}}}
}}
|-valign="top"
{{#if:{{{Release Date|}}} |
!width=100{{!}}Release Date:
!width=200{{!}}{{{Release Date|}}} |
}}
}}
|-
|-
Line 56: Line 39:
<!-- END OF FIRST SECTION  -->
<!-- END OF FIRST SECTION  -->
|}
|}
<!-- END OF ACTUAL INFOBOX -->
|}
|}
<!-- END OF PADDING AROUND INFOBOX -->
<!-- END OF PADDING AROUND INFOBOX -->
</includeonly>
</includeonly>
<noinclude>
<noinclude>
<div><pre>
{{ScreamerInfobox
|name =
|Picture =
|Quote =
|Maker = ''Unknown''
|Type = ''Unknown''
|Release date = ''Unknown''
}}
</pre></div>
==Example==
Copying the source below...
<div><pre>
<div><pre>
{{Infobox
{{Infobox
|title =  
|name = The Maze
|image =  
|Picture = The_Maze.jpg
|imagecaption =  
|Quote = The third level in The Maze.
|maker = ''Unknown''
|Maker = Jeremy Winterrowd
|type =  
|Type = Flash game
|language =
|Release date = October 2004
|length =
|country = ''Unknown''
|date =  
}}
}}
</pre></div>
</pre></div>
...will result into this.
{|
|-
|{{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
}}
|-
|}
<br clear=all>
[[Category:Templates]]
[[Category:Templates]]
[[Category:Infobox]]
[[Category:Infobox]]
</noinclude>
</noinclude>

Revision as of 03:57, 9 August 2020


{{ScreamerInfobox
|name = 
|Picture = 
|Quote = 
|Maker = ''Unknown''
|Type = ''Unknown''
|Release date = ''Unknown''
}}

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
}}

...will result into this.

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