Jump to content

Template:Infobox Ferret/mugshot: Difference between revisions

From Ferret Software Wiki
Gorasuhl (talk | contribs)
created Infobox part template for the Ferret Infobox
 
m Nelas moved page Template:Infobox Ferret mugshot to Template:Infobox Ferret/mugshot without leaving a redirect: Author request
(No difference)

Revision as of 23:25, 20 March 2025

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:Ferrets lacking infobox image.

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