Template:Series: Difference between revisions
From NSPedia
Created page with "<includeonly> <table style=" float:right; clear:right; width:18em; margin:0 0 1em 1em; border:1px solid #a2a9b1; border-spacing:0; background:#f8f9fa; color:#202122; font-size:88%; line-height:1.5; text-align:center; "> <!-- TOP HEADING --> <tr> <td style=" padding:6px 8px 2px 8px; font-size:90%; "> This article is part of a series about </td> </tr> <!-- SERIES TITLE --> <tr> <th style=" padding:2px 8px 7px 8px; font-size:125%; font-weight:bold; "> {{{title|{{{1|Series..." |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<table style=" | <table class="vertical-navbox" style=" | ||
float:right; | float:right; | ||
clear:right; | clear:right; | ||
| Line 10: | Line 10: | ||
color:#202122; | color:#202122; | ||
font-size:88%; | font-size:88%; | ||
line-height:1. | line-height:1.4; | ||
text-align:center; | text-align:center; | ||
"> | "> | ||
<!-- | <!-- TITLE BAR --> | ||
<tr> | <tr> | ||
< | <th style=" | ||
padding: | background:{{{color|#dfe1f2}}}; | ||
font- | padding:5px 7px; | ||
font-weight:normal; | |||
"> | "> | ||
<div style="font-size:90%;"> | |||
This article is part of a series about | This article is part of a series about | ||
</ | </div> | ||
< | <div style=" | ||
font-size:125%; | font-size:125%; | ||
font-weight:bold; | font-weight:bold; | ||
margin-top:1px; | |||
"> | "> | ||
{{{title|{{{1|Series}}}}}} | {{{title|{{{1|Series}}}}}} | ||
</div> | |||
</th> | </th> | ||
</tr> | </tr> | ||
| Line 39: | Line 39: | ||
<tr> | <tr> | ||
<td style=" | <td style=" | ||
padding: | padding:7px 6px 5px 6px; | ||
"> | "> | ||
[[File:{{{image}}}|{{{image_size|100px}}}]] | [[File:{{{image}}}|{{{image_size|100px}}}]] | ||
</td> | </td> | ||
</tr> | </tr> | ||
}} | }} | ||
<!-- | <!-- OPTIONAL TOP TEXT --> | ||
{{#if:{{{top|}}}| | |||
<tr> | <tr> | ||
<td style=" | <td style=" | ||
padding: | padding:3px 6px 6px 6px; | ||
font-weight:bold; | |||
"> | "> | ||
{{{top}}} | |||
</td> | |||
</tr> | |||
}} | |||
<!-- CONTENT --> | |||
<tr> | |||
<td style="padding:0;"> | |||
<table style=" | <table style=" | ||
width:100%; | width:100%; | ||
border-spacing:0; | border-spacing:0; | ||
font-size:100%; | font-size:100%; | ||
text-align:center; | |||
"> | "> | ||
{{{content|}}} | {{{content|}}} | ||
| Line 67: | Line 77: | ||
<td style=" | <td style=" | ||
border-top:1px solid #a2a9b1; | border-top:1px solid #a2a9b1; | ||
padding: | padding:4px 6px; | ||
font-size:90%; | font-size:90%; | ||
"> | "> | ||
| Line 81: | Line 91: | ||
== Series == | == Series == | ||
Creates a | Creates a Wikipedia-style article-series sidebar. | ||
=== | === Example === | ||
<pre> | <pre> | ||
{{Series | {{Series | ||
| title = | | title = Exampleland | ||
| image = | | color = #dfe1f2 | ||
| image = Exampleland.svg | |||
| image_size = 90px | |||
| content = | | content = | ||
{{Series section|History}} | {{Series section|History}} | ||
{{Series row|[[Early history]]}} | {{Series row|[[Early history]]}} | ||
{{Series row|[[Modern history]]}} | {{Series row|[[Modern history]]}} | ||
{{Series section|Government}} | {{Series section|Government}} | ||
{{Series row|[[Government of Exampleland]]}} | |||
{{Series row|[[Politics of Exampleland]]}} | |||
{{Series row|[[Elections in Exampleland]]}} | |||
| footer = [[Template:Exampleland series|v]] · [[Template talk:Exampleland series|t]] · [{{fullurl:Template:Exampleland series|action=edit}} e] | |||
{{ | |||
}} | }} | ||
</pre> | </pre> | ||
Revision as of 15:48, 6 September 2026
Series
Creates a Wikipedia-style article-series sidebar.
Example
{{Series
| title = Exampleland
| color = #dfe1f2
| image = Exampleland.svg
| image_size = 90px
| content =
{{Series section|History}}
{{Series row|[[Early history]]}}
{{Series row|[[Modern history]]}}
{{Series section|Government}}
{{Series row|[[Government of Exampleland]]}}
{{Series row|[[Politics of Exampleland]]}}
{{Series row|[[Elections in Exampleland]]}}
| footer = [[Template:Exampleland series|v]] · [[Template talk:Exampleland series|t]] · [{{fullurl:Template:Exampleland series|action=edit}} e]
}}
