41,981
editsTemplate:Passive feature page (view source)
Revision as of 21:42, 28 November 2023
, 28 November 2023Add/expand cargo declare, and added cargo store
(Added cargo table for passives) |
HiddenDragon (talk | contribs) (Add/expand cargo declare, and added cargo store) |
||
Line 116: | Line 116: | ||
}} | }} | ||
{{#switch: {{{this is an example|}}} | |||
{{#ifeq: {{#lvar: hasclasslearn}} | 1 | [[Category:Class features]]}} | | yes = | ||
{{#ifeq: {{#lvar: hasracelearn}} | 1 | [[Category:Racial features]]}} | | #default = {{#ifeq: {{#lvar: hasclasslearn}} | 1 | [[Category:Class features]]}} {{#ifeq: {{#lvar: hasracelearn}} | 1 | [[Category:Racial features]]}} {{#if: {{{granted by items|}}} | [[Category:Passive item features]] }} | ||
{{#if: {{{granted by items|}}} | [[Category:Passive item features]] }} | [[Category:Passive features]] {{#if: {{{toggleable|}}} | [[Category:Toggleable passive features]] }} {{#cargo_store: | ||
[[Category:Passive features]] | _table = passives | ||
{{#if: {{{toggleable|}}} | [[Category:Toggleable passive features]] }} | | name = {{{name|{{PAGENAME}} }}} | ||
}} | | image = {{{image|}}} | ||
</includeonly><noinclude> | | toggleable = {{#if:{{{toggleable|}}}|yes}} | ||
{{/doc}} | | is_item = {{#if:{{{granted by items|}}}|yes}} | ||
{{#cargo_declare: | | is_feat = {{#if:{{{granted by feats|}}}|yes}} | ||
| is_racial = {{#ifeq: {{#lvar: hasracelearn}} | 1 | yes}} | |||
| is_class = {{#ifeq: {{#lvar: hasclasslearn}} | 1 | yes}} | |||
| description = {{{description|}}} | |||
| recharge = {{{recharge|}}} | |||
}} | |||
}}</includeonly><noinclude> | |||
{{/doc}}{{#cargo_declare: | |||
_table = passives | _table = passives | ||
| name = String | | name = String | ||
| image = File | |||
| toggleable = Boolean | |||
| is_item = Boolean | |||
| is_feat = Boolean | |||
| is_racial = Boolean | |||
| is_class = Boolean | |||
| description = Wikitext | | description = Wikitext | ||
| recharge = String | | recharge = String | ||
}} | |||
}}</noinclude> | </noinclude> |