Template:Infobox: Difference between revisions

From Fanon Wiki
No edit summary
Tag: Reverted
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 9: Line 9:
|
|
}}
}}
|-
|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|}}}|
{{#if: {{{row 2 title|}}}|
{{!}}-
{{!}}height="32" Width="30%" valign="top"  style="background: #D1BEF4;"{{!}}
<div style="top:+0.2em;font-size: 95%">'''{{{row 1 title}}}'''</div>
{{!}}valign="top"  style="background: #FFFFFF;"{{!}}
<div style="top:+0.2em;font-size: 95%">{{{row 1 info|No information}}}</div>
{{#if: {{{row 1 title|}}}|
{{!}}-
{{!}}-
{{!}}height="32" Width="30%" valign="top"  style="background: #D1BEF4;"{{!}}
{{!}}height="32" Width="30%" valign="top"  style="background: #D1BEF4;"{{!}}
Line 133: Line 132:
{{!}}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 229: Line 226:


===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 (any row) info''' empty will result in displaying '''No information'''.
* Keeping the '''Row 1 title''' empty will result in displaying '''No title'''.
* 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 1 info''' empty will result in displaying '''No information'''.
* Keeping the '''Row (any below row 1) title''' and '''Row (any below row 1) info''' empty will result in that row and the rest of the rows below it will not be displayed.
* Max row for information: 20 rows.
* Max row for information: 20 rows.
* "Box title" is case sensitive; if you put something else like, say, "Box '''T'''itle", the infobox's title will still display '''No title'''
* "Box title" is case sensitive; if you put something else like, say, "Box '''t'''itle", the infobox's title will still display '''No title'''


[[Category:General wiki templates]]
[[Category:General wiki templates]]
</noinclude>
</noinclude>

Latest revision as of 00:37, 19 July 2023

Infobox
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 1 info empty will result in displaying No information.
  • Keeping the Row (any below row 1) title and Row (any below row 1) info 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