Template:LinkClasses: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(Created page with '{{#if:{{get|{{{1|}}}|0}}|[[OntologyClasses:{{get|{{{1}}}|0}}|{{get|{{{1}}}|0}}]]{{#if:{{get|{{{1}}}|1}}|, [[OntologyClasses:{{get|{{{1}}}|1}}|{{get|{{{1}}}|1}}]]{{#if:{{get|{{{1}...')
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{get|{{{1|}}}|0}}|[[OntologyClasses:{{get|{{{1}}}|0}}|{{get|{{{1}}}|0}}]]{{#if:{{get|{{{1}}}|1}}|, [[OntologyClasses:{{get|{{{1}}}|1}}|{{get|{{{1}}}|1}}]]{{#if:{{get|{{{1}}}|2}}|, [[OntologyClasses:{{get|{{{1}}}|2}}|{{get|{{{1}}}|2}}]]{{#if:{{get|{{{1}}}|3}}|, [[OntologyClasses:{{get|{{{1}}}|3}}|{{get|{{{1}}}|3}}]]{{#if:{{get|{{{1}}}|4}}|, [[OntologyClasses:{{get|{{{1}}}|4}}|{{get|{{{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).