Template:Passive feature page: Difference between revisions

Jump to navigation Jump to search
Added extra description field
(Added icon field)
(Added extra description field)
(14 intermediate revisions by 3 users not shown)
Line 2: Line 2:
| description = {{{plain summary|{{{summary}}}}}}
| description = {{{plain summary|{{{summary}}}}}}
| image = {{#if:{{{icon|}}}|{{{icon}}}|{{#if:{{{image|}}}|{{{image}}}}}}}
| image = {{#if:{{{icon|}}}|{{{icon}}}|{{#if:{{{image|}}}|{{{image}}}}}}}
}} __NOTOC__
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">
{{#if: {{{image|}}} {{{icon|}}}
| [[File:{{{image|{{{icon|}}}}}}|frameless|right]]
}}
}}
__NOTOC__
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">{{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right]] }}
{{{summary}}}
{{{summary}}}
 
<h2> Description </h2>
<h2> Description </h2>
{{{description}}} {{#if: {{{warning|}}} |
 
<p>{{Colour|white|{{{warning}}}}}</p> }}
{{{description}}} {{#if: {{{extra description|}}} | {{blank}}
{{#if: {{{recharge|}}} | == Properties ==
 
{{{extra description}}}
 
}}{{#if: {{{warning|}}} | {{blank}}
 
{{Colour|white|{{{warning}}}}}  
 
}}{{#if: {{{additional|}}} | {{blank}}
 
{{{additional}}}
 
}}{{#if: {{{recharge|}}} {{{uid|}}} | {{blank}}
 
<h3> Details </h3>
 
<dl class="bg3wiki-property-list">
<dl class="bg3wiki-property-list">
{{trim|{{#if: {{{recharge|}}} |<dd>{{Recharge|{{{recharge}}}}}</dd>| {{blank}}}}
{{#if: {{{recharge|}}}
| <dd>{{Recharge | {{{recharge}}} }}</dd>
}}{{#if: {{{uid|}}}
| <dd>{{uid | {{{uid}}} }}</dd>
}}
}}
</dl>}}
</dl>
{{#if: {{{additional|}}} | 
{{{additional}}}| {{blank}}
}}
}}
{{clear}}</div>{{#if: {{{grants|}}} |
 
{{clear}}
 
</div>{{#if: {{{grants|}}} |


<h2> Grants: </h2>
<h2> Grants: </h2>
Line 25: Line 45:
{{#invoke: ParseList | main | {{{grants}}} | type = htmlListNoBullets | useTemplate = SAI/fixed }}
{{#invoke: ParseList | main | {{{grants}}} | type = htmlListNoBullets | useTemplate = SAI/fixed }}
</div>
</div>
}}{{#if: {{{condition|}}} |
}}{{#if: {{{condition|}}} |


Line 37: Line 58:
{{main namespace only|{{Inflicts|{{{condition}}}|passive}}}}
{{main namespace only|{{Inflicts|{{{condition}}}|passive}}}}
</div>
</div>
{{#if: {{{condition2|}}} |


== Condition: {{{condition2}}} ==
}}{{#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 49: Line 71:
{{main namespace only|{{Inflicts|{{{condition2}}}|passive}}}}
{{main namespace only|{{Inflicts|{{{condition2}}}|passive}}}}
</div>
</div>
{{#if: {{{condition3|}}} |


== Condition: {{{condition3}}} ==
}}{{#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 62: Line 85:
</div>
</div>


      }}
  }}
}}
}}


Line 88: Line 109:
{{#lvar:races-learn-list}}
{{#lvar:races-learn-list}}


<span style="font-size:85%;">(''Character level'' is the sum of all class levels for a multi-classed character.)</span>
<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}}


Line 99: Line 120:
|order by=weapons._pageName
|order by=weapons._pageName
|more results text=
|more results text=
|intro=Granted by the weapons:<ul style="list-style: none;">
|intro=<p>Granted by the weapons:<ul style="list-style: none;">
|outro=</ul>
|outro=</ul></p>
|default=
|default=
|format=template
|format=template
|named args = yes
|named args = yes
|template=Passive sources/format
|template=Passive sources/format
}}
}}{{#cargo_query:
{{#cargo_query:
tables=equipment
tables=equipment
|fields= _pageName = page, name, legacy
|fields= _pageName = page, name, legacy
Line 112: Line 132:
|order by=equipment._pageName
|order by=equipment._pageName
|more results text=
|more results text=
|intro=Granted by the equipment:<ul style="list-style: none;">
|intro=<p>Granted by the equipment:<ul style="list-style: none;">
|outro=</ul>
|outro=</ul></p>
|default=
|default=
|format=template
|format=template
Line 129: Line 149:
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>
}} {{#if: {{{bugs|}}} |
<h2> Bugs </h2>
<div class="bg3wiki-tooltip-box bg3wiki-tooltip">
{{{bugs}}}
</div>
</div>
{{clear}}
{{Main namespace only|[[Category:Bugs]]}}
{{#if: {{{notes|}}} | == Notes == }}
}} {{#if: {{{video|}}} |
{{trim|{{#if: {{{notes|}}} | <div class="bg3wiki-tooltip-box bg3wiki-tooltip">
{{{notes}}}
</div>| {{blank}}}}}}{{#if: {{{video|}}} |


<h2> Visuals </h2>
<h2> Visuals </h2>
Line 143: Line 174:
[[File:{{{video}}}]]
[[File:{{{video}}}]]


}}
}}  
{{#switch: {{{this is an example|}}}
{{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:
| yes =
| #default = {{#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
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
Line 157: Line 186:
| is_class = {{#ifeq: {{#lvar: hasclasslearn}} | 1 | yes}}
| is_class = {{#ifeq: {{#lvar: hasclasslearn}} | 1 | yes}}
| description = {{{description|}}}
| description = {{{description|}}}
| extra_description = {{{extra description|}}}
| brief = {{{brief| {{{description|}}} }}}
| recharge = {{{recharge|}}}
| recharge = {{{recharge|}}}
}}
}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{/doc}}{{#cargo_declare:
{{documentation}}
{{#cargo_declare:
_table = passives
_table = passives
| name = String
| name = String
Line 171: Line 203:
| is_class = Boolean
| is_class = Boolean
| description = Wikitext
| description = Wikitext
| extra_description = Wikitext
| brief = Wikitext
| recharge = String
| recharge = String
}}
}}
</noinclude>
</noinclude>

Navigation menu