Difference between revisions of "Template:FEIS"
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision: From PNW foraging book - part 1) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{citation | + | <includeonly>{{#invoke: template wrapper | wrap | _template = citation | _exclude = code, genus, species, subspecies, title, type, variety |
− | | mode = {{{mode|CS1}}} | + | | mode = {{{mode|CS1}}} |
− | | | + | | title = {{{title |
− | + | | {{{genus|}}} {{{species|}}} {{#if: {{{subspecies|}}} | subsp. }}{{#if: {{{variety|}}} | var. }}{{{subspecies|}}}{{{variety|}}}{{#if: {{{species|}}}||spp.}} | |
− | + | }}} | |
− | | | + | | url = https://www.fs.fed.us/database/feis/{{FEIS/type|{{{type|}}}}}{{{type|}}}/{{#if:{{{code|}}}|{{{code|}}}|{{str left|{{lc:{{{genus|}}}}}|{{#ifeq:{{FEIS/type|{{{type|}}}}}|animals/|2|3}}}}{{str left|{{lc:{{{species|spp}}}}}|{{#ifeq:{{FEIS/type|{{{type|}}}}}|animals/|2|3}}}}{{str left|{{lc:{{{variety|{{{subspecies|}}}}}}|1}}}}}}/all.html |
− | | url = https://www.fs.fed.us/database/feis/{{FEIS/type|{{{type|}}}}}{{{type|}}}/{{#if:{{{code|}}}|{{{code|}}}|{{str left|{{lc:{{{genus|}}}}}|{{#ifeq:{{FEIS/type|{{{type|}}}}}|animals/|2|3}}}}{{str left|{{lc:{{{species|}}}}}|{{#ifeq:{{FEIS/type|{{{type|}}}}}|animals/|2|3}}}}{{str left|{{lc:{{{variety|{{{subspecies|}}}}}}|1}}}}}}/all.html | + | | website = Fire Effects Information System (FEIS) |
− | | website = Fire Effects Information System (FEIS) | + | | publisher = US Department of Agriculture (USDA), Forest Service (USFS), Rocky Mountain Research Station, Fire Sciences Laboratory |
− | | publisher = | + | | via = https://www.feis-crs.org/feis/ |
− | | via = https://www. | + | }}{{#if: {{{genus|{{if both | {{{title|}}} | {{{code|}}} | 1 }}}}} |
− | | | + | | |
− | + | | {{color|red|Please provide the genus in the parameter {{para|genus}}. }} | |
+ | }}<!-- | ||
+ | -->{{#if: {{{species|}}} | ||
+ | | | ||
+ | | <!-- {{color|red|Please provide the species epithet in the parameter {{para|species}}. }} | ||
+ | -->{{#if:{{{variety|{{{subspecies|}}}}}} | ||
+ | |{{color|red|{{para|subspecies}} or {{para|variety}} has been supplied but not {{para|species}}.}} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{#if: {{{variety|}}} | ||
+ | | {{#if: {{{subspecies|}}} | ||
+ | | {{color|red|You have selected both {{para|subspecies|{{{subspecies|}}}}} and {{para|variety|{{{variety|}}}}}. This is most likely an error.}} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{#ifeq:{{FEIS/type|{{{type|}}}}} | ||
+ | | error | ||
+ | | {{color|red|Either you did not provide a value for {{para|type}}, or the value you provided is not recognized. For a list of options, see [[Template:FEIS/doc]].}} | ||
+ | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |