Difference between revisions of "Template:Death by"

From Disobiki
Jump to navigation Jump to search
Line 45: Line 45:
 
| [[:Category: Death by axe|Death by axe]]
 
| [[:Category: Death by axe|Death by axe]]
 
|-  
 
|-  
| <code><nowiki>{{Death by|vampire|mutant|prefix=1|lower=1}}</nowiki></code>
+
| <code><nowiki>{{Death by|vampire|spear|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 spear|spear]]
 
|-  
 
|-  
 
| <code><nowiki>{{Death by mutant|mutilation|decapitation|display=0}}</nowiki></code>
 
| <code><nowiki>{{Death by mutant|mutilation|decapitation|display=0}}</nowiki></code>

Revision as of 12:11, 4 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|spear|prefix=1|lower=1}} death by vampire, spear
{{Death by mutant|mutilation|decapitation|display=0}} No output because display is disabled.