Template:Passive feature page: Difference between revisions

Jump to navigation Jump to search
Added extra description field
(Cleanup and add UID display.)
(Added extra description field)
(11 intermediate revisions by 3 users not shown)
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 34: Line 38:
{{clear}}
{{clear}}


</div>{{#if: {{{grants|}}} | {{blank}}
</div>{{#if: {{{grants|}}} |


<h2> Grants: </h2>
<h2> Grants: </h2>
Line 42: Line 46:
</div>
</div>


}}{{#if: {{{condition|}}} | {{blank}}
}}{{#if: {{{condition|}}} |


<h2> Condition: {{{condition}}} </h2>
<h2> Condition: {{{condition}}} </h2>
Line 116: 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 129: 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 146: 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 160: 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 | {{Main only|[[Category:Class features]]}}}} {{#ifeq: {{#lvar: hasracelearn}} | 1 | {{Main only|[[Category:Racial features]]}}}} {{Main only|[[Category:Passive features]]}} {{#if: {{{toggleable|}}} | {{Main only|[[Category:Toggleable passive features]]}} }} {{#if: {{{variants|}}} | {{Main only|[[Category:Pages using deprecated parameters]]}}}} {{#cargo_store:
_table = passives
_table = passives
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
| name = {{{name | {{#titleparts: {{PAGENAME}} }} }}}
Line 174: 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|}}}
}}
}}
Line 189: 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