Template:Infobox Ferret: Difference between revisions

From Pirate Software Wiki
(Added age, valhallalink and isInQuarantine to cargo table)
(Added Birthday)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
| gender = {{{gender|}}}
| gender = {{{gender|}}}
| Arrival date = {{{arrivaldate|}}}
| Arrival date = {{{arrivaldate|}}}
| Birthday = {{{birthday|}}}
| Valhalla date = {{{valhalla|}}}
| Valhalla date = {{{valhalla|}}}
| Playgroup = {{{playgroup|}}}
| Playgroup = {{{playgroup|}}}
Line 17: Line 18:
{{Infobox row|Gender|{{{gender|}}}}}
{{Infobox row|Gender|{{{gender|}}}}}
{{Infobox row|Arrival date|{{{arrivaldate|}}}}}
{{Infobox row|Arrival date|{{{arrivaldate|}}}}}
{{Infobox row|Birthday|{{{birthday|}}}}}
{{Infobox row|Valhalla date|{{{valhalla|}}}}}
{{Infobox row|Valhalla date|{{{valhalla|}}}}}
{{Infobox row|Playgroup|{{{playgroup|}}}}}
{{Infobox row|Playgroup|{{{playgroup|}}}}}
Line 22: Line 24:
{{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 29: Line 32:
| gender = {{{gender|}}}
| gender = {{{gender|}}}
| arrivaldate = {{{arrivaldate|}}}
| arrivaldate = {{{arrivaldate|}}}
| birthday = {{{birthday|}}}
| valhalla = {{{valhalla|}}}
| valhalla = {{{valhalla|}}}
| playgroup = {{{playgroup|}}}
| playgroup = {{{playgroup|}}}
Line 34: Line 38:
| isinquarantine = {{{quarantine|}}}
| isinquarantine = {{{quarantine|}}}
| valhallalink = {{{valhallalink|}}}
| valhallalink = {{{valhallalink|}}}
| arrivallink = {{{arrivallink|}}}
}}
}}
}}}}</includeonly><noinclude>
}}}}</includeonly><noinclude>
Line 41: Line 46:
| gender = String
| gender = String
| arrivaldate = String
| arrivaldate = String
| birthday = String
| valhalla = String
| valhalla = String
| playgroup = String
| playgroup = String
Line 46: Line 52:
| isinquarantine = Boolean
| isinquarantine = Boolean
| valhallalink = String
| valhallalink = String
| arrivallink = String
}}
}}



Latest revision as of 12:25, 31 October 2024


This template defines the table "Ferret". View table.

Documentation

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

Badger

General details
Name Badger
Gender Male
Arrival date 2024/02/26
Playgroup BePeepo
Age 3
{{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 =
}}