Guide to Metadata: Difference between revisions

44 bytes removed ,  11:54, 26 August 2022
m
mNo edit summary
 
Line 21: Line 21:
{{{1|}}}}}</includeonly><noinclude>{{:{{FULLPAGENAME}}|format=MetaData/Items}}</noinclude></nowiki></code>
{{{1|}}}}}</includeonly><noinclude>{{:{{FULLPAGENAME}}|format=MetaData/Items}}</noinclude></nowiki></code>


It's probably a bit overkill using this, but generally it's best to just copy the metadata of a similar item and editing it. For example, if you're making the metadata for {{MetaInline|Sunglasses}} your best bet is to copy the metadata of a close relative, such as {{MetaInline|Health Scanner HUD}}. Sometimes there is no close relatives, in that case just use the closest you have, or a multitude of them and combine bits and pieces to make it work. For example, a backpack has slots just like a toolbox, but a toolbox can't be worn. So ideally you could look at the toolbox and see that there's a "Slot" variable, which you can use for your backpack, and there's a "wearable" variable in the Welding Helmet metadata. More importantly, the backpack belongs to the same category as the welding helmet, namely "Clothing and Accessories" which you absolutely should copy over.
It's probably a bit overkill using this, but generally it's best to just copy the metadata of a similar item and editing it. For example, if you're making the metadata for {{MetaInline|Sunglasses}} your best bet is to copy the metadata of a close relative. Sometimes there is no close relatives, in that case just use the closest you have, or a multitude of them and combine bits and pieces to make it work. For example, a backpack has slots just like a toolbox, but a toolbox can't be worn. So ideally you could look at the toolbox and see that there's a "Slot" variable, which you can use for your backpack, and there's a "wearable" variable in the Welding Helmet metadata. More importantly, the backpack belongs to the same category as the welding helmet, namely "Clothing and Accessories" which you absolutely should copy over.


Anyway, enough rambling here's an example from {{MetaInline|Science Goggles}}:
Anyway, enough rambling here's an example from {{MetaInline|Science Goggles}}:
Line 43: Line 43:


Don't forget to add <nowiki>"[[Category:Items]]"</nowiki> to the bottom of the page.
Don't forget to add <nowiki>"[[Category:Items]]"</nowiki> to the bottom of the page.


= TL;DR =
= TL;DR =
Wiki Staff
6,187

edits