Difference between revisions of "Template:Concept/render relation as list item"
From TDWG Terms Wiki
m |
m |
||
Line 2: | Line 2: | ||
'''{{{1}}} =''' {{ | '''{{{1}}} =''' {{ | ||
#ask: [[{{{userparam|{{PAGENAME}} }}}]] | #ask: [[{{{userparam|{{PAGENAME}} }}}]] | ||
− | |? {{{1}}} | + | |? {{#sub: {{{1}}}|{{#pos:{{{1}}}|:}}}} |
|format=list | |format=list | ||
|mainlabel=- | |mainlabel=- | ||
Line 8: | Line 8: | ||
|sep=, | |sep=, | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
+ | Parameters | ||
+ | * <nowiki>{{{1}}}</nowiki>: a property page name (the #sub/#pos removes "Property:", e.g. "Property:biorel:derives_from" → "biorel:derives_from") | ||
+ | * <nowiki>{{{userparam}}}</nowiki>: passed by the calling ask query | ||
+ | |||
[[Category: SMW ask template]] | [[Category: SMW ask template]] | ||
</noinclude> | </noinclude> |
Revision as of 14:40, 17 October 2012
Parameters
- {{{1}}}: a property page name (the #sub/#pos removes "Property:", e.g. "Property:biorel:derives_from" → "biorel:derives_from")
- {{{userparam}}}: passed by the calling ask query