Template:Infobox Animal: Difference between revisions
Basic template for animal infobox |
Extended Infobox |
||
Line 5: | Line 5: | ||
| name = {{{name|{{PAGENAME}}}}} | | name = {{{name|{{PAGENAME}}}}} | ||
| gender = {{{gender|}}} | | gender = {{{gender|}}} | ||
| Arrival date = {{{arrivaldate|}}} | |||
| Birthday = {{{birthday|}}} | |||
| type = {{{type|}}} | | type = {{{type|}}} | ||
}} | }} | ||
Line 13: | Line 15: | ||
{{Infobox row|Name|{{{name|{{PAGENAME}}}}}}} | {{Infobox row|Name|{{{name|{{PAGENAME}}}}}}} | ||
{{Infobox row|Gender|{{{gender|}}}}} | {{Infobox row|Gender|{{{gender|}}}}} | ||
{{Infobox row|Arrival date|{{{arrivaldate|}}}}} | |||
{{Infobox row|Type of animal|{{{type|}}}}} | {{Infobox row|Type of animal|{{{type|}}}}} | ||
{{Infobox row|Arrival link|{{{arrivallink|}}}}} | |||
{{Infobox end}}{{#if:{{#var:noCategories}}||[[Category:Animal]]}}<!-- | {{Infobox end}}{{#if:{{#var:noCategories}}||[[Category:Animal]]}}<!-- | ||
Line 20: | Line 24: | ||
| name = {{{name|{{PAGENAME}}}}} | | name = {{{name|{{PAGENAME}}}}} | ||
| gender = {{{gender|}}} | | gender = {{{gender|}}} | ||
| arrivaldate = {{{arrivaldate|}}} | |||
| birthday = {{{birthday|}}} | |||
| type = {{{type|}}} | | type = {{{type|}}} | ||
| arrivallink = {{{arrivallink|}}} | |||
}} | }} | ||
}}}}</includeonly><noinclude> | }}}}</includeonly><noinclude> | ||
Line 27: | Line 34: | ||
| name = String | | name = String | ||
| gender = String | | gender = String | ||
| arrivaldate = String | |||
| birthday = String | |||
| type = String | | type = String | ||
| arrivallink = String | |||
}} | }} | ||
Revision as of 16:13, 22 March 2025
This template defines the table "Animal". View table. A replacement table has been generated for this table; View replacement table.
An infobox for use on Animal pages. It stores data to Special:CargoTables/Animal.
Usage
{{Infobox Animal | name = | image = | arrivaldate = | birthday = | type = | arrivallink = }}
Parameters
Parameter | Data Type | Default Value | Description |
---|---|---|---|
name | String | {{PAGENAME}} | The animal's name |
image | String | {{{name}}}.png or {{PAGENAME}}.png | The image to be used, without the File: prefix but with the extension. For example, if you wanted to use , you'd input Badger_Mugshot.png. If not given, the page will be added to Category:Animal lacking infobox images. |
arrivaldate | String | The date the animal arrived at the shelter | |
birthday | String | The confirmed known date of birth of the animal | |
type | String | The animal's type | |
arrivallink | String | The animal’s link of when it's arrival |
Example
Pesto | |
---|---|
General details | |
Name | Pesto |
Type of animal | Dog |
{{Infobox Animal | noCategories = 1 | name = Pesto | image = | type = Dog }}