Template:Condition page: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{ConditionPage/Primitive
<includeonly><templatestyles src="ConditionPage/styles.css"/><div class="bg3wiki-condition-page">
{{ConditionPage/Primitive
| name = {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}
| name = {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}}
| icon = {{{icon | {{#replace: {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}} | : | }} Condition Icon.webp }}}
| icon = {{{icon | {{#replace: {{{name | {{#explode: {{#titleparts: {{PAGENAME}} }} | ( | 0 }} }}} | : | }} Condition Icon.webp }}}
| effects = {{{effects|}}}
| effects = {{{effects|}}}
| this is an example = {{{this is an example|}}}
| this is an example = {{{this is an example|}}}
}}</includeonly><noinclude>
}}
</div></includeonly><noinclude>
If the page title is {{C|Blah (Condition)}}, then you don't have to provide the {{C|name}} parameter.  Likewise, if the icon for the condition is called {{C|Blah Condition Icon.webp}} then you don't have to provide the {{C|icon}} parameter.
If the page title is {{C|Blah (Condition)}}, then you don't have to provide the {{C|name}} parameter.  Likewise, if the icon for the condition is called {{C|Blah Condition Icon.webp}} then you don't have to provide the {{C|icon}} parameter.


See also: [[Template:ConditionPage/Primitive]]
See also: [[Template:ConditionPage/Primitive]]
CSS: [[Template:ConditionPage/styles.css]]


Examples:
Examples:

Revision as of 13:46, 6 August 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.

See also: Template:ConditionPage/Primitive

CSS: Template:ConditionPage/styles.css

Examples:

Blade Ward (Condition)

Page Template:ConditionPage/styles.css has no content.

Bone Chilled (Condition)

Page Template:ConditionPage/styles.css has no content.