Difference between revisions of "Template:Disease/doc"
From Project: Gorgon Wiki
m (→Sample output) |
m (→Sample output) |
||
Line 19: | Line 19: | ||
| Output | | Output | ||
|- | |- | ||
− | | {{ | + | | <nowiki>{{Disease|Rotbelly}}</nowiki> |
| ⇒ | | ⇒ | ||
| {{Disease|Rotbelly}} | | {{Disease|Rotbelly}} | ||
Line 30: | Line 30: | ||
| Output | | Output | ||
|- | |- | ||
− | | {{ | + | | <nowiki>{{Disease|Icon=Aged 2|Aged}}</nowiki> |
| ⇒ | | ⇒ | ||
| {{Disease|Icon=Aged 2|Aged}} | | {{Disease|Icon=Aged 2|Aged}} |
Latest revision as of 18:21, 17 June 2021
Description
- Use this template whenever you want to list a Disease (or Curse) on the wiki. This template will display the Disease's Icon followed by the name, which will be linked to an individual wiki page.
- If you only want to display a Disease's icon, or use a larger image of the icon, use the Disease icon template.
Syntax
- Type {{Disease|Disease name}} where you want the Disease icon and link to display.
Parameters
- Icon
- OPTIONAL name of icon to use if different than Disease name. There are only two Curses that will require this parameter.
- Disease name
- The correct capitalized name of the Disease or Curse.
Sample output
- Basic usage
Code = Output {{Disease|Rotbelly}} ⇒
- Complex example
- Use alternate icon and link with alternate text.
Code = Output {{Disease|Icon=Aged 2|Aged}} ⇒
Notes
- Uses the Template:Disease icon template.