Template:MetaData: Difference between revisions

From Yogstation-13
Jump to navigation Jump to search
mNo edit summary
m (Adding category specific meta data formatting)
Line 3: Line 3:
* Image (img) - {{#if:{{{img|}}}|{{#ifeq:{{{img}}}|false|[[:Category:No Image|No Image]]'''[[Category:No Image]]|[[File:{{{img}}}]] ('''[[:File:{{{img}}}|{{{img}}}]]''')}}|('''[[:Category:Unknown image|Unknown image]]''')[[Category:Unknown image]]}}
* Image (img) - {{#if:{{{img|}}}|{{#ifeq:{{{img}}}|false|[[:Category:No Image|No Image]]'''[[Category:No Image]]|[[File:{{{img}}}]] ('''[[:File:{{{img}}}|{{{img}}}]]''')}}|('''[[:Category:Unknown image|Unknown image]]''')[[Category:Unknown image]]}}
* Category (category) - '''[[:Category:{{{category|Uncategorised}}}|{{{category|Uncategorised}}}]]'''
* Category (category) - '''[[:Category:{{{category|Uncategorised}}}|{{{category|Uncategorised}}}]]'''
* Locations found in (found) - {{#if:{{{found|}}}|''{{{found}}}''|''unknown''[[Category:Unknown location found]]}}
 
* Used for (used) - {{#if:{{{used|}}}|''{{{used}}}''|''unknown''[[Category:Unknown purpose]]}}
 
* Examine text (examine) - {{#if:{{{examine|}}}|''{{{examine}}}''|''unknown''[[Category:Unknown examine text]]}}
{{#if:{{{category|}}}|
{{#if:{{{wearable|}}}|
Category specific metadata:
* Wearable? (wearable) - '''[[{{{wearable}}} slot|{{{wearable}}}]]'''|}}
{{MetaData/{{{category}}}||}}
* Respiratory/Toxin/Burn/Brute damage (resp/toxin/burn/brute) - {{{resp|0}}}/{{{toxin|0}}}/{{{burn|0}}}/{{{brute|0}}}


[{{purge}}] - Purge to clear the cache and rebuild page from the wikitext.
[{{purge}}] - Purge to clear the cache and rebuild page from the wikitext.

Revision as of 13:17, 23 August 2014

Used to display meta data on data pages