Difference between revisions of "Template:Death by"
Jump to navigation
Jump to search
Morbus Iff (talk | contribs) |
Morbus Iff (talk | contribs) |
||
Line 28: | Line 28: | ||
| '''display''' | | '''display''' | ||
| Optional; whether to display any text at all (ie., categorization only). | | Optional; whether to display any text at all (ie., categorization only). | ||
+ | |- | ||
+ | | '''prefix''' | ||
+ | | Optional; whether to preface the categories with "Death by". | ||
|} | |} | ||
Line 36: | Line 39: | ||
! style="text-align: left" | to get this: | ! style="text-align: left" | to get this: | ||
|- | |- | ||
− | | <code><nowiki>{{Death by|axe}}</nowiki></code> | + | | <code><nowiki>{{Death by|axe|}}</nowiki></code> |
+ | | [[:Category: Death by axe|axe]] | ||
+ | |- | ||
+ | | <code><nowiki>{{Death by|axe|prefix=1}}</nowiki></code> | ||
| [[:Category: Death by axe|Death by axe]] | | [[:Category: Death by axe|Death by axe]] | ||
|- | |- | ||
− | | <code><nowiki>{{Death by|vampire|mutant|lower=1}}</nowiki></code> | + | | <code><nowiki>{{Death by|vampire|mutant|prefix=1|lower=1}}</nowiki></code> |
| [[:Category: Death by vampire|death by vampire]], [[:Category: Death by mutant|mutant]] | | [[:Category: Death by vampire|death by vampire]], [[:Category: Death by mutant|mutant]] | ||
|- | |- |
Revision as of 12:38, 3 July 2010
This template handles categorization of a single death with up to five categories.
It is namespace aware, categorizing deaths into image categories as necessary.
For further discussion about death by category and usage, see the guidelines.
Usage
{{Death by|axe}} {{Death by|vampire|midget|lower=1}} {{Death by|mutant|mutilation|decapitation|display=0}}
Parameters
Note: * denotes required fields.
Parameter | Explanation |
---|---|
1 to 5 * | Insert one to five categories describing this death; only one is required. |
lower | Optional; whether to show "death by mutant" instead of "Death by mutant". |
display | Optional; whether to display any text at all (ie., categorization only). |
prefix | Optional; whether to preface the categories with "Death by". |
Examples
Type the following... | to get this: |
---|---|
{{Death by|axe|}}
|
axe |
{{Death by|axe|prefix=1}}
|
Death by axe |
{{Death by|vampire|mutant|prefix=1|lower=1}}
|
death by vampire, mutant |
{{Death by mutant|mutilation|decapitation|display=0}}
|
No output because display is disabled. |