Changes

Jump to: navigation, search

Template:Disease/doc

1,358 bytes added, 09:55, 17 July 2019
Added Documentation.
== 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 [[Template:Disease icon|Disease icon]] template.

== Syntax ==
:Type <nowiki>{{Disease|Disease name}}</nowiki> 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
:{| class="wikitable"
| Code
| {{=}}
| Output
|-
| {{tlc|Disease|Rotbelly}}
| &rArr;
| {{Disease|Rotbelly}}
|}
;Complex example
:Use alternate icon and link with alternate text.
:{| class="wikitable"
| Code
| {{=}}
| Output
|-
| {{tlc|Disese|<nowiki>Icon=Aged 2|Aged</nowiki>}}
| &rArr;
| {{Disease|Icon=Aged 2|Aged}}
|}

== Notes ==
* Uses the [[Template:Disease icon]] template.
<includeonly>
<!-- Categories/interwikis for the template itself -->
[[Category:Formatting templates|Item]]
</includeonly><noinclude>
<!-- Categories/interwikis for this documentation itself -->
[[Category:Template documentation|{{PAGENAME}}]]
</noinclude>

Navigation menu