Main Page

Difference between revisions of "Template:UnitStatsList"

From Arks-Visiphone
Jump to navigation Jump to search
Line 1: Line 1:
<htmlet nocache="yes">unitheader</htmlet><nowiki>Click for Stats</nowiki><htmlet nocache="yes">unitlist-a</htmlet><span style="white-space:nowrap;">{{{1}}}</span><htmlet nocache="yes">unitlist-b</htmlet>
+
<htmlet nocache="yes">unitheader</htmlet><nowiki>Click to show</nowiki><htmlet nocache="yes">unitlist-a</htmlet><span style="white-space:nowrap;">{{{1}}}</span><htmlet nocache="yes">unitlist-b</htmlet>
 +
<noinclude>
 +
Uses Twitter's Bootstrap 4 Framework to display everything in a collapsable menu.
 +
 
 +
To insert it into a template or page, use the following code:
 +
<pre>
 +
Example:
 +
{{UnitStatsList| Stuff you wish to hide }}
 +
</pre>
 +
 
 +
This will create a small dropdown button such as the one displayed in this template:
 +
 
 +
Its primary function is to use it in conjunction with [[Template:UnitStatsList/Content|UnitStatsList/Content]].
 +
</noinclude>

Revision as of 06:16, 5 April 2020

{{{1}}}

Uses Twitter's Bootstrap 4 Framework to display everything in a collapsable menu.

To insert it into a template or page, use the following code:

Example:
{{UnitStatsList| Stuff you wish to hide }}

This will create a small dropdown button such as the one displayed in this template:

Its primary function is to use it in conjunction with UnitStatsList/Content.