Template:LinkClasses: Difference between revisions
From DBpedia Mappings
Jump to navigationJump to search
(use Template:linkClass) |
No edit summary |
||
Line 1: | Line 1: | ||
{{#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>{{#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).