Module talk:TaxonItalics/moretestcases: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 55:
|<nowiki>{{#invoke:TaxonItalics|main|"Dryosaurus" grandis|abbreviated=yes|linked=yes}}</nowiki> || {{#invoke:TaxonItalics|main|"Dryosaurus" grandis|abbreviated=yes|linked=yes}}|| {{#invoke:TaxonItalics/sandbox|main|"Dryosaurus" grandis|abbreviated=yes|linked=yes}}
|-
|colspan=2|<strong>AlreadyHas hasinternal italic markup at the startremove and/or endprocess as doif nothingabsent</strong>
|-
|<nowiki>{{#invoke:TaxonItalics|main|Pinus ''subg.'' Pinus}}</nowiki> || {{#invoke:TaxonItalics|main|Pinus ''subg.'' Pinus}}|| {{#invoke:TaxonItalics/sandbox|main|Pinus ''subg.'' Pinus}}
|-
|<nowiki>{{#invoke:TaxonItalics|main|Pinus subg.'' Pinus}}</nowiki> || {{#invoke:TaxonItalics|main|Pinus subg.'' Pinus}}|| {{#invoke:TaxonItalics/sandbox|main|Pinus subg.'' Pinus}}
|-
|colspan=2|<strong>HasAlready internalhas italic markup at removethe start and/or processend as ifreturn absentunchanged</strong>
|-
|<nowiki>{{#invoke:TaxonItalics|main|''Pinus sylvestris''}}</nowiki> || {{#invoke:TaxonItalics|main|''Pinus sylvestris''}}|| {{#invoke:TaxonItalics/sandbox|main|''Pinus sylvestris''}}
Line 63 ⟶ 69:
|<nowiki>{{#invoke:TaxonItalics|main|''Pinus subg. Pinus''}}</nowiki> || {{#invoke:TaxonItalics|main|''Pinus subg. Pinus''}}|| {{#invoke:TaxonItalics/sandbox|main|''Pinus subg. Pinus''}}
|-
|<nowiki>{{#invoke:TaxonItalics|main|''Pinus'' '''subg.''' ''Pinus''}}</nowiki> || {{#invoke:TaxonItalics|main|''Pinus'' '''subg.''' ''Pinus''}} || {{#invoke:TaxonItalics/sandbox|main|''Pinus'' '''subg.''' ''Pinus''}}
|-
|<nowiki>{{#invoke:TaxonItalics|main|''Pinus subg. Pinus}}</nowiki> text after || {{#invoke:TaxonItalics|main|''Pinus subg. Pinus}} text after|| {{#invoke:TaxonItalics/sandbox|main|''Pinus subg. Pinus}} text after
|-
|<nowiki>{{#invoke:TaxonItalics|main|Pinus subg. Pinus''}} text after</nowiki> || {{#invoke:TaxonItalics|main|Pinus subg. Pinus''}} text after|| {{#invoke:TaxonItalics/sandbox|main|Pinus subg. Pinus''}} text after
|-
|colspan=2|<strong>Has internal italic markup – remove and process as if absent</strong>
|-
|<nowiki>{{#invoke:TaxonItalics|main|Pinus ''subg.'' Pinus}}</nowiki> || {{#invoke:TaxonItalics|main|Pinus ''subg.'' Pinus}}|| {{#invoke:TaxonItalics/sandbox|main|Pinus ''subg.'' Pinus}}
|-
|<nowiki>{{#invoke:TaxonItalics|main|Pinus subg.'' Pinus}}</nowiki> || {{#invoke:TaxonItalics|main|Pinus subg.'' Pinus}}|| {{#invoke:TaxonItalics/sandbox|main|Pinus subg.'' Pinus}}
|-
|colspan=2|<strong>Starts with [ – return unchanged</strong>
|-
|<nowiki>{{#invoke:TaxonItalics|main|[[Cyclamen#Subgenus Cyclamen|''Cyclamen'' subg. ''Cyclamen'']]}}</nowiki> || {{#invoke:TaxonItalics|main|[[Cyclamen#Subgenus Cyclamen|''Cyclamen'' subg. ''Cyclamen'']]}}|| {{#invoke:TaxonItalics/sandbox|main|[[Cyclamen#Subgenus Cyclamen|''Cyclamen'' subg. ''Cyclamen'']]}}