Template:LinkItem: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
(Created page with '<includeonly>{{#if:{{{2|}}}|[[{{{2|}}}{{get|{{{0}}}|{{{1}}}}}|{{get|{{{0}}}|{{{1}}}}}]]|[[{{get|{{{0}}}|{{{1}}}}}]]}}</includeonly><noinclude> Generates a link for an item from a...')
 
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{2|}}}|[[{{{2|}}}{{get|{{{0}}}|{{{1}}}}}|{{get|{{{0}}}|{{{1}}}}}]]|[[{{get|{{{0}}}|{{{1}}}}}]]}}</includeonly><noinclude>
<includeonly>{{#if:{{{2|}}}|[[{{{2|}}}{{get|{{{0}}}|{{{1}}}}}|{{get|{{{0}}}|{{{1}}}}}]]|[[{{get|{{{0}}}|{{{1}}}}}]]}}</includeonly><noinclude>
Generates a link for an item from alist, potentially with a prefix.
Generates a link for an item from a list, potentially with a prefix.


Examples:
Examples:


* <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]]
See also
* [[Template:item]]
</noinclude>
</noinclude>

Revision as of 07:17, 15 March 2012

Generates a link for an item from a list, potentially with a prefix.

Examples:

See also