Difference between revisions of "Template:IPNI/doc"

From blackwiki
Jump to navigation Jump to search
imported>Peter coxhead
(not just CS1)
imported>Peter coxhead
(→‎Usage: note use of mode para)
Line 20: Line 20:
 
*: ↓
 
*: ↓
 
* {{IPNI |id=77151885-1 |taxon=Homalium glandulosum |authority=Tagane & V.H.Nguyen |accessdate=2016-01-19}}
 
* {{IPNI |id=77151885-1 |taxon=Homalium glandulosum |authority=Tagane & V.H.Nguyen |accessdate=2016-01-19}}
 +
 +
By default, the template creates CS1 style citations, based on {{tlx|cite web}}. Set {{para|mode|CS2}} to created CS2 style citations, based on {{tlx|citation}}.
  
 
==Examples==
 
==Examples==

Revision as of 08:34, 9 May 2019

Template:Uses Wikidata

Usage

Without parameters, queries Wikidata for IPNI id for the taxon that the current article is about.

  • {{IPNI}} or {{IPNI |accessdate=14 January 2026}}

Otherwise, provide id:

  • {{IPNI| id = IPNI id | taxon = taxon name | accessdate = 14 January 2026}}

or a search query:

  • {{IPNI| query = | name = | accessdate = 14 January 2026}}

The |taxon= is automatically italicized if necessary by Module:eFloras. Any italics will be ignored if the module is able to determine the taxonomic rank. Do not place the taxonomic authority in the |taxon= parameter. That may prevent italicization. Instead, place it in the |authority= parameter:

  • {{IPNI |id=77151885-1 |taxon=Homalium glandulosum |authority=Tagane & V.H.Nguyen |accessdate=2016-01-19}}
  • "Script error: No such module "eFloras". Tagane & V.H.Nguyen". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew. Retrieved 2016-01-19.

By default, the template creates CS1 style citations, based on {{cite web}}. Set |mode=CS2 to created CS2 style citations, based on {{citation}}.

Examples

  1. {{IPNI|id=21501-1|taxon=Sassafras|accessdate=14 January 2026}}
  2. {{IPNI|id=21501-1|accessdate=14 January 2026}}
  3. {{IPNI|id=21501-1|accessdate=14 January 2026|mode=CS2}}
  1. "Script error: No such module "eFloras".". International Plant Names Index (IPNI). Royal Botanic Gardens, Kew. Retrieved 14 January 2026.
  2. International Plant Names Index (IPNI). Royal Botanic Gardens, Kew https://www.ipni.org/n/21501-1. Retrieved 14 January 2026. Missing or empty |title= (help)
  3. International Plant Names Index (IPNI). Royal Botanic Gardens, Kew https://www.ipni.org/n/21501-1. Retrieved 14 January 2026. Invalid |mode=CS2 (help); Missing or empty |title= (help)

See also