Template:Series: Difference between revisions

From NSPedia
No edit summary
 
Line 86: Line 86:


</table>
</table>
</includeonly>
<noinclude>
<includeonly>
<div class="article-series-box" style="
float:right;
clear:right;
width:24em;
margin:0 0 1em 1em;
border:2px solid {{{border_color|#d99b19}}};
background:#f8f9fa;
color:#202122;
font-size:88%;
line-height:1.35;
text-align:center;
box-sizing:border-box;
">
<!-- TOP INTRO -->
<div style="
background:#ffffff;
font-weight:bold;
font-size:105%;
padding:5px 6px 3px 6px;
">
This article is part of a series on the
</div>
<!-- MAIN TITLE -->
<div style="
background:{{{title_color|#062b6f}}};
color:white;
font-weight:bold;
font-size:145%;
line-height:1.25;
padding:6px 8px;
">
{{{title|{{PAGENAME}}}}}
</div>
<!-- IMAGE -->
{{#if:{{{image|}}}|
<div style="
background:#f8f9fa;
padding:6px 5px;
">
[[File:{{{image}}}|{{{image_size|170px}}}|link=]]
</div>
}}
<!-- COLLAPSIBLE GROUPS -->
<div style="padding:0 8px 4px 8px;">
{{{content|}}}
</div>
<!-- BOTTOM LINKS -->
{{#if:{{{links|}}}|
<div style="
border-top:1px solid #a2a9b1;
padding:5px 7px;
font-size:105%;
line-height:1.4;
">
{{{links}}}
</div>
}}
<!-- V T E -->
<div style="
border-top:1px solid #a2a9b1;
padding:3px 7px;
text-align:right;
font-size:85%;
">
{{#if:{{{template|}}}|
[[Template:{{{template}}}|V]] ·
[[Template talk:{{{template}}}|T]] ·
[{{fullurl:Template:{{{template}}}|action=edit}} E]
|V · T · E
}}
</div>
</div>
</includeonly>
</includeonly>


Line 97: Line 180:
<pre>
<pre>
{{Series
{{Series
| title = Exampleland
| title = History of the<br>United States
| color = #dfe1f2
| image = Great Seal of the United States (obverse).svg
| image = Exampleland.svg
| image_size = 165px
| image_size = 90px
| title_color = #062b6f
| border_color = #d99b19
| template = History of the United States


| content =
| content =


{{Series section|History}}
{{Series group
{{Series row|[[Early history]]}}
| title = Timeline and periods
{{Series row|[[Modern history]]}}
| content =
[[Prehistory of the United States|Prehistory]]<br>
[[Colonial history of the United States|Colonial era]]<br>
[[American Revolution]]<br>
[[History of the United States (1789–1849)|1789–1849]]
}}


{{Series section|Government}}
{{Series group
{{Series row|[[Government of Exampleland]]}}
| title = Topics
{{Series row|[[Politics of Exampleland]]}}
| content =
{{Series row|[[Elections in Exampleland]]}}
[[Economic history of the United States|Economic history]]<br>
[[Military history of the United States|Military history]]<br>
[[Political history of the United States|Political history]]
}}


| footer = [[Template:Exampleland series|v]] · [[Template talk:Exampleland series|t]] · [{{fullurl:Template:Exampleland series|action=edit}} e]
| links =
[[Outline of the United States|Outline]] ·
[[List of years in the United States|List of years]] ·
[[Historiography of the United States|Historiography]]<br>
[[Category:History of the United States|Category]] ·
[[Portal:United States|Portal]]
}}
}}
</pre>
</pre>

Latest revision as of 15:51, 6 September 2026




Series

Creates a Wikipedia-style article-series sidebar.

Example

{{Series
| title = History of the<br>United States
| image = Great Seal of the United States (obverse).svg
| image_size = 165px
| title_color = #062b6f
| border_color = #d99b19
| template = History of the United States

| content =

{{Series group
| title = Timeline and periods
| content =
[[Prehistory of the United States|Prehistory]]<br>
[[Colonial history of the United States|Colonial era]]<br>
[[American Revolution]]<br>
[[History of the United States (1789–1849)|1789–1849]]
}}

{{Series group
| title = Topics
| content =
[[Economic history of the United States|Economic history]]<br>
[[Military history of the United States|Military history]]<br>
[[Political history of the United States|Political history]]
}}

| links =
[[Outline of the United States|Outline]] ·
[[List of years in the United States|List of years]] ·
[[Historiography of the United States|Historiography]]<br>
[[Category:History of the United States|Category]] ·
[[Portal:United States|Portal]]
}}