Main Page

Difference between revisions of "Template:UnitStatsList"

From Arks-Visiphone
Jump to navigation Jump to search
(Undo revision 38509 by SynthSy (talk))
Line 1: Line 1:
<htmlet nocache="yes">unitheader</htmlet><nowiki>Click to show</nowiki><htmlet nocache="yes">unitlist-a</htmlet><table class="table table-borderless" style="">{{{1}}}</table><htmlet nocache="yes">unitlist-b</htmlet>
+
<table class="table table-borderless" style="">{{{1}}}</table>
 
<noinclude>
 
<noinclude>
 
Uses Twitter's Bootstrap 4 Framework to display everything in a collapsable menu.
 
Uses Twitter's Bootstrap 4 Framework to display everything in a collapsable menu.
Line 6: Line 6:
 
<pre>
 
<pre>
 
Example:
 
Example:
{{UnitStatsList| Stuff you wish to hide }}
+
{{UnitStatsList| stuff to display in a table }}
 
</pre>
 
</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]].
 
Its primary function is to use it in conjunction with [[Template:UnitStatsList/Content|UnitStatsList/Content]].
 
</noinclude>
 
</noinclude>

Revision as of 10:07, 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 to display in a table }}

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