Difference between revisions of "Template:ThePlantList"

From Eat Every Plant
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision: Solanum americanum)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{cite web
+
{{#invoke: template wrapper | wrap | _template = cite web | _exclude = authority, id, italic, italics, taxon, url
 
| via= {{#ifexpr:  {{strfind short|{{#ifexpr: {{str letter |{{{id|{{{1}}}}}}}}>1|{{ThePlantList/work|{{{id|{{{1}}}}}}}}|{{ThePlantList/work|{{#property:P1070}}}}}}|The Plant List}} = 0 |[[The Plant List]]}}
 
| via= {{#ifexpr:  {{strfind short|{{#ifexpr: {{str letter |{{{id|{{{1}}}}}}}}>1|{{ThePlantList/work|{{{id|{{{1}}}}}}}}|{{ThePlantList/work|{{#property:P1070}}}}}}|The Plant List}} = 0 |[[The Plant List]]}}
| title={{#ifeq:{{{italics|{{{italic}}}}}}|no||''}}{{#if:{{{taxon|}}}|{{{taxon|}}}|{{#if:{{{id|{{{url|}}}}}}| {{{1|}}}|{{#ifexpr: {{str number |{{{2|}}}}}>2|{{{3|{{#if: {{#Property:P225}}|{{#Property:P225}}|{{PAGENAME}}}}}}}|{{{2|{{#if: {{#Property:P225}}|{{#Property:P225}}|{{PAGENAME}}}}}}}}}}}}}{{#ifeq:{{{italics|{{{italic}}}}}}|no||''}} {{trim|{{#if:{{{id|}}}|{{{authority|{{{2|}}}}}}|{{{4|}}}}}}}{{#ifeq:{{{validity|{{{5}}}}}}|nv|''' Synonym'''}}
+
| title={{#ifeq:{{{italics|{{{italic}}}}}}|no||''}}{{#if:{{{taxon|}}}|{{{taxon|}}}|{{#if:{{{id|{{{url|}}}}}}| {{{1|}}}|{{#ifexpr: {{str number |{{{2|}}}}}>2|{{{3|{{#if: {{#Property:P225}}|{{#Property:P225}}|{{PAGENAME}}}}}}}|{{{2|{{#if: {{#Property:P225}}|{{#Property:P225}}|{{PAGENAME}}}}}}}}}}}}}{{#ifeq:{{{italics|{{{italic}}}}}}|no||''}} {{#invoke:string|replace|{{trim|{{#if:{{{id|}}}|{{{authority|{{{2|}}}}}}|{{{4|}}}}}}}|%.$|.||no}}{{#ifeq:{{{validity|{{{5}}}}}}|nv|''' Synonym'''}}
 
| url ={{if empty |{{#if:{{{url|}}}|{{{url|}}}}}|{{#if:{{{id|}}}|http://www.theplantlist.org/tpl1.1/record/{{{id|}}}}}|{{#ifexpr: {{str number |{{{2|}}}}}>2|http://www.theplantlist.org/tpl1.1/record/{{trim|{{{1|}}}}}-{{trim|{{{2|}}}}}}}|{{#if: {{#property:P1070}}|http://www.theplantlist.org/tpl1.1/record/{{#property:P1070|}}|http://www.theplantlist.org/tpl1.1/search?q={{replace|{{trim|{{{2|{{#if: {{#Property:P225}}|{{#Property:P225}}|{{PAGENAME}}}}}}}}}| |+}}}}}}
 
| url ={{if empty |{{#if:{{{url|}}}|{{{url|}}}}}|{{#if:{{{id|}}}|http://www.theplantlist.org/tpl1.1/record/{{{id|}}}}}|{{#ifexpr: {{str number |{{{2|}}}}}>2|http://www.theplantlist.org/tpl1.1/record/{{trim|{{{1|}}}}}-{{trim|{{{2|}}}}}}}|{{#if: {{#property:P1070}}|http://www.theplantlist.org/tpl1.1/record/{{#property:P1070|}}|http://www.theplantlist.org/tpl1.1/search?q={{replace|{{trim|{{{2|{{#if: {{#Property:P225}}|{{#Property:P225}}|{{PAGENAME}}}}}}}}}| |+}}}}}}
 
| publisher = {{#ifexpr: {{str letter |{{{id|{{{1}}}}}}}}>1|{{ThePlantList/publisher|{{{id|{{{1}}}}}}}}|{{ThePlantList/publisher|{{#property:P1070}}}}}}
 
| publisher = {{#ifexpr: {{str letter |{{{id|{{{1}}}}}}}}>1|{{ThePlantList/publisher|{{{id|{{{1}}}}}}}}|{{ThePlantList/publisher|{{#property:P1070}}}}}}
 
| work = {{#ifexpr: {{str letter |{{{id|{{{1}}}}}}}}>1|{{ThePlantList/work|{{{id|{{{1}}}}}}}}|{{ThePlantList/work|{{#property:P1070}}}}}}
 
| work = {{#ifexpr: {{str letter |{{{id|{{{1}}}}}}}}>1|{{ThePlantList/work|{{{id|{{{1}}}}}}}}|{{ThePlantList/work|{{#property:P1070}}}}}}
 
| others= {{#ifexpr: {{str letter |{{{id|{{{1}}}}}}}}>1|{{ThePlantList/contributor|{{{id|{{{1}}}}}}}}|{{ThePlantList/contributor|{{#property:P1070}}}}}}
 
| others= {{#ifexpr: {{str letter |{{{id|{{{1}}}}}}}}>1|{{ThePlantList/contributor|{{{id|{{{1}}}}}}}}|{{ThePlantList/contributor|{{#property:P1070}}}}}}
| date = {{{date|}}}
 
| accessdate = {{{visitdate|{{{accessdate|}}}}}}
 
| ref = {{{ref|}}}
 
 
}}<noinclude><!--
 
}}<noinclude><!--
  
 
-->{{documentation}}</noinclude>
 
-->{{documentation}}</noinclude>

Latest revision as of 14:32, 13 September 2018

"{{#Property:P225}}". The Plant List. Missouri Botanical Garden. Royal Botanic Gardens, Kew.

Template documentation[create]