Jump to content

Template:Infobox Animal/doc

From Pirate Software Wiki
Revision as of 20:37, 22 February 2025 by Djinnet (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation

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

Usage

{{Infobox Animal
| name =
| image =
| type =
}}

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.
type String The animal's type

Example

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