Cannabis Ruderalis

Content deleted Content added
General code tidy.
Use {{urlencode:}} where required.
Line 2: Line 2:
| via= {{#ifexpr:{{#invoke:String|find|{{ThePlantList/work|{{#if:{{#invoke:string|match|1={{{id|{{{1}}}}}}|2=^%a%a|nomatch=}}|{{{id|{{{1}}}}}}|{{#property:P1070}}}}}}|The Plant List}} = 0 |[[The Plant List]]}}
| via= {{#ifexpr:{{#invoke:String|find|{{ThePlantList/work|{{#if:{{#invoke:string|match|1={{{id|{{{1}}}}}}|2=^%a%a|nomatch=}}|{{{id|{{{1}}}}}}|{{#property:P1070}}}}}}|The Plant List}} = 0 |[[The Plant List]]}}
| title={{#ifeq:{{{italics|{{{italic}}}}}}|no||''}}{{#if:{{{taxon|}}}|{{{taxon|}}}|{{#if:{{{id|{{{url|}}}}}}| {{{1|}}}|{{#if:{{#invoke:string|match|1={{{2}}}|2=^%d%d%d|nomatch=}}|{{{3|{{#if: {{#Property:P225}}|{{#Property:P225}}|{{PAGENAME}}}}}}}|{{{2|{{#if: {{#Property:P225}}|{{#Property:P225}}|{{PAGENAME}}}}}}}}}}}}}{{#ifeq:{{{italics|{{{italic}}}}}}|no||''}} {{#invoke:string|replace|{{#if:{{{id|}}}|{{{authority|{{{2|}}}}}}|{{{4|}}}}}|%.$|.||no}}{{#ifeq:{{{validity|{{{5}}}}}}|nv|''' Synonym'''}}
| title={{#ifeq:{{{italics|{{{italic}}}}}}|no||''}}{{#if:{{{taxon|}}}|{{{taxon|}}}|{{#if:{{{id|{{{url|}}}}}}| {{{1|}}}|{{#if:{{#invoke:string|match|1={{{2}}}|2=^%d%d%d|nomatch=}}|{{{3|{{#if: {{#Property:P225}}|{{#Property:P225}}|{{PAGENAME}}}}}}}|{{{2|{{#if: {{#Property:P225}}|{{#Property:P225}}|{{PAGENAME}}}}}}}}}}}}}{{#ifeq:{{{italics|{{{italic}}}}}}|no||''}} {{#invoke:string|replace|{{#if:{{{id|}}}|{{{authority|{{{2|}}}}}}|{{{4|}}}}}|%.$|.||no}}{{#ifeq:{{{validity|{{{5}}}}}}|nv|''' Synonym'''}}
| url ={{if empty|{{{url|}}}|{{#if:{{{id|}}}|http://www.theplantlist.org/tpl1.1/record/{{{id}}}}}|{{#if:{{#invoke:string|match|1={{{2}}}|2=^%d%d%d|nomatch=}}|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|{{{url|}}}|{{#if:{{{id|}}}|http://www.theplantlist.org/tpl1.1/record/{{{id}}}}}|{{#if:{{#invoke:string|match|1={{{2}}}|2=^%d%d%d|nomatch=}}|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={{urlencode:{{{2|{{#if: {{#Property:P225}}|{{#Property:P225}}|{{PAGENAME}}}}}}}|QUERY}}}}}}
| publisher = {{ThePlantList/publisher|{{#if:{{#invoke:string|match|1={{{id|{{{1}}}}}}|2=^%a%a|nomatch=}}|{{{id|{{{1}}}}}}|{{#property:P1070}}}}}}
| publisher = {{ThePlantList/publisher|{{#if:{{#invoke:string|match|1={{{id|{{{1}}}}}}|2=^%a%a|nomatch=}}|{{{id|{{{1}}}}}}|{{#property:P1070}}}}}}
| work = {{ThePlantList/work|{{#if:{{#invoke:string|match|1={{{id|{{{1}}}}}}|2=^%a%a|nomatch=}}|{{{id|{{{1}}}}}}|{{#property:P1070}}}}}}
| work = {{ThePlantList/work|{{#if:{{#invoke:string|match|1={{{id|{{{1}}}}}}|2=^%a%a|nomatch=}}|{{{id|{{{1}}}}}}|{{#property:P1070}}}}}}

Revision as of 21:45, 14 June 2021

"ThePlantList". The Plant List. Missouri Botanical Garden. Royal Botanic Gardens, Kew.{{cite web}}: CS1 maint: others (link)

Leave a Reply