69,849
editsAdd creature parameter support
HiddenDragon (talk | contribs) (Cargo store and categorize on the main namespace only) |
HiddenDragon (talk | contribs) (Add creature parameter support) |
||
(31 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{PageSeo | <includeonly>{{PageSeo | ||
| description = {{{plain summary|{{{summary}}}}}} | | description = {{{plain summary|{{{summary}}}}}} | ||
| image = {{#if:{{{icon|}}}|{{{icon}}}|{{#if:{{{image|}}}|{{{image}}}}}}} | | image = {{#if:{{{icon|}}}|{{{icon}}}|{{#if:{{{image|}}}|{{{image}}}|Generic Feature Icon.webp}}}} | ||
}} __NOTOC__ | }} __NOTOC__ | ||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
Line 11: | Line 11: | ||
<h2> Description </h2> | <h2> Description </h2> | ||
{{{description}}} {{#if: {{{warning|}}} | {{blank}} | {{{description}}} {{#if: {{{extra description|}}} | {{blank}} | ||
{{{extra description}}} | |||
}}{{#if: {{{warning|}}} | {{blank}} | |||
{{Colour|white|{{{warning}}}}} | {{Colour|white|{{{warning}}}}} | ||
Line 19: | Line 23: | ||
{{{additional}}} | {{{additional}}} | ||
}}{{#if: {{{recharge|}}} {{{uid|}}} | {{blank}} | }}{{#if: {{{cost|}}} {{{recharge|}}} {{{uid|}}} {{{toggleable|}}} | {{blank}} | ||
<h3> Details </h3> | <h3> Details </h3> | ||
<dl class="bg3wiki-property-list"> | <dl class="bg3wiki-property-list"> | ||
{{#if: {{{recharge|}}} | {{#if: {{{cost|}}} | ||
| <dt> Cost: </dt><dd> {{InfoBlob|{{ResourceList|{{{cost}}}}}}} </dd> | |||
}}{{#if: {{{recharge|}}} | |||
| <dd>{{Recharge | {{{recharge}}} }}</dd> | | <dd>{{Recharge | {{{recharge}}} }}</dd> | ||
}}{{#if: {{{toggleable|}}} | |||
| <dd>{{Toggleable}}</dd> | |||
}}{{#if: {{{uid|}}} | }}{{#if: {{{uid|}}} | ||
| <dd>{{uid | {{{uid}}} }}</dd> | | <dd>{{uid | {{{uid}}} }}</dd> | ||
}} | }} | ||
</dl> | </dl> | ||
}}{{#if: {{{higher levels|}}} | {{blank}}{{main namespace only|[[Category:Passives that gain benefits at higher levels]]}} | |||
<h2> At higher levels </h2> | |||
{{{higher levels}}} | |||
}} | }} | ||
{{clear}} | {{clear}} | ||
</div>{{#if: {{{grants|}}} | | </div>{{#if: {{{grants|}}} | | ||
<h2> Grants: </h2> | <h2> Grants: </h2> | ||
Line 42: | Line 55: | ||
</div> | </div> | ||
}}{{#if: {{{ | }}{{#if: {{{creature|}}} | {{blank}} | ||
== Creature: {{{creature}}} == | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | |||
{{Creature | {{{creature}}}}}{{clear}} | |||
{{{creature description|}}} | |||
</div> | |||
}}{{#if: {{{condition|}}} | | |||
<h2> Condition: {{{condition}}} </h2> | <h2> Condition: {{{condition}}} </h2> | ||
Line 52: | Line 74: | ||
| duration = {{{condition duration|}}} | | duration = {{{condition duration|}}} | ||
}} | }} | ||
{{main namespace only|{{Inflicts|{{{condition}}}|passive}}}} | {{main namespace only|{{Inflicts|{{{condition}}}|pass|type=passive|save={{{condition save|}}}|dc={{{condition dc|}}}|duration={{{condition duration|}}}}}}} | ||
</div> | </div> | ||
Line 65: | Line 87: | ||
| duration = {{{condition2 duration|}}} | | duration = {{{condition2 duration|}}} | ||
}} | }} | ||
{{main namespace only|{{Inflicts|{{{condition2}}}|passive}}}} | {{main namespace only|{{Inflicts|{{{condition2}}}|pass|type=passive|save={{{condition2 save|}}}|dc={{{condition2 dc|}}}|duration={{{condition2 duration|}}}}}}} | ||
</div> | </div> | ||
Line 78: | Line 100: | ||
| duration = {{{condition3 duration|}}} | | duration = {{{condition3 duration|}}} | ||
}} | }} | ||
{{main namespace only|{{Inflicts|{{{condition3}}}|passive}}}} | {{main namespace only|{{Inflicts|{{{condition3}}}|pass|type=passive|save={{{condition3 save|}}}|dc={{{condition3 dc|}}}|duration={{{condition3 duration|}}}}}}} | ||
</div> | |||
}}{{#if: {{{condition4|}}} | {{blank}} | |||
<h2> Condition: {{{condition4}}} </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | |||
{{Condition | {{{condition4}}} | |||
| save = {{{condition4 save|}}} | |||
| dc = {{{condition4 dc|}}} | |||
| duration = {{{condition4 duration|}}} | |||
}} | |||
{{main namespace only|{{Inflicts|{{{condition4}}}|pass|type=passive|save={{{condition4 save|}}}|dc={{{condition4 dc|}}}|duration={{{condition4 duration|}}}}}}} | |||
</div> | |||
}}{{#if: {{{condition5|}}} | {{blank}} | |||
<h2> Condition: {{{condition5}}} </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | |||
{{Condition | {{{condition5}}} | |||
| save = {{{condition5 save|}}} | |||
| dc = {{{condition5 dc|}}} | |||
| duration = {{{condition5 duration|}}} | |||
}} | |||
{{main namespace only|{{Inflicts|{{{condition5}}}|pass|type=passive|save={{{condition5 save|}}}|dc={{{condition5 dc|}}}|duration={{{condition5 duration|}}}}}}} | |||
</div> | </div> | ||
}} {{#if: {{{area|}}} | | |||
<h2> Area: {{{area}}} </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | |||
{{Area full|{{{area}}}|duration={{{area duration|}}}|shape={{{area shape|}}}|range m={{{area range m|}}}|range ft={{{area range ft|}}}}} | |||
</div> | |||
}} | }} | ||
Line 88: | Line 143: | ||
{{#loop: level | 1 | 20 | | {{#loop: level | 1 | 20 | | ||
{{#if: {{{ class learns at level {{#var:level}} |}}} | {{#lvardef:hasclasslearn|1}}{{blank}} | {{#if: {{{ class learns at level {{#var:level}} |}}} | {{#lvardef:hasclasslearn|1}}{{blank}} | ||
* Class level {{#var:level}}: {{#invoke: ParseList | main | {{{ class learns at level {{#var:level}} }}} | | * Class level {{#var:level}}: {{#invoke: ParseList | main | {{{ class learns at level {{#var:level}} }}} | makeLinks = yes }} | ||
}} | }} | ||
}} | }} | ||
Line 94: | Line 149: | ||
{{#loop: level | 1 | 20 | | {{#loop: level | 1 | 20 | | ||
{{#if: {{{ race learns at level {{#var:level}} |}}} | {{#lvardef:hasracelearn|1}}{{blank}} | {{#if: {{{ race learns at level {{#var:level}} |}}} | {{#lvardef:hasracelearn|1}}{{blank}} | ||
* Character level {{#var:level}}: {{#invoke: ParseList | main | {{{ race learns at level {{#var:level}} }}} | | * Character level {{#var:level}}: {{#invoke: ParseList | main | {{{ race learns at level {{#var:level}} }}} | makeLinks = yes }} | ||
}} | }} | ||
}} | }} | ||
Line 110: | Line 165: | ||
Granted by the feats: | Granted by the feats: | ||
{{#invoke: ParseList | main | {{{granted by feats}}} | makeLinks = yes }} | {{#invoke: ParseList | main | {{{granted by feats}}} | makeLinks = yes }} | ||
}}{{#if: {{{granted by spells|}}} | {{blank}} | |||
}}{{#if: {{{granted by spells | |||
Granted by the spells: {{#invoke: ParseList | main | {{{granted by spells}}} | makeLinks = yes }} | |||
{{#invoke: ParseList | main | {{{ | }} | ||
}}{{#if:{{{other ways to learn|}}} | {{blank}} | {{Passive weapons list|{{PAGENAME}}}}{{Passive equipment list|{{PAGENAME}}}}{{#if: {{{suppress creatures list|}}} ||{{Passive creatures list|{{PAGENAME}}}}}}{{#if:{{{other ways to learn|}}} | {{blank}} | ||
Other ways to learn: | Other ways to learn: | ||
{{{other ways to learn}}} }} | {{{other ways to learn}}} | ||
}} | |||
}}<div class="bg3wiki-tooltip-box"> | }}<div class="bg3wiki-tooltip-box"> | ||
{{#lvar: how-to-learn-content | ''(Information not yet added.)'' }} | {{#lvar: how-to-learn-content | ''(Information not yet added.)'' }} | ||
</div> {{#if: {{{notes|}}} | | |||
<h2> Notes </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip"> | |||
{{{notes}}} | |||
</div> | </div> | ||
}} {{#if: {{{bugs|}}} | | |||
{{#if: {{{ | |||
<h2> Bugs </h2> | |||
{{{ | |||
</div> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip"> | ||
{{{bugs}}} | |||
</div> | |||
{{Main namespace only|[[Category:Bugs]]}} | |||
}} {{#if: {{{video|}}} | | |||
<h2> Visuals </h2> | <h2> Visuals </h2> | ||
Line 160: | Line 198: | ||
[[File:{{{video}}}]] | [[File:{{{video}}}]] | ||
}} | }} | ||
{{Main namespace only|{{#ifeq: {{#lvar: hasclasslearn}} | 1 | [[Category:Class features]]}} {{#ifeq: {{#lvar: hasracelearn}} | 1 | [[Category:Racial features]]}} [[Category:Passive features]] {{#if: {{{toggleable|}}} | [[Category:Toggleable passive features]] }} {{#if: {{{variants|}}} | [[Category:Pages using deprecated parameters]]}} {{#cargo_store: | {{Main namespace only|{{#ifeq: {{#lvar: hasclasslearn}} | 1 | [[Category:Class features]]}} {{#ifeq: {{#lvar: hasracelearn}} | 1 | [[Category:Racial features]]}} [[Category:Passive features]] {{#if: {{{toggleable|}}} | [[Category:Toggleable passive features]] }} {{#if: {{{variants|}}} | [[Category:Pages using deprecated parameters]]}} {{#cargo_store: | ||
_table = passives | _table = passives | ||
Line 172: | Line 210: | ||
| is_class = {{#ifeq: {{#lvar: hasclasslearn}} | 1 | yes}} | | is_class = {{#ifeq: {{#lvar: hasclasslearn}} | 1 | yes}} | ||
| description = {{{description|}}} | | description = {{{description|}}} | ||
| | | extra_description = {{{extra description|}}} | ||
| brief = {{{brief|}}} | |||
| recharge = {{{recharge|}}} | | recharge = {{{recharge|}}} | ||
}} | }} | ||
Line 188: | Line 227: | ||
| is_class = Boolean | | is_class = Boolean | ||
| description = Wikitext | | description = Wikitext | ||
| extra_description = Wikitext | |||
| brief = Wikitext | | brief = Wikitext | ||
| recharge = String | | recharge = String | ||
}} | }} | ||
[[Category:Templates]] | |||
[[Category:Page generating templates]] | |||
[[Category:Cargo templates]] | |||
</noinclude> | </noinclude> |