Difference between revisions of "Template:Concept/render relation as list item"
From TDWG Terms Wiki
m (+debug) |
m |
||
Line 12: | Line 12: | ||
explode 12 3↓ 4↓ → make local link | explode 12 3↓ 4↓ → make local link | ||
http://terms.gbif.org/wiki/dcterms:rights | http://terms.gbif.org/wiki/dcterms:rights | ||
− | -->|[[{{#explode: §|/|4}}]] | + | -->|[[{{#explode: §|/|4}}]]<!-- |
else | else | ||
http | http | ||
− | -->|§ | + | -->|§<!-- |
-->}}<!-- end if | -->}}<!-- end if | ||
− | -->|, <!--output sep | + | -->|<nowiki></nowiki>, <!--output sep |
-->}}<!-- end arraymap | -->}}<!-- end arraymap | ||
-->}}<!-- end if foundResultList | -->}}<!-- end if foundResultList |
Revision as of 12:42, 18 October 2012
Sub page of Template:Concept, it renders a relation as a list item. Data input is from an #ask query iterating through all applicable properties.
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