Template:LinkItem: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{ | <includeonly>{{#if:{{{3|}}}|[[{{{3|}}}{{get|{{{1}}}|{{{2}}}}}|{{get|{{{1}}}|{{{2}}}}}]]|[[{{get|{{{1}}}|{{{2}}}}}]]}}</includeonly><noinclude> | ||
Generates a link for an item from a list, potentially with a prefix. | Generates a link for an item from a list, potentially with a prefix. | ||
Line 5: | Line 5: | ||
* <nowiki>{{linkItem|Ontology Editing,How to edit the DBpedia Ontology,Edit Ontology|1}}</nowiki> results in [[How to edit the DBpedia Ontology]] | * <nowiki>{{linkItem|Ontology Editing,How to edit the DBpedia Ontology,Edit Ontology|1}}</nowiki> results in [[How to edit the DBpedia Ontology]] | ||
* <nowiki>{{linkItem|Person,Place,Plant|-1|OntologyClass:}}</nowiki> results in [[OntologyClass:Plant|Plant]] | |||
See also | See also |
Latest revision as of 07:25, 15 March 2012
Generates a link for an item from a list, potentially with a prefix.
Examples:
- {{linkItem|Ontology Editing,How to edit the DBpedia Ontology,Edit Ontology|1}} results in How to edit the DBpedia Ontology
- {{linkItem|Person,Place,Plant|-1|OntologyClass:}} results in Plant
See also