Following catbox being excluded from the wayback machine, many parts of googlevideo.com (a backend YouTube domain used for videos) have been excluded.
Learn how to use IPFS!

Permanently protected template

Template:Infobox: Difference between revisions

From Screamer Wiki
Jump to navigation Jump to search
Sump (talk | contribs)
No edit summary
let's test this out
 
(135 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{| border="1" align="right" cellspacing="0" cellpadding="3" style="border:1px solid black; float:right; width:300px; background:#ffffff; color:black; margin:0px 0px 15px 15px; border-collapse:collapse;"
<onlyinclude><infobox>
|-
<title source="title">
|height="32" colspan="2" align="center" style="background: #A62E10;"|
<default>{{PAGENAME}}</default>
<div style="top:+0.2em;font-size: 105%">'''''{{{Box title|No Title}}}'''''</div>
</title>
{{#if: {{{Image file|}}}|
<image source="image">
{{!}}-
<default>NoImageAvailable.png</default>
{{!}}colspan="2" align="center" valign="top" style="background: #595959;"{{!}}
<caption source="imagecaption"/>
[[Image:{{{Image file}}}|{{{Image size}}}px]]
</image>
|
<group>
}}
<header>About This Screamer</header>
|-
<data source="maker">
|height="32" Width="30%" valign="top" style="background: #A62E10;"|
<label>Maker</label>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 1 title|No Title}}}'''</div>
<default>Unknown</default>
|valign="top" style="background: #1A1A1A;"|
</data>
<div style="top:+0.2em;font-size: 95%">{{{Row 1 info|No information}}}</div>
<data source="type">
{{#if: {{{Row 2 title|}}}|
<label>Type</label>
{{!}}-
<default>Unknown</default>
{{!}}height="32" Width="30%" valign="top"  style="background: #A62E10;"{{!}}
</data>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 2 title}}}'''</div>
<data source="date">
{{!}}valign="top"  style="background: #1A1A1A;"{{!}}
<label>Release date</label>
<div style="top:+0.2em;font-size: 95%">{{{Row 2 info|No information}}}</div>
<default>Unknown</default>
{{#if: {{{Row 3 title|}}}|
</data>
{{!}}-
</group>
{{!}}height="32" Width="30%" valign="top"  style="background: #A62E10;"{{!}}
<group layout="horizontal">
<div style="top:+0.2em;font-size: 95%">'''{{{Row 3 title}}}'''</div>
<header>Order</header>
{{!}}valign="top" style="background: #1A1A1A;"{{!}}
<data source="previous">
<div style="top:+0.2em;font-size: 95%">{{{Row 3 info|No information}}}</div>
<label>Previous</label>
{{#if: {{{Row 4 title|}}}|
</data>
{{!}}-
<data source="next">
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}}
<label>Next</label>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 4 title}}}'''</div>
</data>
{{!}}valign="top" style="background: #1A1A1A;"{{!}}
</group>
<div style="top:+0.2em;font-size: 95%">{{{Row 4 info|No information}}}</div>
</infobox></onlyinclude><noinclude>
{{#if: {{{Row 5 title|}}}|
<br style="clear:both;"/>
{{!}}-
{{documentation}}
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{Row 5 title}}}'''</div>
{{!}}valign="top" style="background: #1A1A1A;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{Row 5 info|No information}}}</div>
{{#if: {{{Row 6 title|}}}|
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{Row 6 title}}}'''</div>
{{!}}valign="top" style="background: #1A1A1A;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{Row 6 info|No information}}}</div>
{{#if: {{{Row 7 title|}}}|
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{Row 7 title}}}'''</div>
{{!}}valign="top" style="background: #1A1A1A;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{Row 7 info|No information}}}</div>
{{#if: {{{Row 8 title|}}}|
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{Row 8 title}}}'''</div>
{{!}}valign="top" style="background: #1A1A1A;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{Row 8 info|No information}}}</div>
{{#if: {{{Row 9 title|}}}|
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{Row 9 title}}}'''</div>
{{!}}valign="top" style="background: #1A1A1A; border: 1px solid #aaaaaa"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{Row 9 info|No information}}}</div>
{{#if: {{{Row 10 title|}}}|
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #A62E10;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{Row 10 title}}}'''</div>
{{!}}valign="top" style="background: #1A1A1A;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{Row 10 info|No information}}}</div>
{{#if: {{{Row 11 title|}}}|
{{!}}-
{{!}}height="32" colspan="2" align="center" valign="top" style="background: #aaaaaa;"{{!}}
Too many parameters
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|
}}
|}
<noinclude>
 
 
 
 
 
==Usage==
Syntax:<br>
<code>'''<nowiki>{{</nowiki>Infobox'''<br />
'''|'''Box title    = <br />
'''|'''Image file  = <br />
'''|'''Image size  = <br />
'''|'''Row 1 title  = <br />
'''|'''Row 1 info  = <br />
'''|'''Row 2 title  = <br />
'''|'''Row 2 info  = <br />
'''|'''Row 3 title  = <br />
'''|'''Row 3 info  = <br />
'''|'''Row 4 title  = <br />
'''|'''Row 4 info  = <br />
'''|'''Row 5 title  = <br />
'''|'''Row 5 info  = <br />
'''|'''Row 6 title  = <br />
'''|'''Row 6 info  = <br />
'''|'''Row 7 title  = <br />
'''|'''Row 7 info  = <br />
'''|'''Row 8 title  = <br />
'''|'''Row 8 info  = <br />
'''|'''Row 9 title  = <br />
'''|'''Row 9 info  = <br />
'''|'''Row 10 title = <br />
'''|'''Row 10 info  = <br />
'''<nowiki>}}</nowiki>'''</code>
 
Notes:
* Keeping the '''Box Title''' empty will result in displaying '''No title'''
* If you don't want to display image, just keep '''Image file Name''' and '''Image Size''' empty.
* Keeping the '''Row 1 title''' empty will result in displaying '''No title'''.
* Keeping the '''Row (any row) info''' empty will result in displaying '''No information'''.
* Keeping the '''Row (any below row 1) title''' empty will result in that row and the rest of the rows below it will not be displayed.
* Max row for information: 10 rows.
 
Usage examples are here: [[Template talk:Infobox]].
 
[[Category:General wiki templates]]
</noinclude>
</noinclude>

Latest revision as of 23:13, 11 August 2025