Template:Name
Jump to navigation
Jump to search
[[|]]
Usage
{{Name|''item name''|''amount''}} {{Name|Wheat}} {{Name|Wheat|30}} WHEN IMAGE HAS A DIFFERENT NAME FROM THE LINK PAGE {{Name|Wild Wheat|<!-- 2 empty -->|Wheat}} {{Name|Wild Wheat|30|Wheat}} {{Name|Wild Wheat|30|Wheat|Wild Wheat}}
Optional Parameters
All Optional Parameters if used together with "quantity" should be placed after the quantity value!
- size: the image size to be displayed (example: size=48)
- image: an alternative image to display (example: image=Angler.png)
- link: replace the name with a link to another page
- class: alternative classes. Currently there is only inline to suppress line break (example: class=inline)
Examples
1. shows the Wheat icon and links to Wheat page. {{Name|Wheat}} 2. shows the Wheat icon, links to Wheat page and shows the number as well. {{Name|Wheat|30}} 3. shows the Wild Wheat icon and links to Wheat page. {{Name|Wild Wheat||Wheat}} 4. shows the Wild Wheat icon, links to Wheat page and shows the number. {{Name|Wild Wheat|30|Wheat}} 5. shows the Wild Wheat icon, links to Wheat page but shows Wild Wheat as the name. {{Name|Wild Wheat||Wheat|Wild Wheat}}
1.
Wheat
2.
Wheat (30)
3.
Wheat
4.
Wheat (30)
5.
Wild Wheat