Template:Infobox: Difference between revisions

From Fanon Wiki
No edit summary
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" align="center" style="background: #D1BEF4;"|
!height="32" colspan="2" style="background: #D1BEF4;"|
<div style="top:+0.2em;font-size: 105%">'''''{{{Box title|No Title}}}'''''</div>
<div style="top:+0.2em;font-size: 105%">{{{Box title|{{PAGENAME}}}}}</div>
{{#if: {{{Image file|}}}|
{{#if: {{{Image file|}}}|
{{!}}-
{{!}}-
Line 226: Line 226:


===Notes===
===Notes===
* Keeping the '''Box Title''' empty will result in displaying '''No title'''
* 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 1 title''' empty will result in displaying '''No title'''.
* Keeping the '''Row 1 info''' empty will result in displaying '''No information'''.
* Keeping the '''Row 1 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''' 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'''

Revision as of 00:32, 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