Template:Action page: Difference between revisions

Jump to navigation Jump to search
(fungal infestation support)
(rework template docs)
Line 381: Line 381:
},
},
"summary": {
"summary": {
"label": "Action description summary",
"label": "Action summary",
"description": "The summary of the action. This will be used as the wiki's description as well as the SEO text.",
"description": "The summary of the action and its effects. This goes at the top of the article. Use description for the in-game text description.",
"example": "This action allows the caster to unleash a streak of fire from their hands that ignites into a large explosion at a chosen point within range.",
"example": "This action allows the caster to unleash a streak of fire from their hands that ignites into a large explosion at a chosen point within range.",
"type": "content",
"type": "content",
Line 389: Line 389:
"description": {
"description": {
"label": "Action description",
"label": "Action description",
"description": "The in-game description of the action. This description is NOT for SEO 'See: summary'.",
"description": "The raw in-game description of the action. Use summary for summarizing the action and its effects.",
"example": "Shoot a bright flame from your fingers that explodes upon contact, torching everything in the vicinity for 8d6 Fire damage.",
"example": "Shoot a bright flame from your fingers that explodes upon contact, torching everything in the vicinity for 8d6 Fire damage.",
"type": "string",
"type": "string",
Line 396: Line 396:
"image": {
"image": {
"label": "Action image/icon",
"label": "Action image/icon",
"description": "The image that will be used in the page's SEO and be the page's main image.<br/>IF THIS IS LEFT EMPTY, [[File:NoImage Icon.webp|x40px]] WILL BE USED INSTEAD!",
"description": "The image that will be used in the page's SEO and be the page's main image. [[File:NoImage Icon.webp|x40px]] will be used if empty.",
"example": "Fireball Icon.png",
"example": "Fireball Icon.png",
"type": "string",
"type": "string",
Line 402: Line 402:
},
},
"cost": {
"cost": {
"description": "The resource cost of the action. Format is {Resource}:{Amount}, {\"action\" if action etc.}. Resource types: \n* Arcane Recovery: arcrec \n* Bardic Inspiration: barins \n* Channel Divinity: chadiv \n* Channel Oath: chaoat \n* Fungal Infestation: fnginf \n* Ki: ki \n* Lay On Hands: layonh \n* Natural Recovery: natrec \n* Rage: rage \n* Superiority Die: supdie \n* War Priest: warpri \n* Wild Shape: wldshp",
"description": "The resource cost of the action. Format is {Resource}:{Amount}, {\"action\" if action etc.}. Resource types: Arcane Recovery: arcrec, Bardic Inspiration: barins, Channel Divinity: chadiv, Channel Oath: chaoat, Fungal Infestation: fnginf, Ki: ki, Lay On Hands: layonh, Natural Recovery: natrec, Rage: rage, Superiority Die: supdie, War Priest: warpri, Wild Shape: wldshp",
"example": "action",
"example": "action",
"suggestedvalues": [
"suggestedvalues": [
Line 500: Line 500:
},
},
"concentration": {
"concentration": {
"description": "If this skill is a concentration, type something here. Can be any value you want. Otherwise, leave it blank or delete the field entirely.",
"description": "Whether or not the action requires concentration. Blank = No, otherwise = Yes.",
"example": "Yes",
"example": "Yes",
"type": "string",
"type": "string",
"suggestedvalues": [
"suggestedvalues": [
"Yes",
"Yes",
"No"
""
],
],
"default": "No"
"default": "No"
Line 551: Line 551:
},
},
"additional": {
"additional": {
        "label": "additional properties",
"description": "Any additional properties about the skill that are not covered by template go here, which goes under damage in properties",
"description": "Any additional properties about the skill that are not covered by template go here, which goes under damage in properties",
"example": "",
"example": "",
Line 790: Line 791:
"type": "string"
"type": "string"
},
},
"class learns at level X": {
"class learns at level 1": {
"description": "This specifies what level the classes get access to this action. Use e.g. \"class learns at level 5\" with a comma-separated list of classes to specify classes that learn this action at class level 5. You can use subclass names such as \"Fiend\" or \"Light Domain\" to indicate that Fiend Warlocks or Light Domain clerics gain access.",
"description": "This specifies what level the classes get access to this action at level 1. You can use subclass names such as \"Fiend\" or \"Light Domain\" to indicate that Fiend Warlocks or Light Domain clerics gain access.",
"example": "Sorcerer, Wizard, Fiend, Light Domain",
"example": "Sorcerer, Wizard, Fiend, Light Domain",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
},
"race learns at level X": {
"class learns at level 2": {
"description": "This specifies what level the races get access to this action. Use e.g. \"race learns at level 5\" with a comma-separated list of races to specify which races learn this action at level 5. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"description": "This specifies what level the classes get access to this action at level 2. You can use subclass names such as \"Fiend\" or \"Light Domain\" to indicate that Fiend Warlocks or Light Domain clerics gain access.",
"example": "Sorcerer, Wizard, Fiend, Light Domain",
"type": "string",
"suggested": true
},
"class learns at level 3": {
"description": "This specifies what level the classes get access to this action at level 3. You can use subclass names such as \"Fiend\" or \"Light Domain\" to indicate that Fiend Warlocks or Light Domain clerics gain access.",
"example": "Sorcerer, Wizard, Fiend, Light Domain",
"type": "string",
"suggested": true
},
"class learns at level 4": {
"description": "This specifies what level the classes get access to this action at level 4. You can use subclass names such as \"Fiend\" or \"Light Domain\" to indicate that Fiend Warlocks or Light Domain clerics gain access.",
"example": "Sorcerer, Wizard, Fiend, Light Domain",
"type": "string",
"suggested": true
},
"class learns at level 5": {
"description": "This specifies what level the classes get access to this action at level 5. You can use subclass names such as \"Fiend\" or \"Light Domain\" to indicate that Fiend Warlocks or Light Domain clerics gain access.",
"example": "Sorcerer, Wizard, Fiend, Light Domain",
"type": "string",
"suggested": true
},
"class learns at level 6": {
"description": "This specifies what level the classes get access to this action at level 6. You can use subclass names such as \"Fiend\" or \"Light Domain\" to indicate that Fiend Warlocks or Light Domain clerics gain access.",
"example": "Sorcerer, Wizard, Fiend, Light Domain",
"type": "string",
"suggested": true
},
"class learns at level 7": {
"description": "This specifies what level the classes get access to this action at level 7. You can use subclass names such as \"Fiend\" or \"Light Domain\" to indicate that Fiend Warlocks or Light Domain clerics gain access.",
"example": "Sorcerer, Wizard, Fiend, Light Domain",
"type": "string",
"suggested": true
},
"class learns at level 8": {
"description": "This specifies what level the classes get access to this action at level 8. You can use subclass names such as \"Fiend\" or \"Light Domain\" to indicate that Fiend Warlocks or Light Domain clerics gain access.",
"example": "Sorcerer, Wizard, Fiend, Light Domain",
"type": "string",
"suggested": true
},
"class learns at level 9": {
"description": "This specifies what level the classes get access to this action at level 9. You can use subclass names such as \"Fiend\" or \"Light Domain\" to indicate that Fiend Warlocks or Light Domain clerics gain access.",
"example": "Sorcerer, Wizard, Fiend, Light Domain",
"type": "string",
"suggested": true
},
"class learns at level 10": {
"description": "This specifies what level the classes get access to this action at level 10. You can use subclass names such as \"Fiend\" or \"Light Domain\" to indicate that Fiend Warlocks or Light Domain clerics gain access.",
"example": "Sorcerer, Wizard, Fiend, Light Domain",
"type": "string",
"suggested": true
},
"class learns at level 11": {
"description": "This specifies what level the classes get access to this action at level 11. You can use subclass names such as \"Fiend\" or \"Light Domain\" to indicate that Fiend Warlocks or Light Domain clerics gain access.",
"example": "Sorcerer, Wizard, Fiend, Light Domain",
"type": "string",
"suggested": true
},
"class learns at level 12": {
"description": "This specifies what level the classes get access to this action at level 12. You can use subclass names such as \"Fiend\" or \"Light Domain\" to indicate that Fiend Warlocks or Light Domain clerics gain access.",
"example": "Sorcerer, Wizard, Fiend, Light Domain",
"type": "string",
"suggested": true
},
"race learns at level 1": {
"description": "This specifies what level the races get access to this action at level 1. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 2": {
"description": "This specifies what level the races get access to this action at level 2. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 3": {
"description": "This specifies what level the races get access to this action at level 3. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 4": {
"description": "This specifies what level the races get access to this action at level 4. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 5": {
"description": "This specifies what level the races get access to this action at level 5. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 6": {
"description": "This specifies what level the races get access to this action at level 6. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 7": {
"description": "This specifies what level the races get access to this action at level 7. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 8": {
"description": "This specifies what level the races get access to this action at level 8. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 9": {
"description": "This specifies what level the races get access to this action at level 9. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 10": {
"description": "This specifies what level the races get access to this action at level 10. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 11": {
"description": "This specifies what level the races get access to this action at level 11. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"type": "string",
"suggested": false
},
"race learns at level 12": {
"description": "This specifies what level the races get access to this action at level 12. You can use subrace names such as \"Wood Elf\" or \"Seldarine Drow\" as well.",
"example": "Elf, Seldarine Drow",
"example": "Elf, Seldarine Drow",
"type": "string",
"type": "string",
Line 829: Line 962:
}
}
},
},
"description": "This is a page to transclude to generate action pages. Though this does contain a superset of the features for them, this is generally for pages that do not fit Template:SpellPage or Template:WeaponActionPage. It will automatically categorize the page based on the action type and what can learn it. There is no need to add categories yourself unless it is for something similar to Category:Bugs. You can make a page for a passive feature as well, simply leave the cost parameter blank.",
"description": "This generates pages that don't fit other generators, automatically formatting and categorizing the page. Don't be daunted by the number of parameters/options and fill in what you need.",
"format": "block",
"format": "block",
"paramOrder": [
"paramOrder": [
"this is an example",
"summary",
"summary",
"description",
"description",
Line 884: Line 1,016:
"higher levels",
"higher levels",
"variants",
"variants",
"class learns at level X",
"class learns at level 1",
"race learns at level X",
"class learns at level 2",
"class learns at level 3",
"class learns at level 4",
"class learns at level 5",
"class learns at level 6",
"class learns at level 7",
"class learns at level 8",
"class learns at level 9",
"class learns at level 10",
"class learns at level 11",
"class learns at level 12",
"race learns at level 1",
"race learns at level 2",
"race learns at level 3",
"race learns at level 4",
"race learns at level 5",
"race learns at level 6",
"race learns at level 7",
"race learns at level 8",
"race learns at level 9",
"race learns at level 10",
"race learns at level 11",
"race learns at level 12",
         "granted by feats",
         "granted by feats",
         "granted by items",
         "granted by items",
         "granted by spells",
         "granted by spells",
"notes",
"notes",
"video"
"video",
"this is an example"
]
]
}
}