Template:Ability: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
{ | { | ||
"params": { | "params": { | ||
" | "origin": { | ||
"description": "Where did this ability come from / how did its user obtain it?", | |||
"example": "Granted by Odin" | |||
}, | |||
"power": { | |||
"description": "How powerful is this ability?", | |||
"example": "9/10" | |||
}, | |||
"rarity": { | |||
"description": "How rare is this ability", | |||
"example": "Only one user" | |||
}, | |||
"destructive_power": { | |||
"description": "How destructive is this ability", | |||
"example": "11/10" | |||
}, | |||
"title": { | |||
"aliases": [ | "aliases": [ | ||
" | "title1 (deprecated)" | ||
], | ], | ||
"description": "The name of this ability", | "description": "The name of this ability", | ||
Line 13: | Line 29: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "image": { | ||
"aliases": [ | "aliases": [ | ||
" | "image1 (deprecated)" | ||
], | ], | ||
"description": "The image to show for this ability", | "description": "The image to show for this ability", | ||
Line 21: | Line 37: | ||
"required": true | "required": true | ||
}, | }, | ||
" | "description": { | ||
"aliases": [ | "aliases": [ | ||
" | "trait (deprecated)" | ||
], | ], | ||
"description": "What does this ability do?", | "description": "What does this ability do?", | ||
"example": "Halves the Fertility of someone in contact every 10 seconds" | "example": "Halves the Fertility of someone in contact every 10 seconds" | ||
} | } | ||
} | }, | ||
"description": "Template used to display abilities. Only the image is required. The title defaults to the pagename. For backwards-compatibility, <code>title1</code>, <code>image1</code>, and <code>trait</code> are also accepted instead of <code>title</code>, <code>image</code>, and <code>description</code>, respectively; newer pages should always use the latter, and existing pages should be migrated to use the latter whenever they’re edited.", | |||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"description", | |||
"origin", | |||
"power", | |||
"rarity", | |||
"destructive_power" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 01:29, 26 June 2024
Ability
[[File:{{{image}}}]]
Template used to display abilities. Only the image is required. The title defaults to the pagename. For backwards-compatibility, <code>title1</code>, <code>image1</code>, and <code>trait</code> are also accepted instead of <code>title</code>, <code>image</code>, and <code>description</code>, respectively; newer pages should always use the latter, and existing pages should be migrated to use the latter whenever they’re edited.
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title title1 (deprecated) | The name of this ability
| String | required |
image | image image1 (deprecated) | The image to show for this ability
| Unknown | required |
description | description trait (deprecated) | What does this ability do?
| Unknown | optional |
origin | origin | Where did this ability come from / how did its user obtain it?
| Unknown | optional |
power | power | How powerful is this ability?
| Unknown | optional |
rarity | rarity | How rare is this ability
| Unknown | optional |
destructive_power | destructive_power | How destructive is this ability
| Unknown | optional |