View source for Module:TaxonItalics
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
--[[=========================================================================
Italicize a taxon name appropriately by invoking italicizeTaxonName.
The algorithm used is:
* If the name has italic markup at the start or the end, do nothing.
* Else
* Remove (internal) italic markup.
* If the name is made up of four words and the third word is a
botanical connecting term, de-italicize the connecting term and add italic
markup to the outside of the name.
* Else if the name is made up of three words and the second word is a
botanical connecting term or a variant of "cf.", de-italicize the
connecting term and add italic markup to the outside of the name.
* Else just add italic markup to the outside of the name.
The module also:
* Ensures that the hybrid symbol, ×, and parentheses are not italicized, as
well as any string inside parentheses if dab is true.
* Has an option to abbreviate all parts of taxon names other than the last
to the first letter (e.g. "Pinus sylvestris var. sylvestris" becomes
"P. s. var. sylvestris").
* Has an option to wikilink the italicized name to the input name.
000
1:0
Templates used on this page:
- Template:Edit (view source)
- Template:High-use (view source)
- Template:High risk (view source)
- Template:History (view source)
- Template:Hybrid (view source)
- Template:Noitalic (view source)
- Template:Noitalic/styles.css (view source)
- Template:Para (view source)
- Template:Red (view source)
- Template:Template link (view source)
- Template:Template link expanded (view source)
- Template:Tl (view source)
- Template:Tlx (view source)
- Template:Toolbar (view source)
- Module:Arguments (view source)
- Module:High-use (view source)
- Module:Message box (view source)
- Module:Message box/configuration (view source)
- Module:No globals (view source)
- Module:TableTools (view source)
- Module:TaxonItalics (view source)
- Module:TaxonItalics/doc (view source)
- Module:Template link general (view source)
- Module:Toolbar (view source)
- Module:Transclusion count (view source)
- Module:Transclusion count/data/T (view source)
- Module:Yesno (view source)
Return to Module:TaxonItalics.