Template talk:Infraspeciesbox special
Appearance
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
Ug99
[edit]I'm trying to get an automated taxobox onto Ug99. It is a varietas of a forma specialis of a species of fungus. Here's what I have so far, which is good until the var.
Puccinia graminis var. P. g. f. sp. tritici var Ug99 | |
---|---|
Scientific classification | |
Domain: | Eukaryota |
Kingdom: | Fungi |
Division: | Basidiomycota |
Class: | Pucciniomycetes |
Order: | Pucciniales |
Family: | Pucciniaceae |
Genus: | Puccinia |
Species: | P. graminis |
Forma specialis: | P. g. f. sp. tritici |
varietas: | P. g. var. P. g. f. sp. tritici var Ug99 |
Trionomial name | |
Puccinia graminis var. P. g. f. sp. tritici var Ug99 |
{{infraspeciesbox special | image = | image_alt = | image_caption = | status = | status_system = | status_ref = {{citation needed|date=}} | genus = Puccinia | species = graminis | infraspecies_rank1_name = Forma specialis | infraspecies_rank1_abbrev = f.sp. | infraspecies_rank1 = [[Puccinia graminis f. sp. tritici|''P. g.'' f. sp. ''tritici'']] | infraspecies_rank2_name = varietas | infraspecies_rank2_abbrev = var. | infraspecies_rank2 = '''''P. g.'' f. sp. ''tritici'' var ''Ug99'''''<nowiki/> | authority = | synonyms = | synonyms_ref = {{citation needed|date=}} }}
Anyone have any ideas? awkwafaba (📥) 23:35, 21 August 2024 (UTC)
- @Awkwafaba: If you supply the rank value as a wikilink, it is used as it is. So the forma specialis rank works. If you supply plain text for the rank value, then the code adds the species name and rank abbreviation. So
{{infraspeciesbox special | image = | image_alt = | image_caption = | status = | status_system = | status_ref = {{citation needed|date=}} | genus = Puccinia | species = graminis | infraspecies_rank1_name = Forma specialis | infraspecies_rank1_abbrev = f.sp. | infraspecies_rank1 = [[Puccinia graminis f. sp. tritici|''P. g.'' f. sp. ''tritici'']] | infraspecies_rank2_name = Varietas | infraspecies_rank2_abbrev = var. | infraspecies_rank2 = Ug99 | authority = | synonyms = | synonyms_ref = {{citation needed|date=}} }}
- generates
Puccinia graminis var. Ug99 | |
---|---|
Scientific classification | |
Domain: | Eukaryota |
Kingdom: | Fungi |
Division: | Basidiomycota |
Class: | Pucciniomycetes |
Order: | Pucciniales |
Family: | Pucciniaceae |
Genus: | Puccinia |
Species: | P. graminis |
Forma specialis: | P. g. f. sp. tritici |
Varietas: | P. g. var. Ug99 |
Trionomial name | |
Puccinia graminis var. Ug99 |
- The ICNafp allows only a maximum of three parts to a scientific name; "Puccinia graminis f. sp. tritici var. Ug99" is not a valid name so the taxobox doesn't generate it. (But "Ug99" can't be a real varietas name as it's not Latin.)
- Peter coxhead (talk) 07:05, 24 August 2024 (UTC)
- awkwafaba: I hope you don't mind, I changed your markup from
<code><nowiki>...</nowiki></code>
to<pre>...</pre>
so that the markup would display as I believe you intended, and I inserted a<nowiki/>
at the end of the infraspecies_rank2 value that already ended with 5 apostrophes; this is necessary to avoid apostrophes re-associating in ways you didn't expect. Cheers! —Anomalocaris (talk) 20:24, 4 September 2024 (UTC)