Cannabis Ruderalis

Content deleted Content added
aliases for CS1 discouraged parameters
General code tidy.
Line 1: Line 1:
{{#invoke: template wrapper | wrap | _template = cite web | _exclude = authority, id, italic, italics, taxon, url |_alias-map=accessdate:access-date,authorlink:author-link,origyear:orig-date
{{#invoke: template wrapper | wrap | _template = cite web | _exclude = authority, id, italic, italics, taxon, url |_alias-map=accessdate:access-date,authorlink:author-link,origyear:orig-date
| 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:{{#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|}}}|{{#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'''}}
| 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 |{{#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|{{{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}}}}}}}}}| |+}}}}}}
| publisher = {{#ifexpr: {{str letter |{{{id|{{{1}}}}}}}}>1|{{ThePlantList/publisher|{{{id|{{{1}}}}}}}}|{{ThePlantList/publisher|{{#property:P1070}}}}}}
| publisher = {{ThePlantList/publisher|{{#if:{{#invoke:string|match|1={{{id|{{{1}}}}}}|2=^%a%a|nomatch=}}|{{{id|{{{1}}}}}}|{{#property:P1070}}}}}}
| work = {{#ifexpr: {{str letter |{{{id|{{{1}}}}}}}}>1|{{ThePlantList/work|{{{id|{{{1}}}}}}}}|{{ThePlantList/work|{{#property:P1070}}}}}}
| work = {{ThePlantList/work|{{#if:{{#invoke:string|match|1={{{id|{{{1}}}}}}|2=^%a%a|nomatch=}}|{{{id|{{{1}}}}}}|{{#property:P1070}}}}}}
| others= {{#ifexpr: {{str letter |{{{id|{{{1}}}}}}}}>1|{{ThePlantList/contributor|{{{id|{{{1}}}}}}}}|{{ThePlantList/contributor|{{#property:P1070}}}}}}
| others= {{ThePlantList/contributor|{{#if:{{#invoke:string|match|1={{{id|{{{1}}}}}}|2=^%a%a|nomatch=}}|{{{id|{{{1}}}}}}|{{#property:P1070}}}}}}
}}<noinclude><!--
}}<noinclude><!--



Revision as of 21:28, 14 June 2021

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

Leave a Reply