Template:LinkClass: Difference between revisions

From Mediawiki1
Jump to navigationJump to search
(Created page with '<includeonly>{{#ifeq:{{#explode:{{item|{{{1|}}}|{{{2|}}}}}|:|0}}|schema\|[http://schema.org/{{#explode:{{item|{{{1|}}}|{{{2|}}}}}|:|1}} {{item|{{{1|}}}|{{{2|}}}}}]|[[OntologyClas...')
 
(removed unnecessary <noinclude> </noinclude>)
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>{{#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>
</noinclude><noinclude>
<!--
<!--
Explanation of what's going on above:
Explanation of what's going on above:
Line 15: Line 14:
TODO: add more targets besides schema.org
TODO: add more targets besides schema.org
-->
-->
Generates a link to class from a list. First parameter is the list (comma-separated strings), second parameter is the index (zero-based).
Generates a link to a class from a list. First parameter is the list (comma-separated strings), second parameter is the index (zero-based).
</noinclude>
</noinclude>

Revision as of 09:35, 4 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).