This wiki is archived and useful information is being migrated to the main bzflag.org website

Difference between revisions of "Template:Infobox"

From BZFlagWiki
Jump to: navigation, search
(See also: + ia:Patrono:Infobox inerwiki link, per talkpage request.)
(change instructions to eliminate redundancy)
Line 19: Line 19:
 
<br style="clear:both" />
 
<br style="clear:both" />
 
== Usage ==
 
== Usage ==
Copy this code and paste it into a new blank page:
+
Copy the source of this template (available from the '''view source''' link) and  
<pre>{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 95%;"
+
paste it into a new blank page.  Only the part up to, but not including, the tag
|+ style="font-size: larger;" | '''{{{name}}}'''
+
<code>&lt;noinclude></code> is necessary.
|-
+
| colspan="2" style="text-align:center;" | [[Image:{{{image}}}|300px| ]]<br>{{{caption}}}
+
|-
+
! Data 1:
+
| {{{data1}}}
+
|-
+
! Data 2:
+
| {{{data2|''this text displayed if data2 not defined''}}}
+
|-
+
! Data 3 (data hidden if data3 empty or not defined):
+
| {{{data3|}}}
+
|-
+
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
+
|}</pre>
+
  
 
==See also==
 
==See also==

Revision as of 14:12, 1 April 2007

{{{name}}}
[[Image:{{{image}}}|300px| ]]
{{{caption}}}
Data 1: {{{data1}}}
Data 2: this text displayed if data2 not defined
Data 3 (data hidden if data3 empty or not defined):


Usage

Copy the source of this template (available from the view source link) and paste it into a new blank page. Only the part up to, but not including, the tag <noinclude> is necessary.

See also

fa:الگو:دادان fr:Modèle:Infobox zh:Template:Infobox ia:Patrono:Infobox