Template:Bconomy navbox: Difference between revisions
Appearance
Match the Main Page navigation style sitewide and keep update navigation expanded |
Add a header show/hide toggle to the shared navbox |
||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Bconomy navbox/styles.css" /><div class="bc-navbox bc-navbox-panel" role="navigation" aria-label="Bconomy topics"> | <includeonly><templatestyles src="Bconomy navbox/styles.css" /><div class="bc-navbox bc-navbox-panel mw-collapsible" data-expandtext="Show" data-collapsetext="Hide" role="navigation" aria-label="Bconomy topics"> | ||
<div class="bc-navbox-title">[[Main Page|Bconomy]]</div> | <div class="bc-navbox-title">[[Main Page|Bconomy]]</div> | ||
<div class="mw-collapsible-content"> | |||
{| class="bc-navbox-table" | {| class="bc-navbox-table" | ||
|- | |- | ||
| Line 33: | Line 34: | ||
| [[Supporter Perks]] · [[Data API]] | | [[Supporter Perks]] · [[Data API]] | ||
|} | |} | ||
</div> | |||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
Shared navigation box on the Main Page and at the bottom of reference articles. Its panel styling matches the Main Page. Add new articles to the right row here; every article picks up the change. | Shared navigation box on the Main Page and at the bottom of reference articles. Its panel styling matches the Main Page. The header toggle shows or hides the topic links. Add new articles to the right row here; every article picks up the change. | ||
Usage: <code><nowiki>{{Bconomy navbox}}</nowiki></code>, placed after <code><nowiki>{{Guide link}}</nowiki></code> and before the categories. | Usage: <code><nowiki>{{Bconomy navbox}}</nowiki></code>, placed after <code><nowiki>{{Guide link}}</nowiki></code> and before the categories. | ||
Latest revision as of 00:23, 4 November 2026
Shared navigation box on the Main Page and at the bottom of reference articles. Its panel styling matches the Main Page. The header toggle shows or hides the topic links. Add new articles to the right row here; every article picks up the change.
Usage: {{Bconomy navbox}}, placed after {{Guide link}} and before the categories.