Difference between revisions of "Template:Property"

From Open Food Facts wiki
Jump to navigation Jump to search
(First version)
 
(Fix issue)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template adds a link and a format to a property build for [[Folksonomy_Engine]].
+
This template adds a link and a format to 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}}
+
Result: {{property|packaging:has character}}
  
</noinclude><code>[[Folksonomy/Property/{{1}}]]</code>
+
</noinclude><code>[[Folksonomy/Property/{{{1}}}|{{{1}}}]]</code>

Revision as of 10:31, 15 September 2021

This template adds a link and a format to a property build for Folksonomy Engine.

Syntax

  {{property
  |property_name
  }}

Example

  {{property 
  |packaging:has character
  }}

Result: packaging:has character

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