Infobox Animal

From Eating Asturias, the Encyclopedia of Asturian Gastronomy
(initital creation)
 
m (parameter cleanup)
Line 36: Line 36:
"params": {
"params": {
"animal_name_eng": {
"animal_name_eng": {
"aliases": [
"English Name"
],
"label": "English Name",
"label": "English Name",
"description": "The common name of the animal in American English",
"description": "The common name of the animal in American English",
"example": "Monkfis",
"example": "Monkfish",
"type": "string",
"type": "string",
"required": true
"required": true
},
},
"animal_name_esp": {
"animal_name_esp": {
"aliases": [
"Spanish Name"
],
"label": "Castilian Name",
"label": "Castilian Name",
"description": "The common name of the animal in Castilian Spanish",
"description": "The common name of the animal in Castilian Spanish",
Line 56: Line 50:
},
},
"animal_species": {
"animal_species": {
"aliases": [
"Species"
],
"label": "Species",
"label": "Species",
"description": "The biological species of the animal in latin binomial",
"description": "The biological species of the animal in latin binomial",
"example": "Beta vulgaris",
"example": "Beta vulgaris",
"type": "string",
"type": "string",
"required": true
},
"plant_name_ast": {
"aliases": [
"Asturian Name"
],
"label": "Asturian Name",
"description": "The common name of the animal in Asturian",
"example": "Pixín",
"type": "string",
"autovalue": "{{FULLPAGENAME}}",
"required": true
"required": true
},
},
Line 83: Line 63:
},
},
"animal_image_alt": {
"animal_image_alt": {
"aliases": [
"Alt text"
],
"label": "Image Alt Text",
"label": "Image Alt Text",
"description": "Alt text for the animal image",
"description": "Alt text for the animal image",
Line 93: Line 70:
},
},
"animal_name_eng_auth": {
"animal_name_eng_auth": {
"aliases": [
"English Authority"
],
"label": "US Authority Control",
"label": "US Authority Control",
"description": "The authority control entry for the animal in the LOC LCSH",
"description": "The authority control entry for the animal in the LOC LCSH",
Line 103: Line 77:
},
},
"animal_name_esp_auth": {
"animal_name_esp_auth": {
"aliases": [
"ES Authority Control"
],
"label": "ES Authority Control",
"label": "ES Authority Control",
"description": "Authority control entry for the animal in the BNE",
"description": "Authority control entry for the animal in the BNE",
Line 113: Line 84:
},
},
"animal_species_animalia": {
"animal_species_animalia": {
"aliases": [
"Animalia Species"
],
"label": "Animalia Entry",
"label": "Animalia Entry",
"description": "A link to the Animalia Online entry for the animal species",
"description": "A link to the Animalia Online entry for the animal species",
Line 121: Line 89:
"type": "url",
"type": "url",
"suggested": true
"suggested": true
},
"animal_name_ast": {
"label": "Asturian Name",
"description": "The common name of the animal in Asturian",
"example": "Pixín",
"type": "string",
"autovalue": "{{FULLPAGENAME}}",
"required": true
}
}
},
},
"description": "This template is used to display basic information about an animal featured on Eating Asturias",
"description": "This template is used to display basic information about an animal featured on Eating Asturias",
 
"format": "block",
"format": "block"
"paramOrder": [
"animal_name_ast",
"animal_image",
"animal_image_alt",
"animal_name_eng",
"animal_name_eng_auth",
"animal_name_esp",
"animal_name_esp_auth",
"animal_species",
"animal_species_animalia"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 08:34, 16 July 2024

This template is used to display basic information about an animal featured on Eating Asturias

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Asturian Nameanimal_name_ast

The common name of the animal in Asturian

Example
Pixín
Auto value
{{FULLPAGENAME}}
Stringrequired
Imageanimal_image

a representative image of the animal, preferably taken by the author

Filerequired
Image Alt Textanimal_image_alt

Alt text for the animal image

Auto value
{{FULLPAGENAME}}
Stringrequired
English Nameanimal_name_eng

The common name of the animal in American English

Example
Monkfish
Stringrequired
US Authority Controlanimal_name_eng_auth

The authority control entry for the animal in the LOC LCSH

Example
https://id.loc.gov/authorities/subjects/sh87002766.html
URLsuggested
Castilian Nameanimal_name_esp

The common name of the animal in Castilian Spanish

Example
Rape
Stringrequired
ES Authority Controlanimal_name_esp_auth

Authority control entry for the animal in the BNE

Example
http://catalogo.bne.es/uhtbin/authoritybrowse.cgi?action=display&authority_id=XX541144&index=LCSUBJECT&lang=es
URLsuggested
Speciesanimal_species

The biological species of the animal in latin binomial

Example
Beta vulgaris
Stringrequired
Animalia Entryanimal_species_animalia

A link to the Animalia Online entry for the animal species

Example
https://www.animalia.bio/lophius-piscatorius
URLsuggested