Template:LinkClasses: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(OntologyClasses -> OntologyClass)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#if:{{item|{{{1|}}}|0}}|[[OntologyClass:{{item|{{{1}}}|0}}|{{item|{{{1}}}|0}}]]{{#if:{{item|{{{1}}}|1}}|, [[OntologyClass:{{item|{{{1}}}|1}}|{{item|{{{1}}}|1}}]]{{#if:{{item|{{{1}}}|2}}|, [[OntologyClass:{{item|{{{1}}}|2}}|{{item|{{{1}}}|2}}]]{{#if:{{item|{{{1}}}|3}}|, [[OntologyClass:{{item|{{{1}}}|3}}|{{item|{{{1}}}|3}}]]{{#if:{{item|{{{1}}}|4}}|, [[OntologyClass:{{item|{{{1}}}|4}}|{{item|{{{1}}}|4}}]]|}}|}}|}}|}}|{{{2|}}}}}
<includeonly>{{#if:{{item|{{{1|}}}|0}}|{{linkClass|{{{1}}}|0}}{{#if:{{item|{{{1}}}|1}}|, {{linkClass|{{{1}}}|1}}{{#if:{{item|{{{1}}}|2}}|, {{linkClass|{{{1}}}|2}}{{#if:{{item|{{{1}}}|3}}|, {{linkClass|{{{1}}}|3}}{{#if:{{item|{{{1}}}|4}}|, {{linkClass|{{{1}}}|4}}|}}|}}|}}|}}|{{{2|}}}}}</includeonly><noinclude>
Generates links to classes in a list. First parameter is the list (comma-separated strings), second parameter is the default value (may be empty, will not become a link).
</noinclude>

Latest revision as of 08:38, 15 March 2012

Generates links to classes in a list. First parameter is the list (comma-separated strings), second parameter is the default value (may be empty, will not become a link).