Changes

Jump to navigation Jump to search
597 bytes added ,  07:03, 16 September 2021
Typo + Issues section
Line 1: Line 1:  
<noinclude>
 
<noinclude>
This template adds a link and a format to a property build for [[Folksonomy_Engine]].
+
This template creates a link for a property build for [[Folksonomy Engine]].
    
== Syntax ==
 
== Syntax ==
 
<pre>
 
<pre>
 
   {{property
 
   {{property
   | property_name
+
   |property_name
 
   }}
 
   }}
 
</pre>
 
</pre>
Line 12: Line 12:  
<pre>
 
<pre>
 
   {{property  
 
   {{property  
   | packaging:has character
+
   |packaging:has_character
 
   }}
 
   }}
 
</pre>
 
</pre>
   −
Result: {{property | packaging:has character}}
+
or, might be easier to read:
 +
<pre>
 +
  {{property|packaging:has_character}}
 +
</pre>
 +
 
 +
'''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>
   −
</noinclude><code>[[Folksonomy/Property/{{1}}]]</code>
+
== Code ==
 +
</noinclude><code>[[Folksonomy/Property/{{{1}}}|{{{1}}}]]</code>

Navigation menu