Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Inflicts: Difference between revisions

Template page
Test of adding duration field
Added more fields for condition sources. Will later remove them from other tables
Line 4: Line 4:
| parent = {{{parent|}}}
| parent = {{{parent|}}}
| parent_template = {{{parent template|}}}
| parent_template = {{{parent template|}}}
| type = {{{type|}}}
| dc = {{{dc|}}}
| save = {{{save|}}}
| duration = {{{duration|}}}
| duration = {{{duration|}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Line 24: Line 27:
| parent = Page
| parent = Page
| parent_template = String
| parent_template = String
| type = String (allowed values=area, condition, creature, equipment, item, passive, spell, weapon)
| dc = String
| save = String
| duration = String
| duration = String
}}
}}
Line 58: Line 64:
},
},
"parent template": {
"parent template": {
"label": "format",
"label": "parent template",
"description": "The template to use to format the parent page",
"description": "The template to use to format the parent page",
"suggestedvalues": [
"suggestedvalues": [
Line 68: Line 74:
],
],
             "type": "string"
             "type": "string"
},
        "type": {
"label": "type",
"description": "The type of this page that inflicts the condition.",
            "suggestedvalues": [
"area",
"condition",
                "creature",
                "equipment",
                "item",
                "passive",
                "spell",
                "weapon"
],
"type": "string"
},
        "dc": {
"label": "dc",
"description": "The dc this page uses to apply the condition",
"type": "string"
},
        "save": {
"label": "save",
"description": "The save stat this page uses along with the dc to apply the condition. Valid values are the same as those used for Template:Saving Throw",
            "suggestedvalues": [
                "15",
                "caster",
                "weapon action"
            ],
"type": "string"
},
        "duration": {
"label": "duration",
"description": "The duration of the condition this page applies. Valid values are the same as those used for Template:Duration",
            "suggestedvalues": [
                "Permanent",
                "Short rest",
                "Until short rest",
                "Long rest",
                "Until long rest",
                "Saving throw",
                "Until saving throw",
                "Surface",
                "Whilst on surface"
            ],
"type": "string"
}
}
},
},