42,313
editsUse the icon if no image specified
(Fix HTML generated for equipment sources.) |
HiddenDragon (talk | contribs) (Use the icon if no image specified) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{PageSeo | <includeonly>{{PageSeo | ||
| description = {{{plain summary|{{{summary}}}}}} | | description = {{{plain summary|{{{summary}}}}}} | ||
| image = {{#if: {{{ | | image = {{#if:{{{icon|}}}|{{{icon}}}|{{#if:{{{image|}}}|{{{image}}}}}}} | ||
}} | }} | ||
__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}} }} }}} | ||
| 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 163: | Line 164: | ||
| name = String | | name = String | ||
| image = File | | image = File | ||
| icon = File | |||
| toggleable = Boolean | | toggleable = Boolean | ||
| is_item = Boolean | | is_item = Boolean |