Difference between revisions of "Template:Property"
Jump to navigation
Jump to search
(Fix issue) |
(Typo + Issues section) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This template | + | This template creates a link for a property build for [[Folksonomy Engine]]. |
== Syntax == | == Syntax == | ||
Line 21: | Line 21: | ||
</pre> | </pre> | ||
− | '''Result''': {{property|packaging: | + | '''Result''': {{property|packaging:has_character}} |
+ | == Issues, questions or todo == | ||
+ | * What about linking to a page in another language? | ||
+ | == See also == | ||
+ | * https://wiki.openstreetmap.org/wiki/Template:Tag | ||
+ | |||
+ | == TemplateData == | ||
+ | <templatedata> | ||
+ | { | ||
+ | "description": "This template creates a link for a property build for Folksonomy Engine.", | ||
+ | "params": { | ||
+ | "1": { | ||
+ | "label": "Property name", | ||
+ | "description": "The name of the property", | ||
+ | "type": "string", | ||
+ | "required": true | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | </templatedata> | ||
+ | |||
+ | == Code == | ||
</noinclude><code>[[Folksonomy/Property/{{{1}}}|{{{1}}}]]</code> | </noinclude><code>[[Folksonomy/Property/{{{1}}}|{{{1}}}]]</code> |
Latest revision as of 07:03, 16 September 2021
This template creates a link for a property build for Folksonomy Engine.
Syntax
{{property |property_name }}
Example
{{property |packaging:has_character }}
or, might be easier to read:
{{property|packaging:has_character}}
Result: packaging:has_character
Issues, questions or todo
- What about linking to a page in another language?
See also
TemplateData
This template creates a link for a property build for Folksonomy Engine.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Property name | 1 | The name of the property | String | required |
Code
[[Folksonomy/Property/{{{1}}}|{{{1}}}]]