Template:Infobox: Difference between revisions

From Fanon Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
{| border="1" align="right" cellspacing="0" cellpadding="3" style="border:1px solid #7a7a7a; float:right; width:300px; background:#ffffff; color:black; margin:0px 0px 15px 15px; border-collapse:collapse;"
{| border="1" align="right" cellspacing="0" cellpadding="3" style="border:1px solid #7a7a7a; float:right; width:300px; background:#ffffff; color:black; margin:0px 0px 15px 15px; border-collapse:collapse;"
|-
|-
!height="32" colspan="2" style="background: #D1BEF4;"|
|height="32" colspan="2" align="center" style="background: #D1BEF4;"|
<div style="top:+0.2em;font-size: 105%">{{{box title|{{PAGENAME}}}}}</div>
<div style="top:+0.2em;font-size: 105%">'''''{{{Box title|No Title}}}'''''</div>
{{#if: {{{image file|}}}|
{{#if: {{{Image file|}}}|
{{!}}-
{{!}}-
{{!}}colspan="2" align="center" valign="top" style="background: #FFFFFF;"{{!}}
{{!}}colspan="2" align="center" valign="top" style="background: #FFFFFF;"{{!}}
[[File:{{{image file}}}|{{{image size}}}px]]
[[File:{{{Image file}}}|{{{Image size}}}px]]
|
|
}}
}}
{{#if: {{{row 1 title|}}}|
|-
|height="32" Width="30%" valign="top" style="background: #D1BEF4;"|
<div style="top:+0.2em;font-size: 95%">'''{{{Row 1 title|No Title}}}'''</div>
|valign="top" style="background: #FFFFFF;"|
<div style="top:+0.2em;font-size: 95%">{{{Row 1 info|No information}}}</div>
{{#if: {{{Row 2 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top"  style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top"  style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 1 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 2 title}}}'''</div>
{{!}}valign="top"  style="background: #FFFFFF;"{{!}}
{{!}}valign="top"  style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 1 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 2 info|No information}}}</div>
{{#if: {{{row 2 title|}}}|
{{#if: {{{Row 3 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top"  style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top"  style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 2 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 3 title}}}'''</div>
{{!}}valign="top"  style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 2 info|No information}}}</div>
{{#if: {{{row 3 title|}}}|
{{!}}-
{{!}}height="32" Width="30%" valign="top"  style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 3 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 3 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 3 info|No information}}}</div>
{{#if: {{{row 4 title|}}}|
{{#if: {{{Row 4 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 4 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 4 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 4 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 4 info|No information}}}</div>
{{#if: {{{row 5 title|}}}|
{{#if: {{{Row 5 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 5 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 5 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 5 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 5 info|No information}}}</div>
{{#if: {{{row 6 title|}}}|
{{#if: {{{Row 6 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 6 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 6 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 6 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 6 info|No information}}}</div>
{{#if: {{{row 7 title|}}}|
{{#if: {{{Row 7 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 7 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 7 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 7 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 7 info|No information}}}</div>
{{#if: {{{row 8 title|}}}|
{{#if: {{{Row 8 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 8 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 8 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 8 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 8 info|No information}}}</div>
{{#if: {{{row 9 title|}}}|
{{#if: {{{Row 9 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 9 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 9 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF; border: 1px solid #aaaaaa"{{!}}
{{!}}valign="top" style="background: #FFFFFF; border: 1px solid #aaaaaa"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 9 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 9 info|No information}}}</div>
{{#if: {{{row 10 title|}}}|
{{#if: {{{Row 10 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 10 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 10 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 10 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 10 info|No information}}}</div>
{{#if: {{{row 11 title|}}}|
{{#if: {{{Row 11 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 11 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 11 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 11 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 11 info|No information}}}</div>
{{#if: {{{row 12 title|}}}|
{{#if: {{{Row 12 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top"  style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top"  style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 12 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 12 title}}}'''</div>
{{!}}valign="top"  style="background: #FFFFFF;"{{!}}
{{!}}valign="top"  style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 12 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 12 info|No information}}}</div>
{{#if: {{{row 13 title|}}}|
{{#if: {{{Row 13 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top"  style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top"  style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 13 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 13 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 13 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 13 info|No information}}}</div>
{{#if: {{{row 14 title|}}}|
{{#if: {{{Row 14 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 14 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 14 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 14 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 14 info|No information}}}</div>
{{#if: {{{row 15 title|}}}|
{{#if: {{{Row 15 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 15 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 15 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 15 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 15 info|No information}}}</div>
{{#if: {{{row 16 title|}}}|
{{#if: {{{Row 16 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 16 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 16 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 16 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 16 info|No information}}}</div>
{{#if: {{{row 17 title|}}}|
{{#if: {{{Row 17 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 17 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 17 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 17 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 17 info|No information}}}</div>
{{#if: {{{row 18 title|}}}|
{{#if: {{{Row 18 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 18 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 18 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 18 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 18 info|No information}}}</div>
{{#if: {{{row 19 title|}}}|
{{#if: {{{Row 19 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 19 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 19 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF; border: 1px solid #aaaaaa"{{!}}
{{!}}valign="top" style="background: #FFFFFF; border: 1px solid #aaaaaa"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 19 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 19 info|No information}}}</div>
{{#if: {{{row 20 title|}}}|
{{#if: {{{Row 20 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top" style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 20 title}}}'''</div>
<div style="top:+0.2em;font-size: 95%">'''{{{Row 20 title}}}'''</div>
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
{{!}}valign="top" style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 20 info|No information}}}</div>
<div style="top:+0.2em;font-size: 95%">{{{Row 20 info|No information}}}</div>
{{#if: {{{row 21 title|}}}|
{{#if: {{{Row 21 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" colspan="2" align="center" valign="top" style="background: #aaaaaa;"{{!}}
{{!}}height="32" colspan="2" align="center" valign="top" style="background: #aaaaaa;"{{!}}
Too many parameters
Too many parameters
|
}}
|
|
}}
}}
Line 177: Line 174:
|}
|}
<noinclude>
<noinclude>
{{clear}}
 
==Usage==
==Usage==
===Syntax===
===Syntax===
<pre>
<pre>
{{Infobox
{{Infobox
|box title    =  
|Box title    =  
|image file  =  
|Image file  =  
|image size  =  
|Image size  =  
|row 1 title  =  
|Row 1 title  =  
|row 1 info  =  
|Row 1 info  =  
|row 2 title  =  
|Row 2 title  =  
|row 2 info  =  
|Row 2 info  =  
|row 3 title  =  
|Row 3 title  =  
|row 3 info  =  
|Row 3 info  =  
|row 4 title  =  
|Row 4 title  =  
|row 4 info  =  
|Row 4 info  =  
|row 5 title  =  
|Row 5 title  =  
|row 5 info  =  
|Row 5 info  =  
|row 6 title  =  
|Row 6 title  =  
|row 6 info  =  
|Row 6 info  =  
|row 7 title  =  
|Row 7 title  =  
|row 7 info  =  
|Row 7 info  =  
|row 8 title  =  
|Row 8 title  =  
|row 8 info  =  
|Row 8 info  =  
|row 9 title  =  
|Row 9 title  =  
|row 9 info  =  
|Row 9 info  =  
|row 10 title =  
|Row 10 title =  
|row 10 info  =  
|Row 10 info  =  
|row 11 title =  
|Row 11 title =  
|row 11 info  =  
|Row 11 info  =  
|row 12 title =  
|Row 12 title =  
|row 12 info  =  
|Row 12 info  =  
|row 13 title =  
|Row 13 title =  
|row 13 info  =  
|Row 13 info  =  
|row 14 title =  
|Row 14 title =  
|row 14 info  =  
|Row 14 info  =  
|row 15 title =  
|Row 15 title =  
|row 15 info  =  
|Row 15 info  =  
|row 16 title =  
|Row 16 title =  
|row 16 info  =  
|Row 16 info  =  
|row 17 title =  
|Row 17 title =  
|row 17 info  =  
|Row 17 info  =  
|row 18 title =  
|Row 18 title =  
|row 18 info  =  
|Row 18 info  =  
|row 19 title =  
|Row 19 title =  
|row 19 info  =  
|Row 19 info  =  
|row 20 title =  
|Row 20 title =  
|row 20 info  =  
|Row 20 info  =  
}}
}}
</pre>
</pre>


===Notes===
===Notes===
* Keeping the '''box title''' empty will result in displaying the '''page name'''
* 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.
* 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 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.
* 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.

Revision as of 00:22, 19 July 2023

No Title
No Title
No information


Usage

Syntax

{{Infobox
|Box title    = 
|Image file   = 
|Image size   = 
|Row 1 title  = 
|Row 1 info   = 
|Row 2 title  = 
|Row 2 info   = 
|Row 3 title  = 
|Row 3 info   = 
|Row 4 title  = 
|Row 4 info   = 
|Row 5 title  = 
|Row 5 info   = 
|Row 6 title  = 
|Row 6 info   = 
|Row 7 title  = 
|Row 7 info   = 
|Row 8 title  = 
|Row 8 info   = 
|Row 9 title  = 
|Row 9 info   = 
|Row 10 title = 
|Row 10 info  = 
|Row 11 title = 
|Row 11 info  = 
|Row 12 title = 
|Row 12 info  = 
|Row 13 title = 
|Row 13 info  = 
|Row 14 title = 
|Row 14 info  = 
|Row 15 title = 
|Row 15 info  = 
|Row 16 title = 
|Row 16 info  = 
|Row 17 title = 
|Row 17 info  = 
|Row 18 title = 
|Row 18 info  = 
|Row 19 title = 
|Row 19 info  = 
|Row 20 title = 
|Row 20 info  = 
}}

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: 20 rows.
  • "Box title" is case sensitive; if you put something else like, say, "Box Title", the infobox's title will still display No title