Following this post on Wikispecies Translation Administrators Noticeboard:

Hi. You may have noticed I recently created some new wikispecies-based translation templates. The list is {{Int Gender}}, {{Int Group|Int Similar groups}}, {{Int Synonym or similar group|Int Synonyms or similar groups}}, {{Int Type}} and {{Int Overview of|Overview of}}, and also {{Faunaeur2}} and {{Commons(with translations)}}. What is your opinion about them (unnecessary mess, too experimental to let continue, redondant to Localization project's templates, other)? Cheers. --Caftaric (talk) 05:33, 29 December 2019 (UTC)

You are now on Caftaric's sandbox about his new translation templates.

The list of templates edit

{{Int Classification}}, {{Int Continent}}, {{Int Country}}, {{Int Distribution}}, {{Int Gender}}, {{Int Group}}, {{Int Overview of}}, {{Int Synonym}}, {{Int Synonym or similar group}} and {{Int Type}}.

(and also {{Faunaeur2}} and {{Commons(with translations)}}).

Why have they been created? edit

There are many untranslated items on the page of a user with a language set to something else than English.

Those templates have been created to deal with some of those untranslated texts.

Aim edit

These templates are not intended to last foverer as new translations may become available from the Localization project.

They may evolve to integrate new texts.

General features edit

They are Wikispecies-based templates. They mimic the preexisting "int templates" created in 2016 by User:TomT0m ({{Int create}}, {{Int Examples}}, {{Int See also}}, {{Int try it}} and {{Int Usage}}).

They share the Localization project' translation syntax but instead of using the {{int:}} "magic word", they use the code int to mean "international". This way, the user can switch from one type to the other and vice versa by changing only one character (":" colon / " " space).

They accept a parameter to generalize the template and accomodate to most of the situations. They all have associated documentation to show exemples of use of the parameters.

How do they work? edit

All are based on the parser function #switch:.

In the templates, there are two types of imbricated "#switch:" structures: The first type is meant to deal with the different values of the parameter(s), the second, embedded in the values of the parameter(s), is meant to deal with the rendering of the text in the different languages where a translation is available. The second type of "#switch:" structures is using the variable {{int:lang}} to detect the user's language settings.

The translated texts are entered following the language ISO code.
Example with the metasyntactic variable foo:
|de=bla|en=foo|fr=toto

All have a default language set to the English version of the translated text.
Example: |foo

Why would they be superior? edit

Some of those templates are more than just a translation of a word or expression. They also incorporate a parameter that may change their rendering on the user's page.

The parameter may be capitalised or not, an option which also changes the rendering on the user's page, with a capitalised or lowercase result text.

Overview edit

Translatated item "int" templates with parameters "int:" magic word templates
Classification

{{int Classification|s}}: Classifications
{{int Classification|l}}: classification
{{int Classification|}}: Classification
{{int Classification|s+l}}: classifications
{{int Classification|s+Alternative}}: Alternative classifications
{{int Classification|l+Alternative}}: alternative classification
{{int Classification|s+l+Alternative}}: alternative classifications

{{int:Alternative classifications}}: Alternative classifications

Country

{{Int Country|Australia}}: Australia
{{Int Country|Brazil}}: Brazil
{{Int Country|Cyprus}}: Cyprus
{{Int Country|Estonia}}: Estonia
{{Int Country|France}}: France
{{Int Country|Greece}}: Greece
{{Int Country|Italy}}: Italy
{{Int Country|USA}}: United States

Continent

{{Int Continent|Africa}}: Africa
{{Int Continent|Asia}}: Asia
{{Int Continent|Central-America}}: Central America
{{Int Continent|Europe}}: Europe
{{Int Continent|North-America}}: North America
{{Int Continent|South-America}}: South America
{{Int Continent|Oceania}}: Oceania

Distribution


{{Int Distribution|Cosmopolite}}: Cosmopolite
{{Int Distribution|Neotropical}}: Neotropical
{{Int Distribution|Palearctic}}: Palearctic
{{Int Distribution|}}: Distribution

{{Int:Distribution}}: Distribution

See also:
{{Int:Native distribution areas}}: Native distribution areas

Gender

{{Int Gender|m}}: Template:Int Gender
{{Int Gender|M}}: Template:Int Gender
{{Int Gender|f}}: Template:Int Gender
{{Int Gender|F}}: Template:Int Gender
{{Int Gender|n}}: Template:Int Gender
{{Int Gender|N}}: Template:Int Gender

{{int:Gender}}: Gender
Group

{{int Group|Extant}}: Extant group
{{int Group|extant}}: extant group
{{int Group|Genus}}: Genus group
{{int Group|genus}}: genus group
{{int Group|genera}}: genus group
{{int Group|Similar}}: Similar group
{{int Group|similar}}: similar group
{{int Group|s}}: groups
{{int Group|S}}: Groups
{{int Group|s+Extant}}: Extant groups
{{int Group|s+extant}}: extant groups
{{int Group|s+Similar}}: Similar groups
{{int Group|s+similar}}: similar groups
{{int Group|species}}: species group
{{int Group|Species}}: Species group
{{int Group|}}: group

See also: {{Int Synonym or similar group|}}: Synonym or similar group
{{Int Synonym or similar group|s}}: synonyms or similar groups
{{Int Synonym or similar group|S}}: Synonyms or similar groups

{{int:Genus group}}: Genus group
{{int:similar groups}}: Similar groups
{{int:Species group}}: Species group

Overview

{{Int Overview of|classes}}: overview of classes
{{Int Overview of|Classes}}: Overview of classes
{{Int Overview of|default}}: overview
{{Int Overview of|Default}}: Overview
{{Int Overview of|}}: Overview
{{Int Overview of|families}}: overview of families
{{Int Overview of|Families}}: Overview of families
{{Int Overview of|genera}}: overview of genera
{{Int Overview of|Genera}}: Overview of genera
{{Int Overview of|orders}}: overview of orders
{{Int Overview of|Orders}}: Overview of orders
{{Int Overview of|phyla}}: overview of phyla
{{Int Overview of|Phyla}}: Overview of phyla
{{Int Overview of|series}}: overview of series
{{Int Overview of|Series}}: Overview of series
{{Int Overview of|species}}: overview of species
{{Int Overview of|Species}}: Overview of species
{{Int Overview of|subtaxa}}: overview of subtaxa
{{Int Overview of|Subtaxa}}: Overview of subtaxa
{{Int Overview of|subregna}}: Overview of subregna

{{int:Overview}}: overview
{{int:Overview of familiae}}: Overview of familiae
{{int:Overview of genera}}: Overview of genera
{{int:Overview of ordines}}: Overview of ordines
{{int:Overview of species}}: Overview of species

Synonym

{{Int Synonym|junior}}: Junior synonym
{{Int Synonym|objective}}: Objective synonym
{{Int Synonym|objectiveof}}: Objective synonym of
{{Int Synonym|of}}: Synonym of
{{Int Synonym|s}}: Synonyms
{{Int Synonym|senior}}: Senior synonym
{{Int Synonym|species}}: Species names in synonymy
{{Int Synonym|subjective}}: Subjective synonym
{{Int Synonym|subjectiveof}}: Subjective synonym of
{{Int Synonym|}}: Synonym

See also: {{Int Synonym or similar group|}}: Synonym or similar group
{{Int Synonym or similar group|s}}: synonyms or similar groups
{{Int Synonym or similar group|S}}: Synonyms or similar groups

{{int:Synonyms}}: Synonyms
{{int:Replaced synonym}}: Replaced synonym

See also:
{{int:Synonymy}}: Synonymy

Type

{{Int Type|genus}}: type genus
{{Int Type|Genus}}: Type genus
{{Int Type|species}}: type species
{{Int Type|Species}}: Type species
{{Int Type|specimen}}: type specimen
{{Int Type|Specimen}}: Type specimen
{{Int Type|default}}: Type
{{Int Type|l}}: type
{{Int Type|locality}}: type locality
{{Int Type|Locality}}: Type locality

{{int:Type locality}}: Type locality
{{int:Type species}}: Type genus
{{int:Type species}}: Type species

See also:
{{int:Typus}}: Typus