Difference between revisions of "Template:Calflora/doc"

From blackwiki
Jump to navigation Jump to search
imported>Erutuon
(Created page with '{{Documentation subpage}} {{cs1 wrapper|base=citation|spell=z}} {{underused external link template|https://www.calflora.org}} <!-- Please place categories where...')
 
imported>Erutuon
(uses wikidata)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{uses Wikidata|P225}}
 
{{cs1 wrapper|base=citation|spell=z}}
 
{{cs1 wrapper|base=citation|spell=z}}
 
{{underused external link template|https://www.calflora.org}}
 
{{underused external link template|https://www.calflora.org}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
Cites or links to the [https://www.calflora.org Calflora] database.
 +
 
== Usage ==
 
== Usage ==
Cites or links to the [https://www.calflora.org Calflora] database. It requires a single parameter, the taxon name. It must be the exact taxon name that appears in the URL, with spaces instead of plus signs. Add {{para|link|1}} to create a link suitable for external link sections.
+
The first parameter provides the taxon name, but it can be omitted, in which case the template checks for a taxon name in Wikidata. It must be the exact taxon name that appears in the URL, with spaces instead of plus signs because it will be used in the link text as well as the URL.
 +
 
 +
Add {{para|link|1}} to create a link suitable for external link sections.
  
 
# {{tlc|Calflora|Sambucus racemosa var. melanocarpa}}
 
# {{tlc|Calflora|Sambucus racemosa var. melanocarpa}}
# {{tlc|Calflora|Sambucus racemosa var. melanocarpa |link=1}}
+
# {{tlc|Calflora|Sambucus racemosa var. melanocarpa |link{{=}}1}}
 
:: &darr;
 
:: &darr;
 
# {{Calflora|Sambucus racemosa var. melanocarpa}}
 
# {{Calflora|Sambucus racemosa var. melanocarpa}}

Latest revision as of 07:08, 6 August 2018

Template:Uses Wikidata

Template:Underused external link template Cites or links to the Calflora database.

Usage

The first parameter provides the taxon name, but it can be omitted, in which case the template checks for a taxon name in Wikidata. It must be the exact taxon name that appears in the URL, with spaces instead of plus signs because it will be used in the link text as well as the URL.

Add |link=1 to create a link suitable for external link sections.

  1. {{Calflora|Sambucus racemosa var. melanocarpa}}
  2. {{Calflora|Sambucus racemosa var. melanocarpa|link=1}}
  1. "Sambucus racemosa var. melanocarpa". Calflora: Information on California plants for education, research and conservation, with data contributed by public and private institutions and individuals, including the Consortium of California Herbaria. Berkeley, California: The Calflora Database – via www.calflora.org.
  2. Calflora