69,849
editsAdd creature parameter support
mNo edit summary |
HiddenDragon (talk | contribs) (Add creature parameter support) |
||
(48 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{PageSeo | <includeonly>{{PageSeo | ||
| description = {{{plain summary|{{{summary}}}}}} | | description = {{{plain summary|{{{summary}}}}}} | ||
| image = {{#if: {{{image|}}} | {{{image | | image = {{#if:{{{icon|}}}|{{{icon}}}|{{#if:{{{image|}}}|{{{image}}}|Generic Feature Icon.webp}}}} | ||
}} __NOTOC__ | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | |||
{{#if: {{{image|}}} {{{icon|}}} | |||
| [[File:{{{image|{{{icon|}}}}}}|frameless|right]] | |||
}} | }} | ||
{{{summary}}} | {{{summary}}} | ||
<h2> Description </h2> | <h2> Description </h2> | ||
{{{description}}} {{#if: {{{warning|}}} | | |||
{{{description}}} {{#if: {{{extra description|}}} | {{blank}} | |||
{{#if: {{{recharge|}}} | | |||
{{{extra description}}} | |||
}}{{#if: {{{warning|}}} | {{blank}} | |||
{{Colour|white|{{{warning}}}}} | |||
}}{{#if: {{{additional|}}} | {{blank}} | |||
{{{additional}}} | |||
}}{{#if: {{{cost|}}} {{{recharge|}}} {{{uid|}}} {{{toggleable|}}} | {{blank}} | |||
<h3> Details </h3> | |||
<dl class="bg3wiki-property-list"> | <dl class="bg3wiki-property-list"> | ||
{{ | {{#if: {{{cost|}}} | ||
| <dt> Cost: </dt><dd> {{InfoBlob|{{ResourceList|{{{cost}}}}}}} </dd> | |||
}}{{#if: {{{recharge|}}} | |||
| <dd>{{Recharge | {{{recharge}}} }}</dd> | |||
}}{{#if: {{{toggleable|}}} | |||
| <dd>{{Toggleable}}</dd> | |||
}}{{#if: {{{uid|}}} | |||
| <dd>{{uid | {{{uid}}} }}</dd> | |||
}} | }} | ||
</dl>}} | </dl> | ||
{{#if: {{{ | }}{{#if: {{{higher levels|}}} | {{blank}}{{main namespace only|[[Category:Passives that gain benefits at higher levels]]}} | ||
{{{ | |||
<h2> At higher levels </h2> | |||
{{{higher levels}}} | |||
}} | }} | ||
{{clear}} | |||
</div>{{#if: {{{grants|}}} | | |||
<h2> Grants: </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
{{#invoke: ParseList | main | {{{grants}}} | type = htmlListNoBullets | useTemplate = SAI/fixed }} | {{#invoke: ParseList | main | {{{grants}}} | type = htmlListNoBullets | useTemplate = SAI/fixed }} | ||
</div> | </div> | ||
}}{{#if: {{{creature|}}} | {{blank}} | |||
== Creature: {{{creature}}} == | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | |||
{{Creature | {{{creature}}}}}{{clear}} | |||
{{{creature description|}}} | |||
</div> | |||
}}{{#if: {{{condition|}}} | | }}{{#if: {{{condition|}}} | | ||
<h2> Condition: {{{condition}}} </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
Line 35: | 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> | ||
}}{{#if: {{{condition2|}}} | {{blank}} | |||
<h2> Condition: {{{condition2}}} </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
Line 47: | 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> | ||
}}{{#if: {{{condition3|}}} | {{blank}} | |||
<h2> Condition: {{{condition3}}} </h2> | |||
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | <div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common"> | ||
Line 59: | 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> | </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> | |||
}} {{#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> | |||
}} | }} | ||
<h2> How to learn </h2> | <h2> How to learn </h2> | ||
{{#lvardef: how-to-learn-content | | {{#lvardef: how-to-learn-content | | ||
Line 70: | 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 76: | 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 87: | Line 160: | ||
{{#lvar:races-learn-list}} | {{#lvar:races-learn-list}} | ||
<span style="font-size:85%;">( | <span style="font-size:85%;">([[Character level]] is the sum of all class levels for a multi-classed character.)</span> | ||
}}{{#if: {{{granted by feats|}}} | {{blank}} | }}{{#if: {{{granted by feats|}}} | {{blank}} | ||
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|}}} | {{blank}} | ||
Granted by the spells: | Granted by the spells: {{#invoke: ParseList | main | {{{granted by spells}}} | makeLinks = yes }} | ||
{{#invoke: ParseList | main | {{{granted by spells}}} | makeLinks = yes }} | }} | ||
}}{{ | {{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 121: | 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: | ||
| | |||
[[Category:Passive features]] {{#if: {{{toggleable|}}} | [[Category:Toggleable passive features]] }} {{#if: {{{variants|}}} | [[Category:Pages using deprecated parameters]]}} {{#cargo_store: | |||
_table = passives | _table = passives | ||
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}} | | name = {{{name | {{#titleparts: {{PAGENAME}} }} }}} | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| icon = {{{icon|}}} | |||
| toggleable = {{IfEmpty | {{{toggleable|}}} | no }} | | toggleable = {{IfEmpty | {{{toggleable|}}} | no }} | ||
| is_item = {{IfEmpty | {{{granted by items|}}} | no }} | | is_item = {{IfEmpty | {{{granted by items|}}} | no }} | ||
Line 135: | 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|}}} | ||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{ | {{documentation}} | ||
{{#cargo_declare: | |||
_table = passives | _table = passives | ||
| name = String | | name = String | ||
| image = File | | image = File | ||
| icon = File | |||
| toggleable = Boolean | | toggleable = Boolean | ||
| is_item = Boolean | | is_item = Boolean | ||
Line 148: | Line 227: | ||
| is_class = Boolean | | is_class = Boolean | ||
| description = Wikitext | | description = Wikitext | ||
| extra_description = Wikitext | |||
| brief = Wikitext | |||
| recharge = String | | recharge = String | ||
}} | }} | ||
[[Category:Templates]] | |||
[[Category:Page generating templates]] | |||
[[Category:Cargo templates]] | |||
</noinclude> | </noinclude> |