Difference between revisions of "Template:Concept/render relation as list item"
From TDWG Terms Wiki
m (fix nestin }}) |
m |
||
Line 3: | Line 3: | ||
-->{{#vardefine: foundResultList|{{#show: {{{userparam|{{PAGENAME}} }}}|?{{#var: relationProperty}} }} }}<!-- | -->{{#vardefine: foundResultList|{{#show: {{{userparam|{{PAGENAME}} }}}|?{{#var: relationProperty}} }} }}<!-- | ||
-->{{#if: {{#var: foundResultList}}<!-- | -->{{#if: {{#var: foundResultList}}<!-- | ||
− | then-->| | + | then-->| |
+ | * '''{{{2}}} =''' {{#var: foundResultList}}<!-- | ||
-->}}<!-- end if | -->}}<!-- end if | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
Parameters | Parameters | ||
* <nowiki>{{{1}}}</nowiki>: a property page name (the #sub/#pos removes "Property:", e.g. "Property:biorel:derives_from" → "biorel:derives_from") | * <nowiki>{{{1}}}</nowiki>: a property page name (the #sub/#pos removes "Property:", e.g. "Property:biorel:derives_from" → "biorel:derives_from") | ||
+ | * <nowiki>{{{2}}}</nowiki>: [[property: terms-internal:conceptRelationDisplayText]] | ||
* <nowiki>{{{userparam}}}</nowiki>: passed by the calling ask query | * <nowiki>{{{userparam}}}</nowiki>: passed by the calling ask query | ||
[[Category: SMW ask template]] | [[Category: SMW ask template]] | ||
</noinclude> | </noinclude> |
Revision as of 09:37, 18 October 2012
Parameters
- {{{1}}}: a property page name (the #sub/#pos removes "Property:", e.g. "Property:biorel:derives_from" → "biorel:derives_from")
- {{{2}}}: property: terms-internal:conceptRelationDisplayText
- {{{userparam}}}: passed by the calling ask query