Jump to content

Template:Infobox: Difference between revisions

258 bytes removed ,  18 years ago
update
m>Netoholic
No edit summary
m>Netoholic
(update)
Line 1: Line 1:
<includeonly>{{checktemplate|name}}
{| class="infobox bordered" style="width: 25em; text-align: left;"
{{checktemplate|name}}{{checktemplate|image}}{{checktemplate|caption}}{{checktemplate|data 1}}{{checktemplate|data 2}}{{checktemplate|data 3}}</includeonly>
|+ style="font-size: larger | '''{{{name}}}'''
{| 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;" />
 
== Usage ==
Copy this code
 
<pre>
<pre>
Copy this code:
{| class="infobox bordered" style="width: 25em; text-align: left;"
 
|+ style="font-size: larger | '''{{{name}}}'''
{| 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}}}
|}
|}
</pre>
</pre>
<noinclude>
 
[[Category:infobox templates|{{PAGENAME}}]]
[[Category:infobox templates|{{PAGENAME}}]]
</noinclude>
</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.