Editing Template:AbilityIcon/docGive feedback
Jump to navigation
Jump to search
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
== Usage == | == Usage == | ||
This template creates a small ability icon. The label and link will be automatically translated on a language subpage. | This template creates a small ability icon. The label and link will be automatically translated on a language subpage. See: [[Module:Icon/data]]. | ||
== Examples == | == Examples == | ||
| Line 25: | Line 23: | ||
"description": "Custom text.", | "description": "Custom text.", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"size": { | "size": { | ||
| Line 39: | Line 28: | ||
"type": "string", | "type": "string", | ||
"description": "Icon size.", | "description": "Icon size.", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
" | "30px", | ||
"40px", | |||
"50px" | |||
] | ] | ||
}, | }, | ||
"no- | "no-link": { | ||
"description": "Removes the | "description": "Removes the link.", | ||
"type": "boolean", | "type": "boolean", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
| Line 60: | Line 46: | ||
"true" | "true" | ||
], | ], | ||
"description": " | "description": "Hides any text." | ||
} | } | ||
}, | }, | ||
"format": "inline", | "format": "inline", | ||
"description": "" | |||
"description": " " | |||
} | } | ||
</templatedata><includeonly>[[Category:Icon templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | </templatedata><includeonly>[[Category:Icon templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> | ||