Template:Infobox

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
m (Undo revision 50593 by Gaius Decius Laterensis (talk))
m
 
(5 intermediate revisions by one user not shown)
Line 691: Line 691:
 
{{!}}-
 
{{!}}-
 
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header68|}}} }}<!--
 
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header68|}}} }}<!--
-->{{#if:{{{!--
+
-->{{#if:{{{label68|}}}|{{#if:{{{data68|}}}|<nowiki/>
Row 18
+
-->{{#if:{{{header18|}}}|!--
+
Row 24
+
-->{{#if:{{{header24|}}}|!--
+
Row 27
+
-->{{#if:{{{header27|}}}|label68|}}}|{{#if:{{{data68|}}}|<nowiki/>
+
 
{{!}}-  
 
{{!}}-  
 
! style="{{{labelstyle|}}}"{{!}}{{{label68|}}}
 
! style="{{{labelstyle|}}}"{{!}}{{{label68|}}}
Line 856: Line 850:
  
 
== Example ==
 
== Example ==
 
+
<br>
 
{{Infobox
 
{{Infobox
 
|name = name of the infobox - not the title!
 
|name = name of the infobox - not the title!

Latest revision as of 06:54, 15 August 2013

Description

Produces a right-floating infobox. Borrowed from Wikipedia.

Usage

{{Infobox
|name = Name of the infobox - use only for a new infobox template!
|title = Title of the infobox
|image = An image link in full image link syntax
|caption = The image's caption
|header1 = A header.
|label1 = A label that will not display - number 1 is used for a header
|data1 = The data for label 1 - will not display since label 1 won't either
|label2 = A label that will display
|data2 = The data
|label3 = A label that will not display - doesn't have data
|data3 =
}}

Example


Title of the infobox
A header.
A label that will display The data for label 1
A label that will display The data for label 2
This box: view  talk  edit  


Personal tools