வார்ப்புரு:WCSP/doc
{{Documentation subpage}}
 &lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --&gt;
 {{Uses Wikidata|P225|P3591}}
 {{TOC right}}
 
 ==Usage==
 : Use this template to add a citation or link to the [http://apps.kew.org/wcsp/home.do World Checklist of Selected Plant Families] database (WCSP) by providing the name of a taxon.
 : {{Note:}} There are multiple databases provided by [http://www.kew.org/ Kew Gardens] ([http://www.kew.org/data/categories.html see this list]).
 
 ==Syntax==
 If the current page has a taxon name and WCSPF id in Wikidata:
 : &lt;syntaxhighlight lang=&quot;wikitext&quot;&gt;{{WCSP}}&lt;/syntaxhighlight&gt;
 or
 : &lt;syntaxhighlight lang=&quot;wikitext&quot;&gt;{{WCSP | access-date = {{subst:date}} }}&lt;/syntaxhighlight&gt;
 
 To link directly to a specific taxon:
 : &lt;syntaxhighlight lang=&quot;wikitext&quot;&gt;{{WCSP | nameid | taxonToDisplay | validity | access-date = &lt;date&gt; | mode = cs&lt;1 or 2&gt; }}&lt;/syntaxhighlight&gt;
 
 OR
 To link to a search page of matching taxa:
 : &lt;syntaxhighlight lang=&quot;wikitext&quot;&gt;{{WCSP | taxon | taxonToDisplay | validity | access-date = &lt;date&gt; | mode = cs&lt;1 or 2&gt; }}&lt;/syntaxhighlight&gt;
 
 If {{para|mode}} is not supplied, it defaults to &lt;code&gt;cs1&lt;/code&gt;.
 
 ==Samples==
 ;Linking directly to a specific taxon:
 {| class=&quot;wikitable&quot;
 !width=&quot;650&quot;|Sample
 !width=&quot;650&quot;|What it looks like
 |-
 |
 &lt;nowiki&gt;{{WCSP | 469989 | ''Betula nigra pendula'' | nv | access-date = &lt;/nowiki&gt; {{#time: j F Y}} &lt;nowiki&gt;| mode=cs2}}&lt;/nowiki&gt;
 |
 {{WCSP | 469989 | ''Betula nigra pendula'' | nv | access-date = {{#time: j F Y}} | mode=cs2}}
 |-
 |
 &lt;nowiki&gt;{{WCSP | 152054 | ''Betula'' }}&lt;/nowiki&gt;
 |
 {{WCSP | 21065 | ''Betula'' }}
 |-
 |
 &lt;nowiki&gt;{{WCSP | 21527 | ''Betula nigra'' }}&lt;/nowiki&gt;
 |
 {{WCSP | 21527 | ''Betula nigra'' }}
 |-
 |
 &lt;nowiki&gt;{{WCSP | 21527 }}&lt;/nowiki&gt;
 |
 {{WCSP | 21527 }}
 |}
 
 
 ;Linking to taxon search results
 {| class=&quot;wikitable&quot;
 !width=&quot;650&quot;|Sample
 !width=&quot;650&quot;|What it looks like
 |-
 |
 &lt;nowiki&gt;{{WCSP | Philyra | ''Philyra'' Klotzsch | access-date = &lt;/nowiki&gt; {{#time: j F Y}} &lt;nowiki&gt; | mode=cs2}}&lt;/nowiki&gt;
 |
 {{WCSP | Philyra | ''Philyra'' Klotzsch | access-date = {{#time: j F Y}} | mode=cs2}}
 |-
 |
 &lt;nowiki&gt;{{WCSP | Philyra | ''Philyra'' Klotzsch | access-date = &lt;/nowiki&gt; {{#time: j F Y}} &lt;nowiki&gt;}}&lt;/nowiki&gt;
 |
 {{WCSP | Philyra | ''Philyra'' Klotzsch | access-date = {{#time: j F Y}} }}
 |-
 |
 &lt;nowiki&gt;{{WCSP | Philyra }}&lt;/nowiki&gt;
 |
 {{WCSP | Philyra }}
 |-
 |
 &lt;nowiki&gt;{{WCSP}}&lt;/nowiki&gt;
 |
 {{WCSP}}
 |-
 |
 &lt;nowiki&gt;{{WCSP | Caryopteris divaricata | ''Caryopteris divaricata'' Maxim. | nv }}&lt;/nowiki&gt;
 |
 {{WCSP | Caryopteris divaricata | ''Caryopteris divaricata'' Maxim. | nv }}
 |}
 
 ==Parameters==
 * '''taxon'''
 :: The taxon to search
 :: '''Ex:''' (for the Philyra): ''Philyra''
 * '''nameid'''
 :: This is the last number in the URL of the taxon
 :: '''Ex:''' http://apps.kew.org/wcsp/namedetail.do?name_id='''152054'''
 :: '''Ex:''' (for genus Philyra): ''152054''
 * '''taxonToDisplay''' (optional)
 :: The taxon name to display in the link (useful for genera that must be displayed in italic) You can include the author outside of your own italics.
 :: (If you don't supply taxonToDisplay, the link label will be the existing PageName. Link will still work.)
 :: '''Ex:''' (for the Philyra): ''&lt;nowiki&gt;''Philyra'' Klotzsch&lt;/nowiki&gt;''
 * '''validity''' (optional) 
 :: If the taxon is considered as unaccepted or synonym by Kew, add '''nv'''. 
 :: '''Sample''' (for Caryopteris divaricata): ''nv''
 
 ==Use samples==
 :* ''[[Brocchinia]]'', ''[[Acanthostachys]]''
 
 ==See also==
 :* [[commons:Template:Kew list]] the inspiration for this template.
 :* [http://data.kew.org/vpfg1992/vascplnt.html Kew Gardens's 'Vascular Plant Families and Genera 1992']
 :* {{Tl|ThePlantList species}}
 :* {{Tl|Tropicos}}
 :* {{Tl|EFloras}}
 :* {{Tl|GRIN}}
 :* The other templates of [[:Category:Biology external link templates]]
 :* The other templates of [[:Category:Botany external link templates]]
 
 &lt;includeonly&gt;{{sandbox other||
 &lt;!-- Categories below this line; interwikis at Wikidata --&gt;
 [[Category:Biology external link templates]]
 [[Category:Botany external link templates]]
 [[Category:External link templates using Wikidata]]