Template:Make cite IUCN/doc

This template is an editor's aid. On each species page of the IUCN Red List of Threatened Species, IUCN provides an example citation. This template takes that example citation as a single parameter value and returns a template.

Usage
To use this template Usually within an hour, AnomieBOT will substitute the with the matching  template.
 * 1) at an IUCN Red List species page, highlight and copy the example citation
 * 2) at the en.wiki article write:
 * 3) paste the IUCN example citation into the above between  and
 * 4) click Publish changes; the raw template shown in Show preview becomes active
 * 1) click Publish changes; the raw template shown in Show preview becomes active

Example
At IUCN, the page for Smooth Arizona Cypress has this example citation:
 * Farjon, A. 2013. Cupressus arizonica var. glabra. The IUCN Red List of Threatened Species 2013: e.T19708408A19708411. https://dx.doi.org/10.2305/IUCN.UK.2013-1.RLTS.T19708408A19708411.en. Downloaded on 27 December 2019.

writing the template:

shows this in Preview mode:

when substed gives this:

Limitations
Substing, using the  prefix does not work within  tags; see. That is why this template is auto-subst'd by AnomieBOT which does work within  tags.

Alternatively, use NAME to wrap the output with  tags. When substituted with the code:

the following will be output on the page:

Sometimes it is desirable to modify the output of (wikilinks etc) before saving. One, sort of awkward, way to accomplish that is to open another browser window and open a sandbox. Write the  (note the unnamed parameter   at the end); click Show preview, the template will render a formatted  template that you can edit and then copy/paste into the target article. The  parameter shows the italic markup in title.

From this original IUCN citation:

the template returns this :