Test: Difference between revisions

From NSPedia
No edit summary
No edit summary
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 -->
<tr>
<th colspan="2" style="
text-align:center;
font-size:125%;
font-weight:bold;
padding:6px;
">
{{{name|{{PAGENAME}}}}}
</th>
</tr>
<!-- SUBTITLE -->
{{#if:{{{subtitle|}}}|
<tr>
<td colspan="2" style="
text-align:center;
font-weight:bold;
padding:2px 6px;
">
{{{subtitle}}}
</td>
</tr>
}}
<!-- IMAGE -->
{{#if:{{{image|}}}|
<tr>
<td colspan="2" style="
text-align:center;
padding:8px;
">
[[File:{{{image}}}|{{{image_size|250px}}}]]
{{#if:{{{caption|}}}|
<br><small>{{{caption}}}</small>
}}
</td>
</tr>
}}
<!-- ALL CUSTOM SECTIONS AND ROWS -->
{{{content|}}}
</table>
</includeonly>
<noinclude>
== Infobox person ==
A flexible Wikipedia-style infobox.
Unlike numbered label/data templates, this version allows an unlimited
number of rows and sections.
=== Example ===
<pre>
{{Infobox person
{{Infobox person
| name = John Smith
| name = John Smith
| image = John Smith.jpg
| image = John Smith.jpg
| caption = Smith in 1940
| caption = John Smith


| content =
| content =
Line 107: Line 35:
}}
}}


{{Infobox row
| label = Political party
| data = [[Example Party]]
}}
}}
</pre>


</noinclude>
{{Infobox row
| label = Spouse
| data = [[Jane Smith]]
}}
 
{{Infobox row
| label = Children
| data = John Smith Jr.<br>Sarah Smith<br>Robert Smith
}}
 
}}

Revision as of 03:03, 6 September 2026

John Smith

File:John Smith.jpg
John Smith

President of the United States

In office

2 August 1934 – 30 April 1945

Vice President

Joe Example

Preceded by

Cool Guy

Succeeded by

Less Than Cool Guy

Personal details

Born

1 January 1890

Political party

Example Party

Spouse

Jane Smith

Children

John Smith Jr.
Sarah Smith
Robert Smith