Template:Infobox

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
(Undo revision 50589 by Gaius Decius Laterensis (talk))
Line 688: Line 688:
 
{{!}}colspan="2" class="{{{class67|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data67|}}} }} }}<!--
 
{{!}}colspan="2" class="{{{class67|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data67|}}} }} }}<!--
 
  Row 68
 
  Row 68
-->{{#if:{{{header68|}}}|<nowiki/>
+
-->{{#nowiki/>
 +
{{!}}-
 +
{{!}}colspan="2" class="{{{class52|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data52|}}} }} }}nowiki/>
 +
{{!}}-
 +
{{!}}colspan="2" class="{{{class55|}}}" style="text-align:center; {{{datastyle|}}}"{{!}}{{{data55|}}} }} }}if:{{{header68|}}}|<nowiki/>
 
{{!}}-
 
{{!}}-
 
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header68|}}} }}<!--
 
! colspan="2" style="text-align:center; {{{headerstyle|}}}"{{!}}{{{header68|}}} }}<!--
Line 863: Line 867:
 
}}
 
}}
 
</noinclude>
 
</noinclude>
!--
 
 
-->{{#if:{{{name|}}}|
 
 
!--
 
!--
  
 
-->{{#if:{{{name|}}}|
 
-->{{#if:{{{name|}}}|

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


!--

-->{{#if:|

Personal tools