Difference between revisions of "Template:Name"
(remove special treatment of hay) |
Margotbean (talk | contribs) (add dangerous monsers) |
||
Line 8: | Line 8: | ||
|warp totem beach=[[Warp Totem: Beach]] | |warp totem beach=[[Warp Totem: Beach]] | ||
|warp totem mountains=[[Warp Totem: Mountains]] | |warp totem mountains=[[Warp Totem: Mountains]] | ||
+ | |warp totem desert=[[Warp Totem: Desert]] | ||
|brown egg=[[Egg|Brown Egg]] | |brown egg=[[Egg|Brown Egg]] | ||
|large brown egg=[[Large Egg|Large Brown Egg]] | |large brown egg=[[Large Egg|Large Brown Egg]] | ||
Line 14: | Line 15: | ||
|secret note=[[Secret Notes|Secret Note]] | |secret note=[[Secret Notes|Secret Note]] | ||
|sturgeon roe=[[Roe|Sturgeon Roe]] | |sturgeon roe=[[Roe|Sturgeon Roe]] | ||
− | |||
|copper pan=[[Copper Pan|Panning]] | |copper pan=[[Copper Pan|Panning]] | ||
+ | |armored bug dangerous=[[Armored Bug (dangerous)]] | ||
+ | |bat dangerous=[[Bats|Bat (dangerous)]] | ||
+ | |bug dangerous=[[Bug (dangerous)]] | ||
+ | |cave fly dangerous=[[Cave Fly (dangerous)]] | ||
+ | |duggy dangerous=[[Duggy (dangerous)]] | ||
+ | |dust sprite dangerous=[[Dust Sprite (dangerous)]] | ||
+ | |frost bat dangerous=[[Bats|Frost Bat (dangerous)]] | ||
+ | |green slime dangerous=[[Slimes|Green Slime (dangerous)]] | ||
+ | |grub dangerous=[[Grub (dangerous)]] | ||
+ | |haunted skull dangerous=[[Haunted Skull (dangerous)]] | ||
+ | |lava crab dangerous=[[Lava Crab (dangerous)]] | ||
+ | |metal head dangerous=[[Metal Head (dangerous)]] | ||
+ | |mummy dangerous=[[Mummy (dangerous)]] | ||
+ | |rock crab dangerous=[[Rock Crab (dangerous)]] | ||
+ | |shadow brute dangerous=[[Shadow Brute (dangerous)]] | ||
+ | |shadow shaman dangerous=[[Shadow Shaman (dangerous)]] | ||
+ | |skeleton dangerous=[[Skeleton (dangerous)]] | ||
+ | |squid kid dangerous=[[Squid Kid (dangerous)]] | ||
+ | |stone golem dangerous=[[Stone Golem (dangerous)]] | ||
|#default=[[{{{1|}}}]]}}}}{{#if: {{{2|}}}| ({{{2|}}})|}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> | |#default=[[{{{1|}}}]]}}}}{{#if: {{{2|}}}| ({{{2|}}})|}}</span></includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
Revision as of 19:22, 31 December 2020
Description
This template is used to place the picture of a named item next to the name, resizes the image to 24px wide, makes the item name a link if there's an available article of the same name, and lastly places the third parameter in parenthesis to signify quantity, relationship or any other secondary detail. To refer to villagers and NPCs, use Template:NPC.
Image size can be adjusted by adding the parameter "size".
Use
This template can be used by entering the following onto a relevant page.
{{name|''item name''|''amount''}}
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)
- 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
{{name|Complete Breakfast|30}}
When used the parameters are not identified by name, but by order. Example use of this template;
{{name|Corn|30}}
Result: Corn (30)
{{name|Preserves Jar|3}}
Result: Preserves Jar (3)
Optional parameter examples:
Crafting recipe unlocked at {{name|Mining|Level 9|class=inline}}.
Result: Crafting recipe unlocked at Mining (Level 9).
Size can be defined by using the named parameter "size":
{{name|Apple|size=48}}
Result: Apple
{{name|Melon|3|size=48}}
Result: Melon (3)
{{name|Corn|3|link=Grape}}
Result: Grape (3)