Difference between revisions of "Template:IPNI/doc"
Jump to navigation
Jump to search
imported>Peter coxhead (→Usage: copy-edit) |
imported>Peter coxhead (updated documentation) |
||
| Line 5: | Line 5: | ||
== Usage == | == 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=== | |
| − | * {{ | + | *<code><nowiki>{{IPNI/sandbox |id=77086113-1 |taxon=Rhodanthemum atlanticum subsp. gelidum |authority=(Maire) Dobignard |accessdate=2019-07-21}}</nowiki></code> →<br>{{IPNI/sandbox |id=77086113-1 |taxon=Rhodanthemum atlanticum subsp. gelidum |authority=(Maire) Dobignard |accessdate=2019-07-21}} |
| + | The authority may be omitted: | ||
| + | *<code><nowiki>{{IPNI/sandbox |id=77086113-1 |taxon=Rhodanthemum atlanticum subsp. gelidum |accessdate=2019-07-21}}</nowiki></code> →<br>{{IPNI/sandbox |id=77086113-1 |taxon=Rhodanthemum atlanticum subsp. gelidum |accessdate=2019-07-21}} | ||
| + | <b>Note</b>: 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=== | |
| + | *<code><nowiki>{{IPNI/sandbox |id=22405-1 |author=Carl Linnaeus |accessdate=2019-07-21}}</nowiki></code> →<br>{{IPNI/sandbox |id=22405-1 |author=Carl Linnaeus |accessdate=2019-07-21}} | ||
| − | * {{ | + | ===Citation for an author abbreviation=== |
| + | *<code><nowiki>{{IPNI/sandbox |abbrev=L.f. |accessdate=2019-07-21}}</nowiki></code> →<br>{{IPNI/sandbox |abbrev=L.f. |accessdate=2019-07-21}}<!--author std%3AL.f.--> | ||
| − | The | + | ===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: | |
| − | + | *<code><nowiki>{{IPNI/sandbox |search=Rhodanthemum |accessdate=2019-07-21}}</nowiki></code> →<br>{{IPNI/sandbox |search=Rhodanthemum |accessdate=2019-07-21}} | |
| − | * {{IPNI | | + | Search for an author: |
| − | + | *<code><nowiki>{{IPNI/sandbox |search=Carl Linnaeus |accessdate=2019-07-21}}</nowiki></code> →<br>{{IPNI/sandbox |search=Carl Linnaeus |accessdate=2019-07-21}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | : | ||
| − | |||
| − | |||
| − | |||
==See also== | ==See also== | ||
| − | * [[:Category:Articles using Template:IPNI with missing parameters]]: added if | + | * [[: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> | ||
| − | <!-- CATEGORIES | + | <!-- 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 09:48, 21 July 2019
| File:Edit-copy green.svg | 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/sandbox |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/sandbox |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.
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/sandbox |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/sandbox |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/sandbox |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/sandbox |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).