10,291
editsTemplate:Condition page: Difference between revisions
Jump to navigation
Jump to search
no edit summary
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: |