Template:Ability: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox|title={{{title1|{{PAGENAME}}}}}|image={{{image1}}}|content= | <includeonly>{{Infobox|title={{{title1|{{{title|{{PAGENAME}}}}}}}}|image={{{image1|{{{image|}}}}}}|caption={{{caption|{{{caption1|}}}}}}|content={{Infobox/row|Effect|{{{trait|}}}{{{description|}}}}}{{Infobox/row|Origin|{{{origin|}}}}}{{Infobox/row|Power|{{{power|}}}}}{{Infobox/row|Rarity|{{{rarity|}}}}}{{Infobox/row|Destructive Power|{{{destructive_power|}}}}}}}</includeonly><noinclude> | ||
{{Infobox/row| | <templatedata> | ||
{{Infobox/row|Origin|{{{origin|}}}}} | { | ||
{{Infobox/row|Power|{{{power|}}}}} | "params": { | ||
{{Infobox/row|Rarity|{{{rarity|}}}}} | "origin": { | ||
{{Infobox/row| | "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": [ | |||
"title1 (deprecated)" | |||
], | |||
"description": "The name of this ability", | |||
"example": "Divine Fertility Dividing", | |||
"type": "string" | |||
}, | |||
"image": { | |||
"aliases": [ | |||
"image1 (deprecated)" | |||
], | |||
"description": "The image to show for this ability", | |||
"example": "Dfd-0.png", | |||
"required": true | |||
}, | |||
"description": { | |||
"aliases": [ | |||
"trait (deprecated)" | |||
], | |||
"description": "What does this ability do?", | |||
"example": "Halves the Fertility of someone in contact every 10 seconds" | |||
}, | |||
"caption": { | |||
"description": "Caption to show below the image." | |||
} | |||
}, | |||
"description": "Template used to display abilities. Only the image is required. The title defaults to the pagename. For backwards-compatibility, ‘title1’, ‘image1’, and ‘trait’ are also accepted instead of ‘title’, ‘image’, and ‘description’, 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", | |||
"caption", | |||
"description", | |||
"origin", | |||
"power", | |||
"rarity", | |||
"destructive_power" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 15:23, 16 August 2024
Template used to display abilities. Only the image is required. The title defaults to the pagename. For backwards-compatibility, ‘title1’, ‘image1’, and ‘trait’ are also accepted instead of ‘title’, ‘image’, and ‘description’, 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 | optional |
image | image image1 (deprecated) | The image to show for this ability
| Unknown | required |
caption | caption | Caption to show below the image. | Unknown | optional |
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 |