Template:Passive feature page: Difference between revisions

Jump to navigation Jump to search
Use the icon if no image specified
(Added icon field)
(Use the icon if no image specified)
(One intermediate revision by the same user not shown)
Line 4: Line 4:
}}
}}
__NOTOC__
__NOTOC__
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">{{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right]] }}
<div class="bg3wiki-tooltip-box bg3wiki-tooltip-gradient-common">{{#if: {{{image|}}} | [[File:{{{image}}}|frameless|right]] | {{#if: {{{icon|}}} | [[File:{{{icon}}}|frameless|right]]}}}}
{{{summary}}}
{{{summary}}}
Line 146: Line 146:
{{#switch: {{{this is an example|}}}  
{{#switch: {{{this is an example|}}}  
| yes =
| 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:
| #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}} }} }}}

Navigation menu