FANDOM


Line 33: Line 33:
 
-->{{#vardefine:tWIDTH|{{#if:{{{width|}}}|{{{width|}}}}}}}<!-- trim
 
-->{{#vardefine:tWIDTH|{{#if:{{{width|}}}|{{{width|}}}}}}}<!-- trim
   
--><infobox>
+
--><infobox><!--
<!--
 
 
Caption (may not work with new portable infoboxes code)
 
Caption (may not work with new portable infoboxes code)
-->{{#if:{{{topcaption|}}}|<header class="{{{topcaptionclass|}}}" style="font-size:1.2em; font-weight:bold; text-align:center; width:{{{width|}}}; {{{topcaptionstyle|}}}">{{{topcaption|}}}</header>}}<!--
+
-->{{#if:{{{topcaption|}}}|
  +
<!----><header class="{{{topcaptionclass|}}}" style="font-size:1.2em; font-weight:bold; text-align:center; width:{{{width|}}}; {{{topcaptionstyle|}}}">{{{topcaption|}}}</header>}}<!--
 
Title/name of infobox
 
Title/name of infobox
  +
--><!--
 
--><title source="name" style="font-size:1.2em; font-weight:bold; {{{titlestyle|}}}"><format><center>{{{name}}}</center></format><default><center>{{PAGENAME}}</center></default></title>
 
--><title source="name" style="font-size:1.2em; font-weight:bold; {{{titlestyle|}}}"><format><center>{{{name}}}</center></format><default><center>{{PAGENAME}}</center></default></title>
 
<!--
 
<!--
 
Above header
 
Above header
-->{{#if:{{{above|}}}|<header style="text-align:center; font-size:1.25em; font-weight:bold; padding:5px; {{{abovestyle|}}}">{{{above}}}</header>}}<!--
+
-->{{#if:{{{above|}}}|
  +
<!----><header style="text-align:center; font-size:1.25em; font-weight:bold; padding:5px; {{{abovestyle|}}}">{{{above}}}</header>}}<!--
 
--><image source="image" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}">{{#if:{{{caption|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption}}}</span></image>
 
--><image source="image" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}">{{#if:{{{caption|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption}}}</span></image>
 
<!--
 
<!--
Line 46: Line 47:
 
Header/Label/Data group #1
 
Header/Label/Data group #1
 
Show only Header1
 
Show only Header1
-->{{#if:{{{header1|}}}|<header style="text-align:center; {{{headerstyle|}}}">{{{header1|}}}</header>|<!--
+
-->{{#if:{{{header1|}}}|
  +
<!----><header style="text-align:center; {{{headerstyle|}}}">{{{header1|}}}</header>|<!--
 
or show Label1/Data1
 
or show Label1/Data1
 
-->{{#if:{{{label1|}}}|<!--
 
-->{{#if:{{{label1|}}}|<!--
-->{{#if:{{{data1|}}}|<data source="data1" class="{{{class1|}}}" style="{{{datastyle|}}}"><label style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label1|}}}</label></data>}}|<!--
+
-->{{#if:{{{data1|}}}|
  +
<!-- --><data source="data1" class="{{{class1|}}}" style="{{{datastyle|}}}"><label style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label1|}}}</label></data>}}|<!--
 
or show just Data1
 
or show just Data1
-->{{#if:{{{data1|}}}|<data source="data1" class="{{{class1|}}}" style="text-align:center; {{{datastyle|}}}" />}}<!--
+
-->{{#if:{{{data1|}}}|
  +
<!-- --><data source="data1" class="{{{class1|}}}" style="text-align:center; {{{datastyle|}}}" />}}<!--
 
-->}}<!--
 
-->}}<!--
 
-->}}
 
-->}}
Line 58: Line 59:
 
Header/Label/Data group #2
 
Header/Label/Data group #2
 
Show only Header2
 
Show only Header2
-->{{#if:{{{header2|}}}|<header style="text-align:center; {{{headerstyle|}}}">{{{header2|}}}</header>|<!--
+
-->{{#if:{{{header2|}}}|
  +
<!----><header style="text-align:center; {{{headerstyle|}}}">{{{header2|}}}</header>|<!--
 
or show Label1/Data1
 
or show Label1/Data1
 
-->{{#if:{{{label2|}}}|<!--
 
-->{{#if:{{{label2|}}}|<!--
-->{{#if:{{{data2|}}}|<data source="data2" class="{{{class2|}}}" style="{{{datastyle|}}}"><label style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label2|}}}</label></data>}}|<!--
+
-->{{#if:{{{data2|}}}|
  +
<!-- --><data source="data2" class="{{{class2|}}}" style="{{{datastyle|}}}"><label style="font-weight:bold; vertical-align:top; {{{labelstyle|}}}">{{{label2|}}}</label></data>}}|<!--
 
or show just Data1
 
or show just Data1
-->{{#if:{{{data2|}}}|<data source="data2" class="{{{class2|}}}" style="text-align:center; {{{datastyle|}}}" />}}<!--
+
-->{{#if:{{{data2|}}}|
  +
<!-- --><data source="data2" class="{{{class2|}}}" style="text-align:center; {{{datastyle|}}}" />}}<!--
 
-->}}<!--
 
-->}}<!--
 
-->}}
 
-->}}
  +
<!--
  +
Below
  +
-->{{#if:{{{below|}}}|
  +
<!----><header style="text-align:center; {{{belowstyle|}}}">{{{below|}}}</header>}}<!--
  +
Tnavbar
  +
-->{{#if:{{{name|}}}|<header style="text-align:right;">{{Tnavbar|{{{name}}}}}</header>}}
 
--></infobox><!--
 
--></infobox><!--
   

Revision as of 00:33, August 29, 2015

Places a standard 'info box' for detailing a specific item on a wiki page.



Template
Community content is available under CC-BY-SA unless otherwise noted.