Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Infobox"

(add infobox template category)
Line 1: Line 1:
 
<includeonly>{{checktemplate|name}}
 
<includeonly>{{checktemplate|name}}
 
{{checktemplate|name}}{{checktemplate|image}}{{checktemplate|caption}}{{checktemplate|data 1}}{{checktemplate|data 2}}{{checktemplate|data 3}}</includeonly>
 
{{checktemplate|name}}{{checktemplate|image}}{{checktemplate|caption}}{{checktemplate|data 1}}{{checktemplate|data 2}}{{checktemplate|data 3}}</includeonly>
{| class="infobox" style="width:44em;"
+
{| class="infobox" style="width: 25em; text-align: left;"
! colspan="2" style="font-size:larger;" | {{{name}}}
+
|+ <big>'''{{{name}}}'''</big>
 
|-
 
|-
 
| colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
 
| colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| '''Data 1:'''
+
! Data 1:
 
| {{{data 1}}}
 
| {{{data 1}}}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| '''Data 2:'''
+
! Data 2:
 
| {{{data 2}}}
 
| {{{data 2}}}
 
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
 
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
| '''Data 3 (hidden if empty):'''
+
! Data 3 (hidden if empty):
 
| {{{data 3}}}
 
| {{{data 3}}}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
Line 19: Line 19:
 
<br style="clear:both;" />
 
<br style="clear:both;" />
 
<pre>
 
<pre>
{| class="infobox" style="width:22em;"
+
Copy this code:
! colspan="2" 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;" | {{{image}}}<br />{{{caption}}}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| '''Data 1:'''
+
! Data 1:
 
| {{{data 1}}}
 
| {{{data 1}}}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
| '''Data 2:'''
+
! Data 2:
 
| {{{data 2}}}
 
| {{{data 2}}}
 
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
 
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
| '''Data 3 (hidden if empty):'''
+
! Data 3 (hidden if empty):
 
| {{{data 3}}}
 
| {{{data 3}}}
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"

Revision as of 16:15, 10 December 2005

{{{name}}}
{{{image}}}
{{{caption}}}
Data 1: {{{data 1}}}
Data 2: {{{data 2}}}
Data 3 (hidden if empty): {{{data 3}}}
Template:Footnote


Copy this code:

{| class="infobox" style="width: 25em; text-align: left;"
|+ <big>'''{{{name}}}'''</big>
|-
| colspan="2" style="text-align:center;" | {{{image}}}<br />{{{caption}}}
|- style="vertical-align:top;"
! Data 1:
| {{{data 1}}}
|- style="vertical-align:top;"
! Data 2:
| {{{data 2}}}
|- class="hiddenStructure{{{data 3}}}" style="vertical-align:top;"
! Data 3 (hidden if empty):
| {{{data 3}}}
|- style="vertical-align:top;"
| colspan="2" style="font-size:smaller;" | {{footnote}}
|}