Difference between revisions of "Template:Semantic Substatement"

From KIproBatt Wiki
(Created page with " {| class="wikitable" |- ! property / quantity | {{{property|{{{quantity|}}}}}} |- ! object / value | {{{object|{{{value|}}}}}} {{{unit|}}} |} {{#subproperty:...")
Tag: 2017 source edit
 
(make public readable)
Tag: 2017 source edit
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<noinclude>{{AccessControl/Public}}
 +
This is the "Semantic Substatement" template.
 +
It should be called in the following format:
 +
<pre>
 +
{{Semantic Substatement
 +
|property=
 +
|object=
 +
}}
 +
</pre>
 +
Edit the page to see the template text.
 +
</noinclude><includeonly>
  
  
Line 11: Line 22:
  
 
|}
 
|}
{{#subproperty:  
+
{{#subobject:  
|Has property={{{property|{{{quantity|}}}}}}
+
|Has property=Property:{{#replace:{{{property|{{{quantity|}}}}}}|Property:|}}
 
|Has object={{{object|{{{value|}}}}}} {{{unit|}}}
 
|Has object={{{object|{{{value|}}}}}} {{{unit|}}}
 +
|{{#replace:{{{property|{{{quantity|}}}}}}|Property:|}}={{{object|{{{value|}}}}}} {{{unit|}}}
 
}}
 
}}
 +
</includeonly>

Latest revision as of 06:03, 28 May 2022

This is the "Semantic Substatement" template. It should be called in the following format:

{{Semantic Substatement
|property=
|object=
}}

Edit the page to see the template text.