Difference between revisions of "Template:BONAP/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Erutuon
(more readable)
imported>Jonesey95
(Fix empty citation, unnamed or unsupported parameter, or invalid parameter value; see Help:CS1 errors)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
-->{{#if: {{{species|}}}
+
-->{{#if: {{{species|}}}
           | {{cite web
+
           | {{#switch: {{{1|}}}
              | url = http://bonap.net/MapGallery/County/{{{genus|}}}%20{{{species|}}}.png
+
                | ref = {{citation
              | title = {{{genus|}}} {{{species|}}}
+
                        | mode = {{{mode|cs1}}}
              | work = County distribution map from the North American Plant Atlas (NAPA)
+
                        | url = http://bonap.net/MapGallery/County/{{{genus|}}}%20{{{species|}}}.png
              | publisher = Biota of North America Program (BONAP)
+
                        | title = {{{genus|}}} {{{species|}}}
              | date = 2013
+
                        | work = County distribution map from the North American Plant Atlas (NAPA)
              | access-date = {{{access-date|{{{accessdate|}}} }}}
+
                        | publisher = Biota of North America Program (BONAP)
              }}  
+
                        | date = 2013
           | {{cite web
+
                        | access-date = {{{access-date|{{{accessdate|}}} }}}
              | url = http://bonap.net/NAPA/TaxonMaps/Genus/County/{{{genus|}}}
+
                        }}
              | title = {{{genus|}}}
+
                | link = [http://bonap.net/MapGallery/County/{{{genus|}}}%20{{{species|}}}.png {{{genus|}}} {{{species|}}}]
              | work = County distribution maps from the North American Plant Atlas (NAPA)
+
                | {{color|red|Please place either link or ref as the first parameter.}}
              | publisher = Biota of North America Program (BONAP)
+
            }}
              | date = 2013
+
           | {{#switch: {{{1|}}}
              | access-date = {{{access-date|{{{accessdate|}}} }}}
+
                | ref = {{citation
              }}
+
                        | mode = {{{mode|cs1}}}
 +
                        | url = http://bonap.net/NAPA/TaxonMaps/Genus/County/{{{genus|}}}
 +
                        | title = {{{genus|}}}
 +
                        | work = County distribution maps from the North American Plant Atlas (NAPA)
 +
                        | publisher = Biota of North America Program (BONAP)
 +
                        | date = 2013
 +
                        | access-date = {{{access-date|{{{accessdate|}}} }}}
 +
                        }}
 +
                | link = [http://bonap.net/NAPA/TaxonMaps/Genus/County/{{{genus|}}} {{{genus|}}}]
 +
                | {{color|red|Please place either link or ref as the first parameter.}}
 +
            }}
 
     }}</includeonly>
 
     }}</includeonly>

Latest revision as of 18:39, 4 September 2019