Module:italics/documentation
Appearance
This module applies proper italicization to the taxonomic name of a genus, species, subspecies, variety, or form; or italicizes a title while not italicizing a parenthetical disambiguator. It is intended to be used in interwiki link modules, but might be useful elsewhere too.
Testcases
[edit]{{#invoke:italics|test|<cite>A Voyage around the World. [...] In Two Volumes</cite>|quote=1}} {{#invoke:italics|test|<cite>A Response to a Scurrilous Libel by J[onathan] S[wift]. [...] In Two Volumes</cite>|quote=1}} {{#invoke:italics|test|<cite>[[w:Essays (Montaigne)|The Essayes, or, Morall, Politike and Millitarie Discourses of Lo. Michaell de Montaigne, Knight of the Noble Order of St. Michaell, and One of the Gentlemen in Ordinary of the French King, Henry the Third His Chamber]]</cite>|quote=1}} {{#invoke:italics|test|<cite>[[w:Cyclopædia, or an Universal Dictionary of Arts and Sciences|Cyclopædia: Or, An Universal Dictionary of Arts and Sciences; [...] In Two Volumes]]</cite>|quote=1}} {{#invoke:italics|test|1=[http://dsalsrv02.uchicago.edu/cgi-bin/philologic/search3advanced?dbname=mcgregor&query=R:hi:McGregor&searchdomain=headwords&matchtype=exact&display=utf8 {{lang|hi|R:hi:McGregor}}]|quote=1}} {{#invoke:italics|test|Pinus contorta subsp. latifolia}} {{#invoke:italics|test|Cupressus arizonica var. glabra}} {{#invoke:italics|test|Fragaria vesca subsp. vesca f. semperflorens}} {{#invoke:italics|test|Fragaria × ananassa}} {{#invoke:italics|test|Argentina (plant)}} {{#invoke:italics|test|× Agroelymus}} <!-- This now passess 20181225-19:12 --> {{#invoke:italics|test|A sample item containing a continuation, &c {{...}} <!-- This fails currently --> }} {{#invoke:italics|test|A sample item containing a continuation, &c {{nb...}} <!-- This fails currently --> }} {{#invoke:italics|test|[[Wiktionary:Main_Page|A sample item containing a continuation, &c {{...}}]] <!-- This fails currently --> }} {{#invoke:italics|test|[https://en.wiktionary.org/wiki/Wiktionary:Main_Page A sample item containing a continuation, [&c {{...}}]]<!-- This fails currently, Generates a missing span... -->}} {{#invoke:italics|test|'''Polygonum''' aviculare}}
- A Voyage around the World. [...] In Two Volumes
- A Response to a Scurrilous Libel by J[onathan] S[wift]. [...] In Two Volumes
- The Essayes, or, Morall, Politike and Millitarie Discourses of Lo. Michaell de Montaigne, Knight of the Noble Order of St. Michaell, and One of the Gentlemen in Ordinary of the French King, Henry the Third His Chamber
- Cyclopædia: Or, An Universal Dictionary of Arts and Sciences; [...] In Two Volumes
- R:hi:McGregor
- Pinus contorta subsp. latifolia
- Cupressus arizonica var. glabra
- Fragaria vesca subsp. vesca f. semperflorens
- Fragaria × ananassa
- Argentina (plant)
- × Agroelymus
- A sample item containing a continuation, &c […]
- A sample item containing a continuation, &c […]
- A sample item containing a continuation, &c […]
- A sample item containing a continuation, [&c [… ]]
- Polygonum aviculare
{{taxlink|Rosa × alba|nothospecies}}
- Rosa × alba