Template:Infobox/doc

From Pirate Software Wiki
Revision as of 22:04, 27 November 2023 by Djinnet (talk | contribs) (Created page with "{{Doc/start}} An infobox for use on pages. This is just an basic infobox ==Usage== <pre> {{Infobox | title = | image = | param1 = | param2 = | param3 = | param4 = | param5 = }} </pre> ===Parameters=== {| class="wikitable" ! Parameter !! Data Type !! Default Value !! Description |- | name || String || <nowiki>{{PAGENAME}}</nowiki> || The title |- | image || String || <nowiki>{{{name}}}.png or {{PAGENAME}}.png</nowiki> || The image to be used, without the File: p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation

An infobox for use on pages. This is just an basic infobox

Usage

{{Infobox 
| title = 
| image = 
| param1 = 
| param2 = 
| param3 = 
| param4 = 
| param5 = 
}}

Parameters

Parameter Data Type Default Value Description
name String {{PAGENAME}} The title
image String {{{name}}}.png or {{PAGENAME}}.png The image to be used, without the File: prefix but with the extension.
param1 String Optional parameter
param2 String Optional parameter
param3 String Optional parameter
param4 String Optional parameter
param5 String Optional parameter

Example

Infobox/doc
Infos
{{Infobox 
| title = Thor
| image = 
| param1 = something
| param2 = 
| param3 = 
| param4 = 
| param5 = 
}}