Difference between revisions of "Template:EFloras"

From Eat Every Plant
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision: Taxus)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{citation
+
<includeonly>{{#invoke: template wrapper | wrap | _template = citation | _exclude = family, tribe, volume, date, first, first1, first2, last, last1, last2
 
| mode = {{{mode|CS1}}}
 
| mode = {{{mode|CS1}}}
| via = eFloras.org
+
| contribution = {{#invoke:eFloras|name|1={{{3|{{#if:{{#property:P225}}|{{#property:P225}}|{{PAGENAME}}}}}}}}}<!--
| title={{#invoke:eFloras|name|{{{3|{{PAGENAME}}}}}}}{{#ifeq:{{{4|}}}|nv|&#32;'''Synonym'''|}}
+
-->{{#ifeq:{{{4|}}}|nv|&#32;'''Synonym'''}}
| url = http://www.efloras.org/florataxon.aspx?flora_id={{#if:x|{{{1|}}}}}&taxon_id={{trim|{{#if:x|{{{2|}}}}}}}
+
| contribution-url = {{eFloras/url|flora_id={{{1|}}}|taxon_id={{{2|}}}}}
| volume = {{#if:{{{volume|}}}|{{{volume|}}}|{{#invoke:eFloras|volume|{{{1|}}}|{{{family|{{{tribe|}}}}}}}}}}
+
| volume = {{{volume|{{#invoke:eFloras|volume|{{{1|}}}|{{{family|{{{tribe|}}}}}}}}}}}
| first = {{{first|{{{first1|}}}}}}
+
| date = {{{date|
| last = {{{last|{{{last1|}}}}}}
+
    {{#ifeq: {{{1|}}} | 1 | {{#invoke:eFloras|volumeDate|{{{1|}}}|{{{volume|}}}|{{{family|{{{tribe|}}}}}}}} }}
| first2 = {{{first2|}}}
+
  }}}
| last2 = {{{last2|}}}
+
| first = {{#switch: {{{1|}}}
| first3 = {{{first3|}}}
+
  | 120 = Tatyana <!-- Ornamental Plants from Russia and Adjacent States of the Former Soviet Union -->
| last3 = {{{last3|}}}
+
  | 11 = George <!-- Flora of Missouri -->
| first4 = {{{first4|}}}
+
  | 201 = Carmen
| last4 = {{{last4|}}}
+
  | #default = {{{first|{{{first1|}}}}}}
| first5 = {{{first5|}}}
+
  }}
| last5 = {{{last5|}}}
+
| last = {{#switch: {{{1|}}}
| publisher = [[Missouri Botanical Garden]]
+
  | 120 = Shulkina <!-- Ornamental Plants from Russia and Adjacent States of the Former Soviet Union -->
| work = {{#invoke:eFloras|resource|{{{1|}}}}}
+
  | 11 = Yatskievych <!-- Flora of Missouri -->
| accessdate = {{{accessdate|{{{access-date|}}}}}}
+
  | 201 = Ulloa Ulloa
}}{{template other||{{#if:{{{first|{{{first1|}}}}}}||[[Category:Pages using eFloras template without author names]]}}}}</includeonly><!--
+
  | #default = {{{last|{{{last1|}}}}}}
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using eFloras with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:EFloras]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | access-date | accessdate | family | first | first1 | first2 | first3 | first4 | first5 | last | last1 | last2 | last3 | last4 | last5 | mode | tribe | volume }}<noinclude>
+
  }}
 +
| first2 = {{#switch: {{{1|}}}
 +
  | 201 = Peter Møller
 +
  | #default = {{{first2|}}}
 +
  }}
 +
| last2 = {{#switch: {{{1|}}}
 +
  | 201 = Jørgensen
 +
  | #default = {{{last2|}}}
 +
  }}
 +
| title = {{#invoke:eFloras|resource|{{{1|}}}}}
 +
| trans-title = {{#ifeq: {{{1|}}} | 201 | Trees and shrubs of the Andes of Ecuador }}
 +
| language = {{#ifeq: {{{1|}}} | 201 | Spanish }}
 +
| url = {{#switch: {{{1|}}}
 +
  | 1 = http://www.efloras.org/flora_page.aspx?flora_id=1
 +
  }}
 +
| location = {{#switch: {{{1|}}}
 +
  | 1 = New York and Oxford
 +
  }}
 +
| editor = {{#switch: {{{1|}}}
 +
  | 1 = Flora of North America Editorial Committee
 +
  }}
 +
| via = [https://efloras.org eFloras.org], [[Missouri Botanical Garden]], St. Louis, MO & [[Harvard University Herbaria]], Cambridge, MA
 +
}}<!--
 +
-->{{template other
 +
    |
 +
    <!-- Categorize if |first= and |first1= are missing,
 +
        unless the flora is Flora of Missouri,
 +
        Ornamental Plants from Russia and Adjacent States of the Former Soviet Union,
 +
        or Trees and shrubs of the Andes of Ecuador. -->
 +
    |{{#if:{{{first|{{{first1|}}}}}}{{#switch:{{{1|}}} | 11 | 120 | 201 = 1}}
 +
      |
 +
      |[[Category:Pages using eFloras template without author names]]
 +
      }}<!--
 +
  -->{{#switch:{{{1|}}}<!-- If Flora of North America, Flora of China, Flora of Chile -->
 +
      | 1 | 2 | 60 =
 +
      {{#if:{{{volume|{{{family|{{{tribe|}}}}}}}}}<!-- Check for parameters that are used to add the volume number. -->
 +
        |
 +
        |[[Category:Pages using eFloras template without volume]]
 +
        }}
 +
      }}
 +
  }}</includeonly><!--
 +
 
 +
--><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!--
 
<!--
  PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS
+
  PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS
 
-->
 
-->
 
</noinclude>
 
</noinclude>

Latest revision as of 14:11, 11 September 2018

Template documentation[create]