FANDOM


(Created page with "{{construction|Mostly an experiment.}} Places a standard 'info box' for detailing a specific item on a wiki page. ;Usage :width= outer box width. Default is '20.5' as below....")
 
Line 25: Line 25:
 
--><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>
 
<!--
 
<!--
Header
+
Above header
 
-->{{#if:{{{above|}}}|<header style="text-align:center; font-size:1.25em; font-weight:bold; padding:5px; {{{abovestyle|}}}"><center>{{{above}}}</center></header>}}<!--
 
-->{{#if:{{{above|}}}|<header style="text-align:center; font-size:1.25em; font-weight:bold; padding:5px; {{{abovestyle|}}}"><center>{{{above}}}</center></header>}}<!--
  +
--><image source="image" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}">{{#if:{{{caption|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption}}}</span></image>
 
--></infobox><!--
 
--></infobox><!--
   

Revision as of 20:50, August 28, 2015

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

Usage
width= outer box width. Default is '20.5' as below.
tocright= [1,0] 1 if toc is pushed right. Default is 1.
class=, bodyclass= Class for table. Default is 'darktable'.
style=, bodystyle= Style for table. Default is 'text-align:left; font-size:.88em; line-height:1.4em; float:right;'.
titlestyle= Style for title caption. Default is 'font-size:120%; font-weight:bold;'.

See Template:Infobox/doc for instructions and examples.


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