Template:FrameBox

From Shiptest Wiki
Revision as of 00:56, 8 October 2023 by Mark (talk | contribs) (Reorganises frame box styling)
Jump to navigationJump to search


This page needs revising!

The following page is out of date and/or needs to be revised. If the page's guide needs revision, see here for an example.
The revision reason is: "Fix behaviour for missing parameters and empty parameters."
Marked by: "Helpful Herbert (talk) 10:04, 26 April 2020 (UTC)"



About

Infobox with title and content, intended use in Main Page and Administrators.

Parameter-Usage

Parameter Default Description
color 888 RGB-color of the title-background (anything that would fit behind a '#' like 'BBA0DD'
image Image to be displayed on the left and right of the titlebar
title Centered text in the title
content Content to be displayed in the infobox

Examples

Bare 1

{{FrameBox}}
[[file:{{{image}}}|left|24px]]{{{title}}}[[file:{{{image}}}|right|24px]]
{{{content}}}

Bare 2

{{FrameBox
|color=
|image=
|title=
|content=
}}
[[file:|left|24px]]'[[file:|right|24px]]

Normal

{{FrameBox
| color      = BBA0DD
| image      = Generic botanist.png
| title      = Departments and Roles
| content    = {{pagejobs}}
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
colorcolor

no description

Stringoptional
imageimage

no description

Fileoptional
titletitle

no description

Stringrequired
contentcontent

no description

Contentrequired