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..."
 
m Update animal
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==

Revision as of 20:38, 22 February 2025

Documentation

An infobox for use on Animal 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
}}