65,096
editsMore actions
More robust autocategorization
HiddenDragon (talk | contribs) m (Added condition radius support) |
HiddenDragon (talk | contribs) (More robust autocategorization) |
||
(One intermediate revision by the same user not shown) | |||
Line 143: | Line 143: | ||
</div> | </div> | ||
}} | }} | ||
{{Main only|{{#switch:{{{type}}} | {{Main namespace only|{{#switch:{{{type}}} | ||
| Misc = [[Category:Misc items]] | | Misc = [[Category:Misc items]] | ||
| Alchemy Extracts|Alchemical Extracts = [[Category:Alchemical extracts]] | | Alchemy Extracts|Alchemical Extracts = [[Category:Alchemical extracts]] | ||
| Alchemy Ingredients|Alchemical Ingredients = [[Category:Alchemical ingredients]] | | Alchemy Ingredients|Alchemical Ingredients = [[Category:Alchemical ingredients]] | ||
| #default = [[Category:{{{type}}}]] | | #default = [[Category:{{{type}}}]] | ||
}}{{# | }}{{#switch: {{lc:{{{rarity|}}}}} | ||
| common = [[Category:Common items]] | |||
| uncommon = [[Category:Uncommon items]] | |||
| rare = [[Category:Rare items]] | |||
| very rare = [[Category:Very rare items]] | |||
| legendary = [[Category:Legendary items]] | |||
| story = [[Category:Story items]] | |||
| #default = [[Category:Common items]]}} | |||
{{ItemIcon Insert| | |||
|icon={{{icon|}}} | |icon={{{icon|}}} | ||
|image={{{controller icon|}}} | |image={{{controller icon|}}} | ||
|uid={{{uid|}}} | |uid={{{uid|}}} | ||
|rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}} | |rarity={{#if:{{{rarity|}}}|{{{rarity}}}|common}} | ||
}} | }}{{#cargo_store: | ||
_table=misc_items | _table=misc_items | ||
|name = {{{name | {{#titleparts: {{PAGENAME}} }} }}} | |name = {{{name | {{#titleparts: {{PAGENAME}} }} }}} | ||
Line 162: | Line 169: | ||
|price = {{{price|0}}} | |price = {{{price|0}}} | ||
|weight_kg = {{{weight kg|}}} | |weight_kg = {{{weight kg|}}} | ||
}} }}</includeonly><noinclude>{{documentation}}{{#cargo_declare: | }} | ||
}}</includeonly><noinclude>{{documentation}}{{#cargo_declare: | |||
_table=misc_items | _table=misc_items | ||
|name = String (mandatory) | |name = String (mandatory) |