Template:Infobox Ferret: Difference between revisions
(Basic test of ferret infobox with cargo) Â |
m (Added the general details for infobox ferret) |
||
Line 12: | Line 12: | ||
{{#if:{{{image|}}}|[[File:{{{image}}}|192px]]|{{#if:{{#var:noCategories}}||[[Category:Ferret lacking infobox images]]}}}} | {{#if:{{{image|}}}|[[File:{{{image}}}|192px]]|{{#if:{{#var:noCategories}}||[[Category:Ferret lacking infobox images]]}}}} | ||
</td></tr> | </td></tr> | ||
{{Infobox section|General details}} | |||
{{Infobox row|Name|{{{name|{{PAGENAME}}}}}}} | |||
{{Infobox row|Gender|{{{gender|}}}}} | |||
{{Infobox row|Arrival date|{{{arrivaldate|}}}}} | |||
{{Infobox row|Valhalla date|{{{valhalla|}}}}} | |||
{{Infobox row|Playgroup|{{{playgroup|}}}}} | |||
{{Infobox end}}{{#if:{{#var:noCategories}}||[[Category:Ferret]]}}<!-- | {{Infobox end}}{{#if:{{#var:noCategories}}||[[Category:Ferret]]}}<!-- | ||
Revision as of 19:14, 12 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 = }}