Difference between revisions of "Template:IPNI/doc"
imported>Peter coxhead (removed link to sandbox now it seem to work ok; case with no taxon name) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 32: | Line 32: | ||
* [[:Category:Articles using Template:IPNI with missing parameters]]: added if none of {{para|id}}, {{para|abbrev}} or {{para|search}} was provided (and no Wikidata item was found). | * [[:Category:Articles using Template:IPNI with missing parameters]]: added if none of {{para|id}}, {{para|abbrev}} or {{para|search}} was provided (and no Wikidata item was found). | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES HERE, THANKS --> | <!-- CATEGORIES HERE, THANKS --> | ||
[[Category:Botany external link templates|{{PAGENAME}}]] | [[Category:Botany external link templates|{{PAGENAME}}]] | ||
[[Category:Biology source templates|{{PAGENAME}}]] | [[Category:Biology source templates|{{PAGENAME}}]] | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 22:26, 25 April 2020
| This is a documentation subpage for Template:IPNI. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
This template produces citations to the International Plant Names Index (IPNI). To produce a reference, enclose a use of the template in ref tags.
Citation for a single taxon
{{IPNI |id=77086113-1 |taxon=Rhodanthemum atlanticum subsp. gelidum |authority=(Maire) Dobignard |accessdate=2019-07-21}}→
"Script error: No such module "eFloras". (Maire) Dobignard". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew. Retrieved 2019-07-21.
The authority may be omitted:
{{IPNI |id=77086113-1 |taxon=Rhodanthemum atlanticum subsp. gelidum |accessdate=2019-07-21}}→
"Script error: No such module "eFloras".". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew. 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 |accessdate=2019-07-21}}→
International Plant Names Index (IPNI). Royal Botanic Gardens, Kew https://www.ipni.org/n/77086113-1. Retrieved 2019-07-21. Missing or empty|title=(help)
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
{{IPNI |id=22405-1 |author=Carl Linnaeus |accessdate=2019-07-21}}→
"Carl Linnaeus". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew. Retrieved 2019-07-21.
Citation for an author abbreviation
{{IPNI |abbrev=L.f. |accessdate=2019-07-21}}→
"Author abbreviation 'L.f.'". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew. Retrieved 2019-07-21.
Citation for a search
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 |accessdate=2019-07-21}}→
"Search for 'Rhodanthemum'". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew. Retrieved 2019-07-21.
Search for an author:
{{IPNI |search=Carl Linnaeus |accessdate=2019-07-21}}→
"Search for 'Carl Linnaeus'". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew. Retrieved 2019-07-21.
See also
- Category:Articles using Template:IPNI with missing parameters: added if none of
|id=,|abbrev=or|search=was provided (and no Wikidata item was found).