πŸŽƒ Happy Halloween, Screamer Wiki! πŸŽƒ

Template:Infobox: Difference between revisions

Jump to: navigation, search
Undo revision 133245 by Angeleno (talk)
No edit summary
(Undo revision 133245 by Angeleno (talk))
Tag: Undo
Β 
(36 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>
<onlyinclude><infobox>
<font color=white>
<title source="title"><default><font face="Rubik"; style="font-weight:bold">{{PAGENAME}}</font></default></title>
<!-- START OF PADDING AROUND INFO BOX -->
<image source="image"><default>NoImageAvailable.png</default><caption source="imagecaption"/></image>
{| border="0" cellpadding="20" width= "320px" style="float: right;"
<group>
|-
<header><font face="Rubik"><font color="white">About This Screamer</header>
|
<data source="maker"><label>Maker</label><default>Unknown</default></data>
<!-- START OF ACTUAL INFO BOX -->
<data source="type"><label>Type</label><default>Unknown</default></data>
{| border="0" cellpadding="2" cellspacing="0" style="background: #212121; border: 1px solid #d44d1c" align="center"
<data source="date"><label>Release date</label><default>Unknown</font></default></data>
|-
</group>
!style="background:#d44d1c;" |<font color="white" style="font-size:120%">'''{{{name|{{PAGENAME}}}}}'''</font>
<group layout="horizontal">
|-
<header>Order</header>
|
<data source="previous"><label>Previous</label></data>
<!-- BORDER AROUND THE IMAGE -->
<data source="next"><label>Next</label></data>
{| border="0" cellpadding="1" cellspacing="0" style="background: #212121; border: 1px solid #d44d1c" align="center"
</group>
|-
</infobox></onlyinclude><noinclude><br style="clear:both;"/>
![[File:{{{Picture|none.png}}}|285px|center|]]
{{documentation}}</noinclude>
|-
|}<div style="align=center; text-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 -->
</font>
</includeonly>
<noinclude>
<div><pre>
{{Infobox
|name = Β 
|Picture =
|Quote =
|Maker = ''Unknown''
|Type = ''Unknown''
|Release date = ''Unknown''
}}
</pre></div>
Β 
==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:
Β 
<div><pre>
{{Infobox
|name = The Maze
|Picture = The_Maze.jpg
|Maker = Jeremy Winterrowd
|Type = Flash game
|Release date = October 2004
|Quote = The third level in The Maze.
}}
Β 
</pre></div>
Β 
Results in the following (normally aligned on the right of the screen):
Β 
{|
|-
|{{Infobox
|name = The Maze
|Picture = The_Maze.jpg
|Maker = Jeremy Winterrowd
|Type = Flash game
|Release date = October 2004
|Quote = The third level in The Maze.
}}
|-
|}
<br clear=all>
Β 
[[Category:Templates]]
[[Category:Infobox]]
</noinclude>

Navigation menu