Difference between revisions of "Template:Property"

From Open Food Facts wiki
Jump to navigation Jump to search
(Added TemplateData)
(Add a description to TemplateData)
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 ==
Line 29: Line 29:
 
<templatedata>
 
<templatedata>
 
{
 
{
     "description": "",
+
     "description": "This template creates a link for a property build for [[Folksonomy Engine]].",
 
     "params": {
 
     "params": {
 
         "1": {
 
         "1": {

Revision as of 20:18, 15 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

See also

TemplateData

This template creates a link for a property build for [[Folksonomy Engine]].

Template parameters

ParameterDescriptionTypeStatus
Property name1

The name of the property

Stringoptional

Code

[[Folksonomy/Property/{{{1}}}|{{{1}}}]]