Template:Infobox Ferret: Difference between revisions
m (Added the general details for infobox ferret) |
(Added age, valhallalink and isInQuarantine to cargo table) |
||
Line 8: | Line 8: | ||
| Valhalla date = {{{valhalla|}}} | | Valhalla date = {{{valhalla|}}} | ||
| Playgroup = {{{playgroup|}}} | | Playgroup = {{{playgroup|}}} | ||
| Age = {{{age|}}} | |||
}} | }} | ||
<tr><td colspan="2" class="infobox-centered"> | <tr><td colspan="2" class="infobox-centered"> | ||
Line 18: | Line 19: | ||
{{Infobox row|Valhalla date|{{{valhalla|}}}}} | {{Infobox row|Valhalla date|{{{valhalla|}}}}} | ||
{{Infobox row|Playgroup|{{{playgroup|}}}}} | {{Infobox row|Playgroup|{{{playgroup|}}}}} | ||
{{Infobox row|Age|{{{age|}}}}} | |||
{{Infobox row|Is In Quarantine|{{{quarantine|}}}}} | |||
{{Infobox row|Valhalla link|{{{valhallalink|}}}}} | |||
{{Infobox end}}{{#if:{{#var:noCategories}}||[[Category:Ferret]]}}<!-- | {{Infobox end}}{{#if:{{#var:noCategories}}||[[Category:Ferret]]}}<!-- | ||
Line 27: | Line 31: | ||
| valhalla = {{{valhalla|}}} | | valhalla = {{{valhalla|}}} | ||
| playgroup = {{{playgroup|}}} | | playgroup = {{{playgroup|}}} | ||
| age = {{{age|}}} | |||
| isinquarantine = {{{quarantine|}}} | |||
| valhallalink = {{{valhallalink|}}} | |||
}} | }} | ||
}}}}</includeonly><noinclude> | }}}}</includeonly><noinclude> | ||
Line 36: | Line 43: | ||
| valhalla = String | | valhalla = String | ||
| playgroup = String | | playgroup = String | ||
| age = Integer | |||
| isinquarantine = Boolean | |||
| valhallalink = String | |||
}} | }} | ||
Revision as of 10:43, 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 = }}