Difference between revisions of "Template:Infobox COW"

From COPTR
Jump to navigation Jump to search
(Semantic annotation of COW properties)
Line 3: Line 3:
 
<tr><td align="center" colspan="2">[[Image:{{{image}}}|100px|{{PAGENAME}}]]</td></tr>
 
<tr><td align="center" colspan="2">[[Image:{{{image}}}|100px|{{PAGENAME}}]]</td></tr>
 
}}
 
}}
<tr><td align="center" colspan="2">{{{name}}}</td></tr>
+
<tr><td align="center" colspan="2">{{{name}}}{{#if: {{{name|}}}|{{#set:Name={{{name}}}}}</td></tr>
{{#if:{{{status|}}}|
+
{{#if:{{{status|}}}|{{#set:Status={{{status}}}}}
 
<tr><td><small><b>Status:</b></small></td><td><small>{{{status|Unknown}}}</small></td></tr>
 
<tr><td><small><b>Status:</b></small></td><td><small>{{{status|Unknown}}}</small></td></tr>
 
}}
 
}}
 
{{#if:{{{tools|}}}|
 
{{#if:{{{tools|}}}|
<tr><td><small><b>Tools:</b></small></td><td><small>{{{tools|Unknown}}}</small></td></tr>
+
<tr><td><small><b>Tools:</b></small></td><td><small>{{#arraymap:{{{tools|}}}|,|xqqx|[[xqqx]]{{#set:Tools=xqqx}}|,|}}</small></td></tr>
 
}}
 
}}
{{#if:{{{input|}}}|
+
{{#if:{{{input|}}}|{{#set:Input={{{input}}}}}
 
<tr><td><small><b>Input:</b></small></td><td><small>{{{input|Unknown}}}</small></td></tr>
 
<tr><td><small><b>Input:</b></small></td><td><small>{{{input|Unknown}}}</small></td></tr>
 
}}
 
}}
{{#if:{{{output|}}}|
+
{{#if:{{{output|}}}|{{#set:Output={{{output}}}}}
 
<tr><td><small><b>Output:</b></small></td><td><small>{{{output|Unknown}}}</small></td></tr>
 
<tr><td><small><b>Output:</b></small></td><td><small>{{{output|Unknown}}}</small></td></tr>
 
}}
 
}}
{{#if:{{{organisation|}}}|
+
{{#if:{{{organisation|}}}|{{#set:Organisation={{{organisation}}}}}
<tr><td><small><b>Organisation:</b></small></td><td><small>{{{organisation|Unknown}}}</small></td></tr>
+
<tr><td><small><b>Organisation:</b></small></td><td><small>{{#if:{{{organisationurl|}}}|{{#set:OrganisationURL={{{organisationurl}}}}}[{{{organisationorl}}} {{{organisation}}}]|{{{organisation|Unknown}}}}}</small></td></tr>
 
}}
 
}}
 
</table>
 
</table>

Revision as of 13:36, 23 April 2021



{{{name}}}{{#if: |