Template:Infobox Ferret/mugshot/doc

Revision as of 23:11, 20 March 2025 by Gorasuhl (talk | contribs) (created doc for Infobox part template for the Ferret Infobox)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation

Displays a centered image with colspan 2 in an Infobox Ferret.

Usage

{{Infobox mugshot ferret|ferret-name = }}

Parameter

Parameter Data Type Default Value Description
ferret-name String Name of the Ferret

How it works

Filename Ferretname_Mugshot.png for the Image will be created automatically using ferret-name parameter and adding _Mugshot.png to it. If the File doesn't exist, File:Unknown_Mugshot.png will be used as a placeholder, the Infobox will display the missing file below the placeholder and the page will be added to Category:Ferret lacking infobox images.

Image size should be approx. 190x230 px

Example

{{Infobox mugshot ferret|ferret-name = Badger}}

Displays the Image File:Badger_Mugshot.png of Badger.

If the Ferret has a Mugshot, the Infobox will look like this: Infobox Ferret - Ferret with Mugshot

If the Ferret has no Mugshot, the Infobox will look like this: Infobox Ferret - Ferret without Mugshot