Permanently protected template

Template:Infobox: Difference between revisions

From Screamer Wiki
Jump to: navigation, search
No edit summary
(Undo revision 133245 by Angeleno (talk))
Tag: Undo
 
(52 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>
<onlyinclude><infobox>
<!-- START OF PADDING AROUND INFO BOX -->
<title source="title"><default><font face="Rubik"; style="font-weight:bold">{{PAGENAME}}</font></default></title>
{| border="0" cellpadding="20" width= "320px" style="float: right;"
<image source="image"><default>NoImageAvailable.png</default><caption source="imagecaption"/></image>
|-
<group>
|
<header><font face="Rubik"><font color="white">About This Screamer</header>
<!-- START OF ACTUAL INFO BOX -->
<data source="maker"><label>Maker</label><default>Unknown</default></data>
{| border="0" cellpadding="2" cellspacing="0" style="background: #212121; border: 1px solid #d44d1c" align="center"
<data source="type"><label>Type</label><default>Unknown</default></data>
|-
<data source="date"><label>Release date</label><default>Unknown</font></default></data>
!style="background:#d44d1c;" |<font color="white">'''{{{name|{{PAGENAME}}}}}'''</font>
</group>
|-
<group layout="horizontal">
|
<header>Order</header>
<!-- BORDER AROUND THE IMAGE -->
<data source="previous"><label>Previous</label></data>
{| border="0" cellpadding="2" cellspacing="0" style="background: #212121; border: 1px solid #d44d1c" align="center"
<data source="next"><label>Next</label></data>
|-
</group>
![[File:{{{Picture|none.png}}}|250px|center|]]
</infobox></onlyinclude><noinclude><br style="clear:both;"/>
|-
{{documentation}}</noinclude>
|}<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''}}}
}}
|-
|}
<!-- END OF FIRST SECTION  -->
|}
<!-- END OF ACTUAL INFOBOX -->
|}
<!-- END OF PADDING AROUND INFOBOX -->
</includeonly>
<noinclude>
<div><pre>
{{ScreamerInfobox
|name =  
|Picture =
|Quote =
|Maker = ''Unknown''
|Type = ''Unknown''
|Release date = ''Unknown''
}}
</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
}}
 
</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:Infobox]]
</noinclude>

Latest revision as of 15:58, 25 June 2023