Template:Infobox Ferret: Difference between revisions
(Added age, valhallalink and isInQuarantine to cargo table) |
(Add arrival link) |
||
Line 22: | Line 22: | ||
{{Infobox row|Is In Quarantine|{{{quarantine|}}}}} | {{Infobox row|Is In Quarantine|{{{quarantine|}}}}} | ||
{{Infobox row|Valhalla link|{{{valhallalink|}}}}} | {{Infobox row|Valhalla link|{{{valhallalink|}}}}} | ||
{{Infobox row|Arrival link|{{{arrivallink|}}}}} | |||
{{Infobox end}}{{#if:{{#var:noCategories}}||[[Category:Ferret]]}}<!-- | {{Infobox end}}{{#if:{{#var:noCategories}}||[[Category:Ferret]]}}<!-- | ||
Line 34: | Line 35: | ||
| isinquarantine = {{{quarantine|}}} | | isinquarantine = {{{quarantine|}}} | ||
| valhallalink = {{{valhallalink|}}} | | valhallalink = {{{valhallalink|}}} | ||
| arrivallink= {{{arrivallink|}}} | |||
}} | }} | ||
}}}}</includeonly><noinclude> | }}}}</includeonly><noinclude> | ||
Line 46: | Line 48: | ||
| isinquarantine = Boolean | | isinquarantine = Boolean | ||
| valhallalink = String | | valhallalink = String | ||
| arrivallink = String | |||
}} | }} | ||
Revision as of 23:35, 26 September 2024
This template defines the table "Ferret". View table.
An infobox for use on Ferret pages. It stores data to Special:CargoTables/Ferret.
Usage
{{Infobox Ferret | name = | image = | gender = | arrivaldate = | birthday = | valhalla = | playgroup = | age = | isinquarantine= | valhallalink = | arrivallink = }}
Parameters
Parameter | Data Type | Default Value | Description |
---|---|---|---|
name | String | {{PAGENAME}} | The ferret'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 File:Badger_Mugshot.png, you'd input Badger_Mugshot.png. If not given, the page will be added to Category:Ferret lacking infobox images. |
gender | String | The ferret's gender | |
arrivaldate | String | The date the ferret arrived at the shelter | |
birthday | String | The confirmed known date of birth of the ferret | |
valhalla | String | The date the ferret passed away | |
playgroup | String | The ferret's playgroup | |
Age | Integer | The ferret's age | |
isinquarantine | Boolean | The ferret is in quarantine | |
valhallalink | String | The ferret's link of its passed away on. | |
arrivallink | String | The ferret's link of when it arrival to snail house | |
noCategories | Boolean | Optional. If given any value, the page will not be auto-categorized. |
Example
{{Infobox Ferret | noCategories = 1 | name = Badger | image = Badger_Mugshot.png | gender = Male | arrivaldate = 2024/02/26 | valhalla = | playgroup = BePeepo | isinquarantine = False | age = 3 | valhallalink = | arrivallink = }}