Template:Infobox: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
Line 20: Line 20:
<noinclude>
<noinclude>
==Usage==
==Usage==
This is a copy of [http://en.wikipedia.org/wiki/Template:Infobox Template:Infobox] from Wikipedia. As such it is not intended for direct use, but meant as a master from which other infobox templates may be constructed.
This is a copy of [http://en.wikipedia.org/wiki/Template:Infobox Template:Infobox] from Wikipedia. It is not intended for direct use, but meant as a master from which other infobox templates may be constructed.


<pre>{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 95%;"
<pre>{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 95%;"

Revision as of 07:30, 26 March 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

This is a copy of Template:Infobox from Wikipedia. It is not intended for direct use, but meant as a master from which other infobox templates may be constructed.

{| class="infobox  bordered" style="width: 25em; text-align: left; font-size: 95%;"
|-
| colspan="2" style="font-size: large; text-align:center;" | '''{{{name}}}'''
|-
| 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|}}}
|}