Difference between revisions of "Template:CollapseBox"
From eRepublik Official Wiki
m (example correction) |
(styling) |
||
Line 14: | Line 14: | ||
==Example== | ==Example== | ||
{| class="infobox" style="text-align: center; width:250px; font-size:90%;" | {| class="infobox" style="text-align: center; width:250px; font-size:90%;" | ||
− | + | |'''[[Main Page|eRepublik Wiki]]''' | |
|- | |- | ||
− | + | |[[File:ERepublik wiki.png|200px]]<br /> | |
<small>This article is part of the series:</small><br /> | <small>This article is part of the series:</small><br /> | ||
'''[[:Category:Templates|eRepublik Templates]]'''<small> | '''[[:Category:Templates|eRepublik Templates]]'''<small> | ||
Line 28: | Line 28: | ||
*{{tl|Organization}} | *{{tl|Organization}} | ||
*{{tl|Newspaper}} | *{{tl|Newspaper}} | ||
− | *{{tl|Party}}}} | + | *{{tl|Party}} }} |
{{CollapseBox|National Templates| | {{CollapseBox|National Templates| | ||
*{{tl|Country}} | *{{tl|Country}} | ||
− | *{{tl|Region}}}} | + | *{{tl|Region}} }} |
{{CollapseBox|International Templates| | {{CollapseBox|International Templates| | ||
*{{tl|War}} | *{{tl|War}} | ||
− | *{{tl|Alliances}}}} | + | *{{tl|Alliances}} }} |
|} | |} | ||
<pre>{| class="infobox" style="text-align: center; width:250px; font-size:90%;" | <pre>{| class="infobox" style="text-align: center; width:250px; font-size:90%;" | ||
− | + | |'''[[Main Page|eRepublik Wiki]]''' | |
|- | |- | ||
− | + | |[[File:ERepublik wiki.png|200px]]<br /> | |
<small>This article is part of the series:</small><br /> | <small>This article is part of the series:</small><br /> | ||
'''[[:Category:Templates|eRepublik Templates]]'''<small> | '''[[:Category:Templates|eRepublik Templates]]'''<small> | ||
Line 53: | Line 53: | ||
*{{tl|Organization}} | *{{tl|Organization}} | ||
*{{tl|Newspaper}} | *{{tl|Newspaper}} | ||
− | *{{tl|Party}}}} | + | *{{tl|Party}} }} |
{{CollapseBox|National Templates| | {{CollapseBox|National Templates| | ||
*{{tl|Country}} | *{{tl|Country}} | ||
− | *{{tl|Region}}}} | + | *{{tl|Region}} }} |
{{CollapseBox|International Templates| | {{CollapseBox|International Templates| | ||
*{{tl|War}} | *{{tl|War}} | ||
− | *{{tl|Alliances}}}} | + | *{{tl|Alliances}} }} |
− | + | |}</pre>[[Category:Collapsible Headers]]</noinclude> | |
− | |}</pre> | + | |
− | + | ||
− | [[Category:Collapsible Headers]]</noinclude> | + |
Latest revision as of 13:12, 27 November 2020
Usage
Based on {{Archive box collapsible}} with the intent of customizable collapsible navboxes, primarily for use in infoboxes.
{{CollapseBox|Header|Contents}}
Example
eRepublik Wiki | ||||||
This article is part of the series: | ||||||
| ||||||
|
{| class="infobox" style="text-align: center; width:250px; font-size:90%;" |'''[[Main Page|eRepublik Wiki]]''' |- |[[File:ERepublik wiki.png|200px]]<br /> <small>This article is part of the series:</small><br /> '''[[:Category:Templates|eRepublik Templates]]'''<small> |- | ---- |- | align=left | {{CollapseBox|Citizen Templates| *{{tl|Citizen}} *{{tl|Organization}} *{{tl|Newspaper}} *{{tl|Party}} }} {{CollapseBox|National Templates| *{{tl|Country}} *{{tl|Region}} }} {{CollapseBox|International Templates| *{{tl|War}} *{{tl|Alliances}} }} |}