Template:Infobox Ferret: Difference between revisions
(Basic test of ferret infobox with cargo) Â |
(Added Birthday) Â |
||
(3 intermediate revisions 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|}}} | ||
| Age = {{{age|}}} | |||
}} | }} | ||
<tr><td colspan="2" class="infobox-centered"> | <tr><td colspan="2" class="infobox-centered"> | ||
{{#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|Birthday|{{{birthday|}}}}} | |||
{{Infobox row|Valhalla date|{{{valhalla|}}}}} | |||
{{Infobox row|Playgroup|{{{playgroup|}}}}} | |||
{{Infobox row|Age|{{{age|}}}}} | |||
{{Infobox row|Is In Quarantine|{{{quarantine|}}}}} | |||
{{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 19: | Line 32: | ||
| gender = {{{gender|}}} | | gender = {{{gender|}}} | ||
| arrivaldate = {{{arrivaldate|}}} | | arrivaldate = {{{arrivaldate|}}} | ||
| birthday = {{{birthday|}}} | |||
| valhalla = {{{valhalla|}}} | | valhalla = {{{valhalla|}}} | ||
| playgroup = {{{playgroup|}}} | | playgroup = {{{playgroup|}}} | ||
| age = {{{age|}}} | |||
| isinquarantine = {{{quarantine|}}} | |||
| valhallalink = {{{valhallalink|}}} | |||
| arrivallink = {{{arrivallink|}}} | |||
}} | }} | ||
}}}}</includeonly><noinclude> | }}}}</includeonly><noinclude> | ||
Line 28: | Line 46: | ||
| gender = String | | gender = String | ||
| arrivaldate = String | | arrivaldate = String | ||
| birthday = String | |||
| valhalla = String | | valhalla = String | ||
| playgroup = String | | playgroup = String | ||
| age = Integer | |||
| isinquarantine = Boolean | |||
| valhallalink = String | |||
| arrivallink = String | |||
}} | }} | ||
Latest revision as of 12:25, 31 October 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 = }}