Difference between revisions of "Template:Concept/render relation as list item"

From TDWG Terms Wiki
Jump to: navigation, search
m (+link to property page)
m (output if/else local links vs external URIs)
Line 4: Line 4:
 
-->{{#if: {{#var: foundResultList}}<!--
 
-->{{#if: {{#var: foundResultList}}<!--
 
then-->|
 
then-->|
* [[{{{1}}}|{{{2}}}]] = {{#var: foundResultList}}<!--
+
* [[{{{1}}}|{{{2}}}]] = {{#arraymap: {{#var: foundResultList}}<!--
-->}}<!-- end if
+
  -->|,<!-- sep
 +
  -->|§<!-- temporary var
 +
  -->|<!-- output
 +
    -->{{#if: {{#pos: §|{{SERVER}} }}<!-- pos: 0 is true, '' (empty) is false
 +
    then
 +
    explode  12            3↓  4↓ → make local link
 +
        http://terms.gbif.org/wiki/dcterms:rights
 +
    -->|[[{{#explode: §|/|4}}]]<!--
 +
    else
 +
    http
 +
    -->|§<!--
 +
    -->}}<!-- end if
 +
  -->|,&#32;<!--output sep
 +
  -->}}<!-- end arraymap
 +
-->}}<!-- end if foundResultList
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
 
Parameters
 
Parameters

Revision as of 10:21, 18 October 2012

Parameters