Шаблон:ConditionPage: відмінності між версіями

Матеріал з Вікі D&D українською
Перейти до навігації Перейти до пошуку
(Створена сторінка: <includeonly><div class="bg3wiki-tooltip-box">{{ #vardefine: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}} }}{{ #vardefine: icon | {{{icon | {{#replace: {{#var:name}} | : | }} Condition Icon.webp }}} }}{{NoExcerpt | {{icon| {{#var:icon}} |30}} '''{{#var:name}}''' }} {{{effects|}}} {{#ifeq: {{{disease|}}} | yes | {{blank}} * Diseased }}</div>{{#switch: {{{this is an example|}}} | yes = | #default = Category:Condi...)
 
мНемає опису редагування
 
Рядок 1: Рядок 1:
[[Категорія:Потребує перекладу]]
<includeonly><div class="bg3wiki-tooltip-box">{{
<includeonly><div class="bg3wiki-tooltip-box">{{
#vardefine: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}
#vardefine: name | {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}

Поточна версія на 16:59, 25 серпня 2023


If the page title is Blah (Condition), then you don't have to provide the name parameter. Likewise, if the icon for the condition is called Blah Condition Icon.webp then you don't have to provide the icon parameter.

{{ConditionPage
| effects =
| disease =
}}

Examples:

Blade Ward (Condition)[ред. код]

Bone Chilled (Condition)[ред. код]

Flesh Rot (Condition)[ред. код]

{{#cargo_declare: _table = conditions | name = String (unique, mandatory) | icon = File | effects = Wikitext | disease = Boolean }}