Template:Condition page: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{ConditionPage/Primitive | <includeonly>{{ConditionPage/Primitive | ||
| name = {{{name | {{titleparts: {{PAGENAME}} }} }}} | | name = {{{name | {{#explode: {{titleparts: {{PAGENAME}} }} | ( | 0 }} }}} | ||
| icon = {{{icon | {{{name | {{titleparts: {{PAGENAME}} }} }}} Condition Icon.png }}} | | icon = {{{icon | {{#replace: {{{name | {{#explode: {{titleparts: {{PAGENAME}} }} | ( | 0 }} }}} | : | }} Condition Icon.png }}} | ||
| effects = {{{effects|}}} | | effects = {{{effects|}}} | ||
| this is an example = {{{this is an example|}}} | | this is an example = {{{this is an example|}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
If the page title | 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.png}} then you don't have to provide the {{C|icon}} parameter. | ||
Likewise, if the icon for the condition is called {{C|Blah Condition Icon.png}} then you don't have to provide the {{C|icon}} parameter. | |||
Examples: | Examples: |
Revision as of 13:40, 16 July 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.png
then you don't have to provide the icon
parameter.
Examples:
Blade Ward (Condition)
Template:ConditionPage/Primitive