Difference between revisions of "Template:Infobox tool"

From COPTR
Jump to navigation Jump to search
 
(9 intermediate revisions by 2 users not shown)
Line 19: Line 19:
 
{{#if:{{{language|}}}|  
 
{{#if:{{{language|}}}|  
 
<tr><td><small><b>Language:</b></small></td><td><small>{{{language|Unknown}}}</small></td></tr>
 
<tr><td><small><b>Language:</b></small></td><td><small>{{{language|Unknown}}}</small></td></tr>
 +
}}
 +
{{#if:{{{Wikidata ID|}}}| {{#set: Wikidata ID = {{{Wikidata ID}}} }}
 +
<tr><td><small><b>Wikidata ID:</b></small></td><td><small>[https://www.wikidata.org/wiki/{{{Wikidata ID}}} {{{Wikidata ID}}}]</small></td></tr>
 
}}
 
}}
 
{{#if:{{{formats_in|}}}|
 
{{#if:{{{formats_in|}}}|
<tr><td><small><b>Input Formats:</b></small></td><td><small>{{{formats_in|Unknown}}}</small></td></tr>
+
<tr><td><small><b>Input Formats:</b></small></td><td><small>{{#arraymap:{{{formats_in|}}}|,|xqqx|{{#formredlink:target=xqqx|form=Format}}{{#set:Input format=xqqx}} }}</ul></small></td></tr>
 
}}
 
}}
 
{{#if:{{{formats_out|}}}|
 
{{#if:{{{formats_out|}}}|
<tr><td><small><b>Output Formats:</b></small></td><td><small>{{{formats_out|Unknown}}}</small></td></tr>
+
<tr><td><small><b>Output Formats:</b></small></td><td><small>{{#arraymap:{{{formats_out|}}}|,|xqqx|{{#formredlink:target=xqqx|form=Format}}{{#set:Output format=xqqx}} }}</small></td></tr>
 
}}
 
}}
 
{{#if:{{{function|}}}|
 
{{#if:{{{function|}}}|
<tr><td><small><b>Function:</b></small></td><td><small>{{#arraymap: {{{function|}}}|,|xqqx|[[xqqx]]{{#set: Function=xqqx }} {{#switch: xqqx|Fixity Verification=[[Category:Fixity]]|[[Category:xqqx]]}}|, }}</small></td></tr>
+
<tr><td><small><b>Function:</b></small></td><td><small>{{#arraymap: {{{function|}}}|,|xqqx|[[xqqx]]{{#set: Function=xqqx }} {{#switch: xqqx|Fixity Verification=[[Category:Fixity]]|[[Category:xqqx]]}}|, }}</small></td></tr>|[[Category:Tools without Function]]
 
}}
 
}}
 
{{#if:{{{content|}}}|
 
{{#if:{{{content|}}}|
<tr><td><small><b>Content type:</b></small></td><td><small>{{#arraymap: {{{content|}}}|,|xqqx|[[xqqx]]{{#set: Content=xqqx }} [[Category:xqqx]]|, }}</small></td></tr>
+
<tr><td><small><b>Content type:</b></small></td><td><small>{{#arraymap: {{{content|}}}|,|xqqx|[[xqqx]]{{#set: Content=xqqx }} [[Category:xqqx]]|, }}</small></td></tr>|[[Category:Tools without Content Type]]
 +
}}
 +
{{#if:{{#ask: [[Category:COW Workflows]] [[Tools::{{PAGENAME}}]]}}|
 +
<tr><td><small><b>Appears in [[Workflow:Community_Owned_Workflows|COW]]:</b></small></td><td><small>{{#ask: [[Category:COW Workflows]] [[Tools::{{PAGENAME}}]]|limit=500|format=list}}</small></td></tr>
 
}}
 
}}
 
</table>
 
</table>

Latest revision as of 12:38, 20 October 2021

{{{purpose}}}
Homepage:Unknown