Line 1: |
Line 1: |
| <noinclude> | | <noinclude> |
− | {{#template_params:Category (list;property=Has category)|Datatype (list;property=Has datatype)|Related topics (list;property=Has related topic)}} | + | {{#template_params:Related topics (list;property=Has related topic)}} |
| </noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | | </noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" |
− | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | + | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">Tool Infobox [[Image:Question-icon.png|15px|link=https://wiki.openhumans.org/wiki/Help:How_to_make_a_Tool_page#Elements_of_a_Tool_page]]</span> |
− | |-
| |
− | ! Category
| |
− | | {{#arraymap:{{{Category|}}}|,|x|[[Has category::x]]}}
| |
− | | |
− | |-
| |
− | ! Datatype
| |
− | | {{#arraymap:{{{Datatype|}}}|,|x|[[Has datatype::x]]}} | |
− | | |
| |- | | |- |
| ! Related topics | | ! Related topics |
Line 16: |
Line 8: |
| | | |
| |- | | |- |
− | |-
| + | ! <hr> Linked pages on this wiki |
− | ! Related tools | + | | <span class="plainlinks">[https://wiki.openhumans.org/index.php?title=Special:Ask&q=%0A%5B%5BCategory%3AProjects%5D%5D%0A%5B%5BHas+related+tool%3A%3A{{urlencode:{{{userparam|{{PAGENAME}}}}}}}%5D%5D&p=format%3Dbroadtable%2Flink%3Dall%2Fheaders%3Dshow%2Fsearchlabel%3D...-20further-20results%2Fclass%3Dsortable-20wikitable-20smwtable&sort=&order=asc&eq=no&offset=0&limit=500 Projects ({{#ask:[[Category:Projects]][[Has related tool::{{PAGENAME}}]]|format=count}})]</span>, |
− | | {{#arraymap:{{{Related tools|}}}|,|x|[[Has related tool::x]]}} | + | |
| + | <span class="plainlinks">[https://wiki.openhumans.org/index.php?title=Special:Ask&q=%0A%5B%5BCategory%3APeople%5D%5D%0A%5B%5BHas+related+tool%3A%3A{{urlencode:{{{userparam|{{PAGENAME}}}}}}}%5D%5D&p=format%3Dbroadtable%2Flink%3Dall%2Fheaders%3Dshow%2Fsearchlabel%3D...-20further-20results%2Fclass%3Dsortable-20wikitable-20smwtable&sort=&order=asc&eq=no&offset=0&limit=500 People ({{#ask:[[Category:People]][[Has related tool::{{PAGENAME}}]]|format=count}})]</span> |
| | | |
− | |-
| |
− | !
| |
− | |{{#ask:[[Foaf:homepage::{{SUBJECTPAGENAME}}]]|format=list}}
| |
| |} | | |} |
− | | + | </includeonly><noinclude> |
− | [[Category:Tool]]
| + | <templatedata> |
− | </includeonly> | + | { |
| + | "description": "Add an infobox for a tool", |
| + | "params": { |
| + | "Related topics": { |
| + | "label": "Related topics", |
| + | "description": "Topics this tool relates to" |
| + | } |
| + | } |
| + | } |
| + | </templatedata> |
| + | </noinclude> |