Difference between revisions of "Template:Infobox Equipment"
Jump to navigation
Jump to search
m (Added enchantment/set bonus) |
m (Added market price) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <includeonly>{{Infobox |
− | + | | autoheaders = y | |
− | + | | title = {{{title|{{PAGENAME}}}}} | |
− | + | | image = {{#if: {{{image|}}}|<img src="{{{image}}}" height="auto" width="130">|{{img|{{PAGENAME}}|130}}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == | + | | label1 = {{img|gold coin}} |
− | + | | data1 = {{{gold|}}} | |
− | + | | label2 = {{img|marketplace}} | |
− | {{ | + | | data2 = {{market|{{{market|{{PAGENAME}}}}}|1|1}} |
− | | | + | | label3 = Level Required |
− | | | + | | data3 = {{{level-req|}}} |
− | | | + | | label4 = Source |
− | |level-req = | + | | data4 = {{{source|}}} |
− | |source = | + | | label5 = Slot |
− | |slot = | + | | data5 = {{{slot|}}} |
− | |atk-speed = | + | | label6 = Attack Speed |
− | |atk-type = | + | | data6 = {{{atk-speed|}}} |
− | |aug-slots = | + | | label7 = Attack Type |
− | |enchantments = | + | | data7 = {{{atk-type|}}} |
− | |acc = | + | | label8 = Enchantment Slots |
− | |melee-str = | + | | data8 = {{{aug-slots|}}} |
− | |magic-str = | + | | label9 = Enchantments |
− | |range-str = | + | | data9 = {{{enchantments|}}} |
− | | | + | | header20 = Offensive Stats |
− | |def-stab = | + | | slabel21 = Accuracy |
− | |def-slash = | + | | sdata21 = {{{acc|}}} |
− | |def-crush = | + | | slabel22 = Melee Str |
− | |def-magic = | + | | sdata22 = {{{melee-str|}}} |
− | |def-range = | + | | slabel23 = Magic Str |
− | |miscname1 = | + | | sdata23 = {{{magic-str|}}} |
− | | | + | | slabel24 = Range Str |
− | | | + | | sdata24 = {{{range-str|}}} |
− | | | + | | header30 = Defensive Stats |
− | |miscname3 = | + | | slabel31 = Stab |
− | | | + | | sdata31 = {{{def-stab|}}} |
− | | | + | | slabel32 = Slash |
− | | | + | | sdata32 = {{{def-slash|}}} |
− | | | + | | slabel33 = Crush |
− | |aug- | + | | sdata33 = {{{def-crush|}}} |
− | |aug- | + | | slabel34 = Magic |
− | |aug-magic = | + | | sdata34 = {{{def-magic|}}} |
− | |aug-range = | + | | slabel35 = Range |
− | |aug- | + | | sdata35 = {{{def-range|}}} |
− | |aug- | + | | sbreak50 = yes |
− | |aug-magic | + | | slabel51 = {{{miscname1|}}} |
− | |aug-range | + | | sdata51 = {{{miscstat1|}}} |
− | |aug-miscname1 | + | | slabel52 = {{{miscname2|}}} |
− | |aug-miscstat1 | + | | sdata52 = {{{miscstat2|}}} |
− | |aug-miscname2 | + | | sbreak60 = yes |
− | |aug-miscstat2 = | + | | slabel61 = {{{miscname3|}}} |
− | |aug-miscname3 | + | | sdata61 = {{{miscstat3|}}} |
− | |aug-miscstat3 | + | | slabel62 = {{{miscname4|}}} |
− | |aug-miscname4 | + | | sdata62 = {{{miscstat4|}}} |
− | |aug-miscstat4 = | + | | header70 = Augment Bonus |
− | |aug-cost = | + | | slabel71 = Accuracy |
+ | | sdata71 = {{{aug-acc|}}} | ||
+ | | slabel72 = Melee Str | ||
+ | | sdata72 = {{{aug-melee-str|}}} | ||
+ | | slabel73 = Magic Str | ||
+ | | sdata73 = {{{aug-magic-str|}}} | ||
+ | | slabel74 = Range Str | ||
+ | | sdata74 = {{{aug-range-str|}}} | ||
+ | | sbreak80 = yes | ||
+ | | slabel81 = Stab | ||
+ | | sdata81 = {{{aug-stab|}}} | ||
+ | | slabel82 = Slash | ||
+ | | sdata82 = {{{aug-slash|}}} | ||
+ | | slabel83 = Crush | ||
+ | | sdata83 = {{{aug-crush|}}} | ||
+ | | slabel84 = Magic | ||
+ | | sdata84 = {{{aug-magic|}}} | ||
+ | | slabel85 = Range | ||
+ | | sdata85 = {{{aug-range|}}} | ||
+ | | sbreak100= yes | ||
+ | | slabel101= {{{aug-miscname1|}}} | ||
+ | | sdata101= {{{aug-miscstat1|}}} | ||
+ | | slabel102= {{{aug-miscname2|}}} | ||
+ | | sdata102= {{{aug-miscstat2|}}} | ||
+ | | sbreak110= yes | ||
+ | | slabel111= {{{aug-miscname3|}}} | ||
+ | | sdata111= {{{aug-miscstat3|}}} | ||
+ | | slabel112= {{{aug-miscname4|}}} | ||
+ | | sdata112= {{{aug-miscstat4|}}} | ||
+ | | data120= {{Infobox | subbox = yes | ||
+ | | bodystyle= padding: 0.5em; margin:auto; | ||
+ | | label1 = Aug. Cost | ||
+ | | data1 = {{{aug-cost|}}} | ||
+ | }} | ||
+ | | header130= Tooltip | ||
+ | | data131= {{Infobox | subbox = yes | ||
+ | | bodystyle= padding: 0.5em; margin:auto; font-style:italic; font-size:110%; text-align: center | ||
+ | | data1 = {{{tooltip|}}} | ||
}} | }} | ||
− | </ | + | }}</includeonly> |
− | + | <noinclude>{{Template:Infobox Equipment/doc}}</noinclude> | |
− | < | ||
− | |||
− | </noinclude> |
Latest revision as of 10:18, 13 February 2022
Infobox Equipment |
Usage
{{Infobox Equipment |title = Autofilled with pagename, only use this if custom name is needed |image = Autofilled with pagename, only use this if icon is not added to [[Template:img]] |gold = vendor sell price |market = Autofilled with pagename, enter market name if different from title |level-req = level required to use item |source = Source of item |slot = Helmet/Shield etc |atk-speed = Attack speed |atk-type = only needed for weapons or if armor gives attack bonus |aug-slots = Amount of enchantment slots |enchantments = Default enchantments or set bonuses |acc = Accuracy bonus |melee-str = Melee strength bonus |magic-str = Magic strength bonus |range-str = Range strength bonus |def-stats = Obsolete |def-stab = Stab stats |def-slash = Slash stats |def-crush = Crush stats |def-magic = Magic stats |def-range = Range stats |miscname1 = Name of first misc stat |miscstat1 = First misc stat |miscname2 = Name of second misc stat |miscstat2 = Second misc stat |miscname3 = Name of third misc stat |miscstat3 = Third misc stat |miscname4 = Name of fourth misc stat |miscstat4 = Fourth misc stat |aug-stab = stab aug bonus |aug-slash = slash aug bonus |aug-crush = crush aug bonus |aug-magic = magic aug bonus |aug-range = range aug bonus |aug-acc = Accuracy aug bonus |aug-melee-str = Melee strength aug bonus |aug-magic-str = Magic strength aug bonus |aug-range-str = Range strength aug bonus |aug-miscname1 = Name of first misc stat |aug-miscstat1 = first misc stat |aug-miscname2 = Name of second misc stat |aug-miscstat2 = second misc stat |aug-miscname3 = Name of third misc stat |aug-miscstat3 = third misc stat |aug-miscname4 = Name of fourth misc stat |aug-miscstat4 = fourth misc stat |aug-cost = Augment material cost |tooltip = In-game tooltip text if needed }}
Copy pasta code:
{{Infobox Equipment |title = |image = |gold = |market = |level-req = |source = |slot = |atk-speed = |atk-type = |aug-slots = |enchantments = |acc = |melee-str = |magic-str = |range-str = |def-stab = |def-slash = |def-crush = |def-magic = |def-range = |miscname1 = |miscstat1 = |miscname2 = |miscstat2 = |miscname3 = |miscstat3 = |miscname4 = |miscstat4 = |aug-stab = |aug-slash = |aug-crush = |aug-magic = |aug-range = |aug-acc = |aug-melee-str = |aug-magic-str = |aug-range-str = |aug-miscname1 = |aug-miscstat1 = |aug-miscname2 = |aug-miscstat2 = |aug-miscname3 = |aug-miscstat3 = |aug-miscname4 = |aug-miscstat4 = |aug-cost = |tooltip = }}