Template:Disease/doc: Difference between revisions
Jump to navigation
Jump to search
| 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 23: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}} ⇒ http://cdn.projectgorgon.com/v446/icons/icon_Error: Disease not found.png |
Error: Disease not found }}
- Complex example
- Use alternate icon and link with alternate text.
Code = Output {{Disease|Icon=Aged 2|Aged}} ⇒ http://cdn.projectgorgon.com/v446/icons/icon_Error: Disease not found.png |
Error: Disease not found }}
Notes
- Uses the Template:Disease icon template.