Template:Prop: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(Created page with "<noinclude>This template is used by Lua modules to scrape metadata from a page. The result of expanding the template on a page is a no-op.</noinclude>")
 
(show value if hide isn't provided; add documentation)
 
Line 1: Line 1:
<noinclude>This template is used by Lua modules to scrape metadata from a page. The result of expanding the template on a page is a no-op.</noinclude>
<includeonly>{{#if:{{{hide|}}}||{{{2}}}}}</includeonly><noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 02:51, June 26, 2020

[Edit Documentation] This template is used to flag properties of an article's subject in a machine-readable way.

Usage

{{Prop| Prop | property_name | value | hide }}

  • property_name — Name of the property. Use underscores to achieve a property tree, e.g. variant_1_image.
  • value — Value of the property.
  • hide — If provided, value will not appear on the page. (Optional.)