Difference between revisions of "Template:UnitBodyList"

From Arks-Visiphone
Jump to navigation Jump to search
(Reworking Unit Pages)
Line 1: Line 1:
<noinclude>
+
==Template==
 
{{UnitStatsList/Header}}
 
{{UnitStatsList/Header}}
</noinclude>
+
<onlyinclude>
 
| class="no-resize unit-image-fixed" |[[File:{{#replace: {{#replace: {{{1}}}| |}}|'|}}|100px|link=]]
 
| class="no-resize unit-image-fixed" |[[File:{{#replace: {{#replace: {{{1}}}| |}}|'|}}|100px|link=]]
 
| class="unit-table-fixed" |{{{2}}}
 
| class="unit-table-fixed" |{{{2}}}
Line 13: Line 13:
 
|-
 
|-
 
<noinclude>
 
<noinclude>
|}
+
{{UnitStatsList/Footer}}
 
+
</onlyinclude>
===How to use===
 
<pre>
 
{{UnitBodyList
 
| Filename
 
| Name
 
| Rarity number
 
| Equip requirement
 
| UnitStatsList/Content template (base stats)
 
| UnitStatsList/Content template (+10 stats)
 
| UnitStatsList/Content template (resistances)
 
| UnitStatsList/Content template (additional stats)
 
| Drop info
 
}}
 
</pre>
 
This creates the following:
 
{{UnitStatsList/Header}}
 
 
 
{{UnitBodyList
 
| UIItemBoostAura.png
 
| Back/Boost Aura
 
| 10
 
| {{Icons|DEX}} 380
 
| {{UnitStatsList/Content|MDEF=120|RDEF=120|TDEF=120}}
 
| {{UnitStatsList/Content|MDEF=168|RDEF=168|TDEF=168}}
 
| {{UnitStatsList/Content|Fire=4%|Ice=4%|Ltn=4%|Wind=4%|Light=4%|Dark=4%|MRES=4%|RRES=4%|TRES=4%}}
 
| {{UnitStatsList/Content|HP=40|PP=4}}
 
| Completing Falspawn Den on SH
 
}}
 
 
 
|}
 
 
 
Which looks like this:
 
<pre>
 
{{UnitStatsList/Header}}
 
 
 
{{UnitBodyList
 
| UIItemBoostAura.png
 
| Back/Boost Aura
 
| 10
 
| {{Icons|DEX}} 380
 
| {{UnitStatsList/Content|MDEF=120|RDEF=120|TDEF=120}}
 
| {{UnitStatsList/Content|MDEF=168|RDEF=168|TDEF=168}}
 
| {{UnitStatsList/Content|Fire=4%|Ice=4%|Ltn=4%|Wind=4%|Light=4%|Dark=4%|MRES=4%|RRES=4%|TRES=4%}}
 
| {{UnitStatsList/Content|HP=40|PP=4}}
 
| Completing Falspawn Den on SH
 
}}
 
 
 
|}
 
</pre>
 
  
</noinclude>
+
{{UnitStatsList/doc}}
 +
__NOTOC__

Revision as of 20:51, 4 November 2020

Template

Template:UnitStatsList/FooterTemplate:UnitStatsList/doc
Icon Unit req. Stats +0 Stats +10 Resistances Additional Stats Drop/Info
[[File:{{{1}}}|100px|link=]] {{{2}}} {{{4}}} {{{5}}}
{{{6}}}
{{{7}}}
{{{8}}}
{{{9}}}