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

From TDWG Terms Wiki
Jump to: navigation, search
m (-Trim; code in one-liner)
m (+debug: tag nowiki of substring)
Line 1: Line 1:
<includeonly><br/><nowiki>{{#show:</nowiki> {{{userparam|{{PAGENAME}} }}} <nowiki>|?</nowiki>|{{#sub: {{{1}}}|{{#pos:{{{1}}}|:}}}} <nowiki>}}</nowiki> '''{{{1}}} =''' {{#show: {{{userparam|{{PAGENAME}} }}}|?{{#sub: {{{1}}}|{{#pos:{{{1}}}|:}}}}}}</includeonly><noinclude>
+
<includeonly><br/><nowiki>{{#tag:nowiki|{{#sub: {{{1}}}|{{#pos:{{{1}}}|:}}}}}}{{#show:</nowiki> {{{userparam|{{PAGENAME}} }}} <nowiki>|?</nowiki>{{#sub: {{{1}}}|{{#pos:{{{1}}}|:}}}} <nowiki>}}</nowiki> '''{{{1}}} =''' {{#show: {{{userparam|{{PAGENAME}} }}}|?{{#sub: {{{1}}}|{{#pos:{{{1}}}|:}}}}}}</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")  

Revision as of 08:26, 18 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