Template:Grid/icon

From Mo' Creatures Wiki
Jump to: navigation, search
MediaWiki logo.png
This template uses a complex MediaWiki Script, guided by Extensions. Please see wp:MediaWiki and mw:Extensions to learn more.
[view | edit | history | purge]Documentation

This template is used to create images for Grid Templates such as {{Crafting}}, {{Smelting}}, and more.

Usage[edit source]

All inputs are optional.

{{Grid/icon
|[Title]Name,Amount[Description]
|Top=Distance from top of the page
|Left=Distance from left of the page
|Position=Sets the position of the icon
}}

Simple Example[edit source]

To display a normal inventory item of "Lollipop Seeds" you would put:
{{Grid/icon|Lollipop Seeds}}

Shows[edit source]

32px


Stacking [edit source]

To display an inventory item of "Marshmallow Planks" with an stack size of 2 you would put:
{{Grid/icon|Marshmallow Planks,2}}

Shows[edit source]

32px


An amount of 2–999 is supported, anything else will not be displayed.

Title[edit source]

The first bracketed text can be used to specify a title for each frame individually, and also supports standard formatting codes using & instead of §. If the title only contains formatting codes and no actual text, the formatting will be added to the normal title.
{{Grid/icon|[&b]Jelly Queen's Secret Record}}

Shows[edit source]

32px


The last bracketed text can be used to specify a description, this also supports standard formatting codes, and can also have multiple lines by using forward slashes (/).
{{Grid/icon|[&o&bMorning Hacker]PEZ Sword[&7Sharpness V/Fire Aspect II/Unbreaking III/Looting III//&9+13.65 Attack Damage/+10 Reach/+2 Kill Aura/+5 Bhop Intelligence]}}

Shows[edit source]

32px


The first bracketed text or the last one do not have to be displayed at all times if not necessary.
{{Grid/icon|PEZ Pickaxe[/&9+5 Attack Damage]}}

Shows[edit source]

32px



{{Grid/icon|[&oHoney Miner]Honeycomb Pickaxe}}

Shows[edit source]

32px


All of the functions can be applied together the functions are: [title]name,amount[text] .
{{Grid/icon|[&6H&eo&6n&ee&6y]Honeycomb,4[&7You smell sweetness]}}

Shows[edit source]

Honeycomb JE2 BE2.png


Complex Examples[edit source]

A Gift For Christmas![edit source]

{{Grid/icon|[&cA &rg&ci&rf&ct &rf&co&rr &cC&rh&cr&ri&cs&rt&cm&ra&cs]Candy Cane,16}}

Shows[edit source]
32px


Wynncraft Detlas' Legacy Wand (Magician/Dark Wizard)[edit source]

{{Grid/icon|[&bUnidentified Wand]Wand (Wynncraft)[&7This item's powers have/beed sealed. Take it to/an identifier to/unlock its potential.//&aInfo:/- &7Lv. Range: &r24-28/&a- &7Tier: &bLegendary]}}

Shows[edit source]

32px


Wynncraft Az Bow (Archer/Hunter)[edit source]

{{Grid/icon|[&5Az]Caramel Bow[&7Super Fast Attack Speed//&6✤ Neutral Damage: 40-120/&e✦ Thunder &7Damage: 1-500//&a✓&7 Class Req: Archer ⁄ Hunter/&a✓&7 Lv. Min: 74/&a✓&7 Dexterity Min: 80//&a+9%&7 XP Bonus/&a+5%&7 Thunder Damage/&a+10%&7 Fire Damage/&a+4%&7 Water Damage/&a+2&7 Dexterity//[0 ⁄ 2] Slots/&5Mythic Item]}}

Shows[edit source]

32px


Hypixel SkyWars (Notoriety perk Mega)[edit source]

{{Grid/icon|[&aNotoriety IV]PEZ Helmet[&7Chance to add one level of/sharpness to your sword/after every kill with it./(8%)//Rarity: &6LEGENDARY/&7Cost: &6100000//&aClick to purchase!}}

Shows[edit source]

32px


Colour Formatting Codes[edit source]

Code Official Name Technical Name Text Color Shadow Color
R G B Hex R G B Hex
&0 Black black 0 0 0 000000 0 0 0 000000
&1 Dark Blue dark_blue 0 0 170 0000AA 0 0 42 00002A
&2 Dark Green dark_green 0 170 0 00AA00 0 42 0 002A00
&3 Dark Aqua dark_aqua 0 170 170 00AAAA 0 42 42 002A2A
&4 Dark Red dark_red 170 0 0 AA0000 42 0 0 2A0000
&5 Dark Purple dark_purple 170 0 170 AA00AA 42 0 42 2A002A
&6 Gold gold 255 170 0 FFAA00 42 42 0 2A2A00
&7 Gray gray 170 170 170 AAAAAA 42 42 42 2A2A2A
&8 Dark Gray dark_gray 85 85 85 555555 21 21 21 151515
&9 Blue blue 85 85 255 5555FF 21 21 63 15153F
&a Green green 85 255 85 55FF55 21 63 21 153F15
&b Aqua aqua 85 255 255 55FFFF 21 63 63 153F3F
&c Red red 255 85 85 FF5555 63 21 21 3F1515
&d Light Purple light_purple 255 85 255 FF55FF 63 21 63 3F153F
&e Yellow yellow 255 255 85 FFFF55 63 63 21 3F3F15
&f White white 255 255 255 FFFFFF 63 63 63 3F3F3F

Custom made (CandyCraft wiki exclusive only:)

Code Official Name Text Color Shadow Color
R G B Hex R G B Hex
&p Pink 247 178 223 F7B2DF 114 36 114 722472

Example of Custom Made Color Code[edit source]

{{Grid/icon|[&pKrafty Caen]Candy Cane[&7Very Slow Attack Speed//&6✤ Neutral Damage: 50-200/&b❉ Water &7Damage: 1-300//&a✓&7 Class Req: Mage ⁄ Dark Wizard/&a✓&7 Lv. Min: 60/&a✓&7 Intelligence Min: 40//&a+29%&7 Loot Bonus/&a+27%&7 Water Damage/&c-10%&7 Fire Damage/&a+11&2***&7 Intelligence//[0 ⁄ 2] Slots/&pCustom Item}}

Shows[edit source]

32px


Main Usage[edit source]

This template is mainly used in bigger templates such as {{Grid/Crafting}}.

See also[edit source]

[view | edit | history | purge]The above documentation is transcluded from Template:Grid/icon/doc.