Difference between revisions of "Template:Infobox tool"

From COPTR
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
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">{{{purpose}}}</td></tr>
+
<tr><td align="center" colspan="2">{{{purpose}}}{{#if: {{{purpose|}}}|{{#set: Purpose={{{purpose}}} }} }}</td></tr>
<tr><td><small><b>Homepage:</b></small></td><td><small>{{{homepage|Unknown}}}</small></td></tr>
+
<tr><td><small><b>Homepage:</b></small></td><td>{{#if: {{{homepage|}}}|{{#set: Homepage={{{homepage}}} }} }}<small>{{{homepage|Unknown}}}</small></td></tr>
{{#if:{{{sourcecode|}}}|
+
{{#if:{{{sourcecode|}}}|{{#set: Sourcecode={{{sourcecode}}} }}
 
<tr><td><small><b>Source Code:</b></small></td><td><small>{{{sourcecode|Unknown}}}</small></td></tr>
 
<tr><td><small><b>Source Code:</b></small></td><td><small>{{{sourcecode|Unknown}}}</small></td></tr>
 
}}
 
}}
{{#if:{{{license|}}}|
+
{{#if:{{{license|}}}|{{#set: License={{{license}}} }}
 
<tr><td><small><b>License:</b></small></td><td><small>{{{license|Unknown}}}</small></td></tr>
 
<tr><td><small><b>License:</b></small></td><td><small>{{{license|Unknown}}}</small></td></tr>
 
}}
 
}}
{{#if:{{{cost|}}}|
+
{{#if:{{{cost|}}}| {{#set: Cost={{{cost}}} }}
 
<tr><td><small><b>Cost:</b></small></td><td><small>{{{cost|Unknown}}}</small></td></tr>
 
<tr><td><small><b>Cost:</b></small></td><td><small>{{{cost|Unknown}}}</small></td></tr>
 
}}
 
}}
{{#if:{{{platforms|}}}|
+
{{#if:{{{platforms|}}}| {{#set: Platforms = {{{platforms}}} }}
 
<tr><td><small><b>Platforms:</b></small></td><td><small>{{{platforms|Unknown}}}</small></td></tr>
 
<tr><td><small><b>Platforms:</b></small></td><td><small>{{{platforms|Unknown}}}</small></td></tr>
 
}}
 
}}
{{#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>
 
}}
 
}}
Line 25: Line 25:
 
{{#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>{{{formats_out|Unknown}}}</small></td></tr>
 +
}}
 +
{{#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>
 +
}}
 +
{{#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>
 
}}
 
}}
 
</table>
 
</table>
Line 32: Line 38:
 
{{#if:{{{license|}}}|
 
{{#if:{{{license|}}}|
 
|
 
|
[[Category:Unknown_license]] <!-- JOB SERVICE TEST -->
+
[[Category:Unknown_license]]
 
}}
 
}}

Latest revision as of 13:21, 20 April 2021





{{{purpose}}}
Homepage:Unknown