Difference between revisions of "Specialization"
(Created page with "<includeonly><div class="specialization-embed-row" style="height: 140px;" data-armory-embed="specializations" data-armory-ids="{{Specialization lookup|{{{1|}}}}}" data-armory-...") |
|||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div class="specialization-embed-row" style="height: 140px;" data-armory-embed="specializations" data-armory-ids="{{Specialization lookup|{{{1|}}}}}" data-armory-{{Specialization lookup|{{{1|}}}}}-traits="{{Specialization choice|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}"></div><!-- Stores SMW property if variant is disabled -->{{#if: {{{variant|}}}||{{#ifeq: {{NAMESPACE}}|Build|{{#if: {{{1|}}}|{{#set: Has specializations={{{1}}}}}}}}}}}</includeonly><noinclude>{{Specialization/Documentation}}</noinclude> | + | <includeonly>{{#ifeq:{{API}}|off|<div>{{ucfirst:{{{1|}}}}}: {{ucfirst:{{{2|}}}}}, {{ucfirst:{{{3|}}}}}, {{ucfirst:{{{4|}}}}}</div>|<div class="specialization-embed-row" style="height: 140px;" data-armory-embed="specializations" data-armory-ids="{{Specialization lookup|{{{1|}}}}}" data-armory-{{Specialization lookup|{{{1|}}}}}-traits="{{Specialization choice|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}"></div>}}<!-- Stores SMW property if variant is disabled -->{{#if: {{{variant|}}}||{{#ifeq: {{NAMESPACE}}|Build|{{#if: {{{1|}}}|{{#set: Has specializations={{{1}}}}}}}}}}}</includeonly><noinclude>{{Specialization/Documentation}}</noinclude> |
Latest revision as of 15:09, 1 March 2022
Description
Produces a specialization table, optionally highlighting trait choices.
{{Specialization|<unnamed param 1>|<unnamed param 2>|<unnamed param 3>|<unnamed param 4> | variant = }}
Parameters
- unnamed param 1
- Specialization name, capitalized.
- unnamed param 2-4
- Position in each column. Accepts top, mid, and bot (bottom).
- variant
- Optional. If set, it will disable storing build-specific data to the page. Defaults to no. Use this if displaying a variant. Do not use this for the main specializations.
Note: The template will only store SMW values if the page it's called from is under Build namespace.
Example
{{Specialization|Wilderness Survival|mid|top|bot}}
{{Specialization|Tempest}}
{{Specialization|Shadow Arts|bot|mid|bot}}
Get MetaBattle Premium
Enjoy an ad-free experience & support the website, for less than $1 per month! Upgrade to Premium
Enjoy an ad-free experience & support the website, for less than $1 per month! Upgrade to Premium