Jump to content

Template:Infobox Ferret

From Ferret Software Wiki
Revision as of 18:05, 22 March 2025 by Nelas (talk | contribs) (fix for real)


This template defines the table "Ferret". View table. A replacement table has been generated for this table; View replacement table.

Documentation

An infobox for use on Ferret pages. It stores data to Special:CargoTables/Ferret.

Known Issue - Spaces in ferret names
Currently name parameter must be set manually for ferrets with spaces in their name. Spaces must be replaced by underscores.
Example: For Mai Tai you have to add | name = Mai_Tai to her Infobox


Usage

{{Infobox Ferret
| nickname =
| shayename =
| gender =
| arrivaldate =
| birthday =
| valhalla =
| playgroup =
| age =
| isinquarantine=
| valhallalink =
| arrivallink =
}}

Parameters

Parameter Data Type Default Value Description
name String {{PAGENAME}} The ferret's name. [note 1]
nickname String The ferret's nicknames by Chat
shayename String The ferret's nicknames by Shaye
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.

Mugshot Image

Filename Ferretname_Mugshot.png for the Image will be created automatically. If the File doesn't exist, File:Unknown_Mugshot.png will be used as a placeholder, the Infobox will display the missing file below the placeholder and the page will be added to Category:Ferrets lacking infobox image.

Image size should be approx. 190x230 px

Notes

  1. name parameter is used for internal linking on the wiki. Make sure the title of the ferret's page matches it's name. Don't try to define name by any other than using the default value, any difference between name and page title (External Link: MediaWiki Manual - Page Title) will cause broken broken internal links for the ferret's page!


Example

Ferret without Mugshot

{{Infobox Ferret
| noCategories = 1  [*]
| name = Yoghurt    [*]
| gender = Male
| arrivaldate = 2024/02/26
| valhalla =
| playgroup = BePeepo
| isinquarantine = False
| age = 3
| valhallalink =
| arrivallink =
}}

Notes

[*] marked Parameters are used to create examples for this documentation. Don't set name on the ferret page manually. A name that differs from the page title will cause broken internal links. noCategories = 1 will prevent categories been added to the page and also prevent data written into Special:CargoTables/Ferret.

Yoghurt



Missing: File:Yoghurt Mugshot.png

General details
Name Yoghurt
Gender Male
Arrival date 2024/02/26
Playgroup BePeepo
Age 3

Ferret with Mugshot

{{Infobox Ferret
| noCategories = 1  [*]
| name = Badger     [*]
| gender = Male
| arrivaldate = 2024/02/26
| valhalla =
| playgroup = BePeepo
| isinquarantine = False
| age = 3
| valhallalink =
| arrivallink =
}}

Notes

[*] marked Parameters are used to create examples for this documentation. Don't set name on the ferret page manually. A name that differs from the page title will cause broken internal links. noCategories = 1 will prevent categories been added to the page and also prevent data written into Special:CargoTables/Ferret.

Badger

General details
Name Badger
Gender Male
Arrival date 2024/02/26
Playgroup BePeepo
Age 3