Template:Infobox: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
en>Netoholic
No edit summary
en>Netoholic
(update)
Line 1: Line 1:
{| class="infobox bordered" style="width: 25em; text-align: left;"
<includeonly>{{checktemplate|name}}
|+ style="font-size: larger | '''{{{name}}}'''
{{checktemplate|name}}{{checktemplate|image}}{{checktemplate|caption}}{{checktemplate|data 1}}{{checktemplate|data 2}}{{checktemplate|data 3}}</includeonly>
{| class="infobox" style="width: 25em; text-align: left;"
|+ <big>'''{{{name}}}'''</big>
|-
|-
| colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
| colspan="2" style="text-align:center;" | [[Template:{{{image}}}|300px| ]]<br>{{{caption}}}
|-
|- style="vertical-align:top;"
! Data 1:
! Data 1:
| {{{data 1}}}
| {{{data1}}}
|-
|- style="vertical-align:top;"
! Data 2:
! Data 2 (data hidden if data2 empty):
| {{{data 2}}}
| {{{data2|}}}
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
|- class="hiddenStructure{{{data3|}}}"
! Data 3 (hidden if empty):
! Data 3 (row hidden if data3 empty):
| {{{data 3}}}
| {{{data3}}}
|-
|- style="vertical-align:top;"
| colspan="2" style="font-size:smaller;" | {{footnote}}
| colspan="2" style="font-size:smaller;" | {{{footnotes}}}
|}<noinclude>
|}
<br style="clear:both;" />
<pre>
Copy this code:


== Usage ==
{| class="infobox" style="width: 25em; text-align: left;"
Copy this code
|+ <big>'''{{{name}}}'''</big>

<pre>
{| class="infobox bordered" style="width: 25em; text-align: left;"
|+ style="font-size: larger | '''{{{name}}}'''
|-
|-
| colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
| colspan="2" style="text-align:center;" | [[Template:{{{image}}}|300px| ]]<br>{{{caption}}}
|-
|- style="vertical-align:top;"
! Data 1:
! Data 1:
| {{{data 1}}}
| {{{data1}}}
|-
|- style="vertical-align:top;"
! Data 2:
! Data 2 (data hidden if data2 empty):
| {{{data 2}}}
| {{{data2|}}}
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
|- class="hiddenStructure{{{data3|}}}"
! Data 3 (hidden if empty):
! Data 3 (row hidden if data3 empty):
| {{{data 3}}}
| {{{data3}}}
|-
|- style="vertical-align:top;"
| colspan="2" style="font-size:smaller;" | {{footnote}}
| colspan="2" style="font-size:smaller;" | {{{footnotes}}}
|}
|}
</pre>
</pre>

<noinclude>
[[Category:infobox templates|{{PAGENAME}}]]
[[Category:infobox templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 01:13, 7 January 2006

{{{name}}}
[[Template:{{{image}}}|300px| ]]
{{{caption}}}
Data 1: {{{data1}}}
Data 2 (data hidden if data2 empty):
Data 3 (row hidden if data3 empty): {{{data3}}}
{{{footnotes}}}

Usage

Copy this code

{| class="infobox bordered" style="width: 25em; text-align: left;"
|+ style="font-size: larger | '''{{{name}}}'''
|-
| colspan="2" style="text-align:center;" | [[Template:{{{image}}}|300px| ]]<br>{{{caption}}}
|- 
! Data 1:
| {{{data1}}}
|- 
! Data 2 (data hidden if data2 empty):
| {{{data2|}}}
|- class="hiddenStructure{{{data3|}}}"
! Data 3 (row hidden if data3 empty):
| {{{data3}}}
|- 
| colspan="2" style="font-size:smaller;" | {{{footnotes}}}
|}