Template:Property/value
Template page
More actions
Convenience primitive: returns the value of a property on a page.
Thin wrapper around ``. Use in hand-written custom display templates (pages where `Has display template` points to user wikitext) so authors don't have to remember `#show` syntax or the `` trick for stripping `Property:` prefixes.
Auto-generated dispatcher templates do not use this — they bake values inline for the fast path — so there is no per-render overhead to keeping this around.
Parameters:
- prop - Property page reference (namespaced `Property:Has_title` or
bare `Has_title` both accepted).
- page - Page (or subobject fragment, e.g. `MyPage#_abc`) to read the
value from. Defaults to Template:Property/value.
Example — in a custom display template:
Title: Chapter summary: