Jump to content

Template:Infobox Animal/doc: Difference between revisions

From Pirate Software Wiki
Created page with "{{Doc/start}} An infobox for use on Ferret pages. It stores data to Special:CargoTables/Animal. ==Usage== <pre> {{Infobox Animal | name = | image = | type = }} </pre> ===Parameters=== {| class="wikitable" ! Parameter !! Data Type !! Default Value !! Description |- | name || String || <nowiki>{{PAGENAME}}</nowiki> || The animal's name |- | image || String || <nowiki>{{{name}}}.png or {{PAGENAME}}.png</nowiki> || The image to be used, without the File: prefix but wit..."
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Doc/start}}
{{Doc/start}}
An infobox for use on Ferret pages. It stores data to [[Special:CargoTables/Animal]].
An infobox for use on Animal pages. It stores data to [[Special:CargoTables/Animal]].


==Usage==
==Usage==
Line 7: Line 7:
| name =
| name =
| image =
| image =
| arrivaldate =
| birthday =
| type =
| type =
| arrivallink =
}}
}}
</pre>
</pre>
Line 18: Line 21:
|-
|-
| image || String || <nowiki>{{{name}}}.png or {{PAGENAME}}.png</nowiki> || The image to be used, without the File: prefix but with the extension. For example, if you wanted to use , you'd input Badger_Mugshot.png. If not given, the page will be added to [[:Category:Animal lacking infobox images]].
| image || String || <nowiki>{{{name}}}.png or {{PAGENAME}}.png</nowiki> || The image to be used, without the File: prefix but with the extension. For example, if you wanted to use , you'd input Badger_Mugshot.png. If not given, the page will be added to [[:Category:Animal lacking infobox images]].
|-
| arrivaldate || String || || The date the animal arrived at the shelter
|-
| birthday || String || || The confirmed known date of birth of the animal
|-
|-
| type || String || || The animal's type
| type || String || || The animal's type
|-
|-
| arrivallink || String || || The animal’s link of when it's arrival
|}
|}



Latest revision as of 16:15, 22 March 2025

Documentation

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

Usage

{{Infobox Animal
| name =
| image =
| arrivaldate =
| birthday =
| type =
| arrivallink =
}}

Parameters

Parameter Data Type Default Value Description
name String {{PAGENAME}} The animal'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 , you'd input Badger_Mugshot.png. If not given, the page will be added to Category:Animal lacking infobox images.
arrivaldate String The date the animal arrived at the shelter
birthday String The confirmed known date of birth of the animal
type String The animal's type
arrivallink String The animal’s link of when it's arrival

Example

Pesto
General details
Name Pesto
Type of animal Dog
{{Infobox Animal
| noCategories = 1
| name = Pesto
| image =
| type = Dog
}}