வார்ப்புரு:IPNI/doc
{{Documentation subpage}}
 
 {{uses Wikidata|P225|P961}}
 &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;
 
 == 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. Date defaults to access-date.
 
 ===Citation for a single taxon===
 *&lt;code&gt;&lt;nowiki&gt;{{IPNI |id=77086113-1 |taxon=Rhodanthemum atlanticum subsp. gelidum |authority=(Maire) Dobignard |date=2018 |access-date=2019-07-21}}&lt;/nowiki&gt;&lt;/code&gt; →&lt;br&gt;{{IPNI |id=77086113-1 |taxon=Rhodanthemum atlanticum subsp. gelidum |authority=(Maire) Dobignard |date=2018 |access-date=2019-07-21}}
 :Note: {{as of|2021|January|lc=yes}}, 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.
 :*&lt;nowiki&gt;{{IPNI |id=30149252-2 |taxon=Meconopsis |authority=Vig.}}&lt;/nowiki&gt; → {{IPNI |id=30149252-2 |taxon=Meconopsis |authority=Vig.}} – missing .
 :*&lt;nowiki&gt;{{IPNI |id=30149252-2 |taxon=Meconopsis |authority=Vig..}}&lt;/nowiki&gt; → {{IPNI |id=30149252-2 |taxon=Meconopsis |authority=Vig..}}
 The authority may be omitted:
 *&lt;code&gt;&lt;nowiki&gt;{{IPNI |id=77086113-1 |taxon=Rhodanthemum atlanticum subsp. gelidum |access-date=2019-07-21}}&lt;/nowiki&gt;&lt;/code&gt; →&lt;br&gt;{{IPNI |id=77086113-1 |taxon=Rhodanthemum atlanticum subsp. gelidum |access-date=2019-07-21}}
 If the taxon name is omitted, a dummy title will be generated for the citation, which is undesirable:
 *&lt;code&gt;&lt;nowiki&gt;{{IPNI |id=77086113-1 |access-date=2019-07-21}}&lt;/nowiki&gt;&lt;/code&gt; →&lt;br&gt;{{IPNI |id=77086113-1 |access-date=2019-07-21}}
 &lt;b&gt;Note&lt;/b&gt;: 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===
 *&lt;code&gt;&lt;nowiki&gt;{{IPNI |id=22405-1 |author=Carl Linnaeus |access-date=2019-07-21}}&lt;/nowiki&gt;&lt;/code&gt; →&lt;br&gt;{{IPNI |id=22405-1 |author=Carl Linnaeus |access-date=2019-07-21}}
 
 ===Citation for an author abbreviation===
 *&lt;code&gt;&lt;nowiki&gt;{{IPNI |abbrev=L.f. |access-date=2019-07-21}}&lt;/nowiki&gt;&lt;/code&gt; →&lt;br&gt;{{IPNI |abbrev=L.f. |access-date=2019-07-21}}&lt;!--author std%3AL.f.--&gt;
 
 ===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:
 *&lt;code&gt;&lt;nowiki&gt;{{IPNI |search=Rhodanthemum |access-date=2019-07-21}}&lt;/nowiki&gt;&lt;/code&gt; →&lt;br&gt;{{IPNI |search=Rhodanthemum |access-date=2019-07-21}}
 Search for an author:
 *&lt;code&gt;&lt;nowiki&gt;{{IPNI |search=Carl Linnaeus |access-date=2019-07-21}}&lt;/nowiki&gt;&lt;/code&gt; →&lt;br&gt;{{IPNI |search=Carl Linnaeus |access-date=2019-07-21}}
 
 &lt;includeonly&gt;{{Sandbox other||
 &lt;!-- CATEGORIES HERE, THANKS --&gt;