Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox: Difference between revisions

Template page
m 1 revision imported
No edit summary
Tag: Reverted
Line 1: Line 1:
{{Infobox
=<includeonly><templatestyles src="Template:Infobox/styles.css"/><div class="infobox">
| name          = Infobox
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
| child          = {{{child|}}}
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
| subbox        = {{{subbox|}}}
<table class="infobox-table">
| italic title  = {{{italic title|no}}}
{{#if:{{{born|}}}|<tr>
| templatestyles =
   <th>Born</th>
| child templatestyles =  
   <td>{{{born}}}</td>
| grandchild templatestyles =
</tr>}}
| bodystyle      =
{{#if:{{{nationality|}}}|<tr>
 
   <th>Nationality</th>
| titlestyle    =
   <td>{{{nationality}}}</td>
| abovestyle    =
</tr>}}
| subheaderstyle =
{{#if:{{{occupation|}}}|<tr>
| title          =
   <th>Occupation</th>
| above          =
   <td>{{{occupation}}}</td>
| subheader      =
</tr>}}
 
{{#if:{{{known_for|}}}|<tr>
|   imagestyle  =
   <th>Known for</th>
| captionstyle   =
   <td>{{{known_for}}}</td>
|  image        =
</tr>}}
| caption        =
{{#if:{{{website|}}}|<tr>
|  image2      =
   <th>Website</th>
| caption2      =
   <td>{{{website}}}</td>
 
</tr>}}
| headerstyle    =
</table>
| labelstyle    =
</div></includeonly><noinclude>
|   datastyle    =
== Usage ==
| header1  =
<pre>
|  label1  =
{{Infobox person
|   data1  =
| title      =  
| header2  =
| image      =  
| label2  =
| born      =  
|  data2  =
| nationality =  
| header3  =
| occupation =  
| label3  =
| known_for =  
|   data3  =
| website    =  
| header4  =
|  label4  =
|   data4  =
| header5  =
| label5  =
|  data5  =
| header6  =
| label6  =
|   data6  =
| header7  =
|  label7  =
|   data7  =
| header8  =
| label8  =
|  data8  =
| header9  =
|  label9  =
|   data9  =
| header10 =
|  label10 =
|   data10 =
| header11 =
|  label11 =
|  data11 =
| header12 =  
|  label12 =  
|  data12 =  
| header13 =  
|  label13 =
|  data13 =
| header14 =  
| label14 =  
|   data14 =  
| header15 =  
| label15 =
|  data15 =
| header16 =  
label16 =  
|   data16 =
| header17 =
|  label17 =
|  data17 =
| header18 =
|  label18 =
|  data18 =
| header19 =
|  label19 =
|  data19 =
| header20 =
|  label20 =
|  data20 =
 
| belowstyle    =
| below          =  
}}
}}
</pre>
[[Category:Infobox templates]]
</noinclude>

Revision as of 08:34, 24 April 2026

=

Usage

{{Infobox person
| title      = 
| image      = 
| born       = 
| nationality = 
| occupation = 
| known_for  = 
| website    = 
}}
Contents