Template:Infobox: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 95%;"
{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 95%;"
|-
|+ style="font-size: larger;" | '''{{{name}}}'''
| colspan="2" style="font-size: large; text-align:center;" | '''{{{name}}}'''
|-
|-
| colspan="2" style="text-align:center;" | [[Image:{{{image}}}|300px| ]]<br>{{{caption}}}
| colspan="2" style="text-align:center;" | [[Image:{{{image}}}|300px| ]]<br>{{{caption}}}
Line 15: Line 16:
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
|}
|}

<noinclude>[[Category:Infoboxes]]</noinclude>
<br style="clear:both" />
<noinclude>
==Usage==
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%;"
|-
| 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|}}}
|}</pre>

[[Category:Infobox Templates]]</noinclude>

Latest revision as of 23:13, 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|}}}
|}