Template:Infobox person: Difference between revisions

From NSPedia
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><table style="
float:right;
clear:right;
width:22em;
margin:0 0 1em 1em;
border:1px solid #a2a9b1;
border-spacing:3px;
background:#f8f9fa;
color:#202122;
font-size:88%;
line-height:1.5;
">
<!-- NAME -->
<!-- NAME -->
<tr>
<tr>
Line 11: Line 24:
</tr>
</tr>


<!-- SUBTITLE - ONLY APPEARS IF USED -->
<!-- OPTIONAL SUBTITLE -->
{{#if:{{{subtitle|}}}|
{{#if:{{{subtitle|}}}|
<tr>
<tr>
Line 24: Line 37:
}}
}}


<!-- IMAGE - ONLY APPEARS IF USED -->
<!-- OPTIONAL IMAGE -->
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<tr>
<tr>
Line 37: Line 50:
}}
}}


<!-- CUSTOM CONTENT -->
<!-- SECTIONS AND ROWS -->
{{{content|}}}
{{{content|}}}
</table></includeonly><noinclude>
== Infobox person ==
A flexible infobox for people.
=== Usage ===
<pre>
{{Infobox person
| name =
| subtitle =
| image =
| image_size = 250px
| caption =
| content =
{{Infobox section|Section title}}
{{Infobox row
| label = Label
| data = Information
}}
}}
</pre>
Add as many Infobox sections and Infobox rows as needed.
[[Category:Infobox templates]]
</noinclude>

Latest revision as of 02:10, 6 September 2026

Infobox person

A flexible infobox for people.

Usage

{{Infobox person
| name =
| subtitle =
| image =
| image_size = 250px
| caption =

| content =

{{Infobox section|Section title}}

{{Infobox row
| label = Label
| data = Information
}}

}}

Add as many Infobox sections and Infobox rows as needed.