Template:LinkClass: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(removed unnecessary <noinclude> </noinclude>)
No edit summary
Line 1: Line 1:
<includeonly>{{#ifeq:{{#explode:{{item|{{{1|}}}|{{{2|}}}}}|:|0}}|schema\|[http://schema.org/{{#explode:{{item|{{{1|}}}|{{{2|}}}}}|:|1}} {{item|{{{1|}}}|{{{2|}}}}}]|[[OntologyClass:{{item|{{{1|}}}|{{{2|}}}}}|{{item|{{{1|}}}|{{{2|}}}}}]]}}</includeonly><noinclude>
<includeonly>{{#switch:{{#explode:{{item|{{{1|}}}|{{{2|}}}}}|:|0}}
|schema\ =[http://schema.org/{{#explode:{{item|{{{1|}}}|{{{2|}}}}}|:|1}} {{item|{{{1|}}}|{{{2|}}}}}]
|bibo\ =[http://purl.org/ontology/bibo/{{#explode:{{item|{{{1|}}}|{{{2|}}}}}|:|1}} {{item|{{{1|}}}|{{{2|}}}}}]
|[[OntologyClass:{{item|{{{1|}}}|{{{2|}}}}}|{{item|{{{1|}}}|{{{2|}}}}}]]}}</includeonly><noinclude>
<!--
<!--
Explanation of what's going on above:
Explanation of what's going on above:

Revision as of 06:45, 22 May 2012

Generates a link to a class from a list. First parameter is the list (comma-separated strings), second parameter is the index (zero-based).