3,951
editsMore actions
m
header levels
(Corrected type: bardic inspriation) |
m (header levels) |
||
Line 35: | Line 35: | ||
| shadowspell3 | ss3 | shadowlevel3 | sl3 = {{#lvardef: type|Level 3 Shadow Spell Slot{{#ifexpr: {{#lvar: isplural}} > 0 |s}}}} {{#lvardef: icon|Shadow Spell Slot Icon.png}} | | shadowspell3 | ss3 | shadowlevel3 | sl3 = {{#lvardef: type|Level 3 Shadow Spell Slot{{#ifexpr: {{#lvar: isplural}} > 0 |s}}}} {{#lvardef: icon|Shadow Spell Slot Icon.png}} | ||
}}{{#ifexpr: {{#lvar: isplural}} > 0 | {{#if: {{{forceplural|}}}||{{#lvar: count}}}}}}{{#if: {{{nameonly|}}}|{{Nbts}}|{{SmallIcon|{{#lvar:icon}}}}}}{{#if: {{{icononly|}}}||{{#lvar: type}}}}}}{{#ifeq: {{#lvar: icon}}|Alert Icon.png|[[Category:Pages with unknown resources]]}}</span></includeonly><noinclude> | }}{{#ifexpr: {{#lvar: isplural}} > 0 | {{#if: {{{forceplural|}}}||{{#lvar: count}}}}}}{{#if: {{{nameonly|}}}|{{Nbts}}|{{SmallIcon|{{#lvar:icon}}}}}}{{#if: {{{icononly|}}}||{{#lvar: type}}}}}}{{#ifeq: {{#lvar: icon}}|Alert Icon.png|[[Category:Pages with unknown resources]]}}</span></includeonly><noinclude> | ||
=What is this?= | ==What is this?== | ||
This is a template for a quicker and more standardized manner of typing out the class-specific resource. This template is intended to be ''inline''. | This is a template for a quicker and more standardized manner of typing out the class-specific resource. This template is intended to be ''inline''. | ||
If there are any missing resources, don't hesitate to contribute! | If there are any missing resources, don't hesitate to contribute! | ||
=Usage= | ==Usage== | ||
<pre>{{Resource | <type> | [count] | [icononly] | [nameonly] | [forceplural]}}</pre> | <pre>{{Resource | <type> | [count] | [icononly] | [nameonly] | [forceplural]}}</pre> | ||
---- | ---- | ||
Line 62: | Line 62: | ||
** Forces the text to be plural, changing some of the words to their plural form | ** Forces the text to be plural, changing some of the words to their plural form | ||
** The most obvious use of this is for Superiority Die (or Dices in plural). | ** The most obvious use of this is for Superiority Die (or Dices in plural). | ||
=Quick | ==Quick reference== | ||
{| class="wikitable mw-collapsible" | {| class="wikitable mw-collapsible" | ||
|+ name parameter | |+ name parameter |