Template:IPNI/sandbox
"Plant name details". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew; Harvard University Herbaria & Libraries; Australian National Botanic Gardens.
![]() | This is the template sandbox page for Template:IPNI (diff). See also the companion subpage for test cases. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
taxon name (P225) (see uses)
IPNI plant ID (P961) (see uses)
Usage
[edit]This template produces citations to the International Plant Names Index (IPNI). To produce a reference, enclose a use of the template in ref tags. Date defaults to access-date.
Citation for a single taxon
[edit]{{IPNI |id=77086113-1 |taxon=Rhodanthemum atlanticum subsp. gelidum |authority=(Maire) Dobignard |date=2018 |access-date=2019-07-21}}
→
"Rhodanthemum atlanticum subsp. gelidum (Maire) Dobignard". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew; Harvard University Herbaria & Libraries; Australian National Botanic Gardens. 2018. Retrieved 2019-07-21.
- Note: as of January 2021[update], there is a problem if the authority consists of more than one letter plus a stop/period, since the latter will be omitted. A work-around is to duplicate the stop, but this needs a better longer term solution.
- {{IPNI |id=30149252-2 |taxon=Meconopsis |authority=Vig.}} → "Meconopsis Vig". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew; Harvard University Herbaria & Libraries; Australian National Botanic Gardens. – missing .
- {{IPNI |id=30149252-2 |taxon=Meconopsis |authority=Vig..}} → "Meconopsis Vig." International Plant Names Index (IPNI). Royal Botanic Gardens, Kew; Harvard University Herbaria & Libraries; Australian National Botanic Gardens.
The authority may be omitted:
{{IPNI |id=77086113-1 |taxon=Rhodanthemum atlanticum subsp. gelidum |access-date=2019-07-21}}
→
"Rhodanthemum atlanticum subsp. gelidum". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew; Harvard University Herbaria & Libraries; Australian National Botanic Gardens. Retrieved 2019-07-21.
If the taxon name is omitted, a dummy title will be generated for the citation, which is undesirable:
{{IPNI |id=77086113-1 |access-date=2019-07-21}}
→
"Plant name details". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew; Harvard University Herbaria & Libraries; Australian National Botanic Gardens. Retrieved 2019-07-21.
Note: if the template is used on a page with a link to a Wikidata item using the same taxon name, then the ID may be omitted and will be picked up from Wikidata. This is not recommended as it depends on the setup in Wikidata, which may change; pages in the English Wikipedia are regularly linked to Wikidata items with different taxon names because of Wikidata limitations.
Citation for an author
[edit]{{IPNI |id=22405-1 |author=Carl Linnaeus |access-date=2019-07-21}}
→
"Carl Linnaeus". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew; Harvard University Herbaria & Libraries; Australian National Botanic Gardens. Retrieved 2019-07-21.
Citation for an author abbreviation
[edit]{{IPNI |abbrev=L.f. |access-date=2019-07-21}}
→
"Author abbreviation 'L.f.'". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew; Harvard University Herbaria & Libraries; Australian National Botanic Gardens. Retrieved 2019-07-21.
Citation for a search
[edit]The output may be a list of results. It is possible to search for all occurrences of a taxon name or of an author name.
Search for a taxon:
{{IPNI |search=Rhodanthemum |access-date=2019-07-21}}
→
"Search for 'Rhodanthemum'". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew; Harvard University Herbaria & Libraries; Australian National Botanic Gardens. Retrieved 2019-07-21.
Search for an author:
{{IPNI |search=Carl Linnaeus |access-date=2019-07-21}}
→
"Search for 'Carl Linnaeus'". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew; Harvard University Herbaria & Libraries; Australian National Botanic Gardens. Retrieved 2019-07-21.
See also
[edit]- Category:Articles using Template:IPNI with missing parameters: added if none of
|id=
,|abbrev=
or|search=
was provided (and no Wikidata item was found).