Template:Infobox section: Difference between revisions

From NSPedia
Created page with "<includeonly> <tr> <th colspan="2" style=" text-align:center; background:#dfe1f2; font-weight:bold; font-size:110%; padding:3px; "> {{{1|}}} </th> </tr> </includeonly> <noinclude> == Infobox section == Creates a section heading inside an infobox. === Usage === <pre> {{Infobox section|Personal details}} </pre> or: <pre> {{Infobox section|President of the United States}} </pre> </noinclude>"
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#if:{{{1|}}}|
<tr>
<tr>
<th colspan="2" style="
<th colspan="2" style="
Line 8: Line 8:
padding:3px;
padding:3px;
">
">
{{{1|}}}
{{{1}}}
</th>
</th>
</tr>
</tr>
</includeonly>
}}</includeonly><noinclude>
 
<noinclude>
 
== Infobox section ==
== Infobox section ==


Creates a section heading inside an infobox.
Creates a section heading inside an infobox.
Empty sections are automatically hidden.


=== Usage ===
=== Usage ===
Line 25: Line 24:
</pre>
</pre>


or:
Another example:


<pre>
<pre>
{{Infobox section|President of the United States}}
{{Infobox section|Military service}}
</pre>
</pre>


[[Category:Infobox templates]]
</noinclude>
</noinclude>

Latest revision as of 02:10, 6 September 2026

Infobox section

Creates a section heading inside an infobox.

Empty sections are automatically hidden.

Usage

{{Infobox section|Personal details}}

Another example:

{{Infobox section|Military service}}