Template:FrameBox

From Ekrixipedia
Revision as of 18:55, 13 June 2024 by Eclips e69 (talk | contribs) (Created page with "Taken from the Shiptest wiki <includeonly><div style="box-shadow: 0 0 .3em #999; border-radius: .2em; margin: 1em 0.2em 1em 0.2em; padding: 1px; background: #{{{color}}}3e"> <div style="background: #{{{color|888}}}; border-radius: .2em; color: #FFF; padding: .4em .8em .5em;"><center>[[file:{{{image|Missing.png}}}|left|24px]]'''{{{title|No Title!}}}'''[[file:{{{image|Missing.png}}}|right|24px]]</center></div> <div style="padding: 1em">{{{content|No Content!}}}</div></div>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Taken from the Shiptest wiki


About

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

Examples

Bare 1

{{FrameBox}}

Taken from the Shiptest wiki

No Title!
No Content!

Bare 2

{{FrameBox
|color=
|image=
|title=
|content=
}}

Taken from the Shiptest wiki

[[file:|left|24px]]'[[file:|right|24px]]

Normal

{{FrameBox
| color      = BBA0DD
| image      = Autowiki-Botanist.png
| title      = Species
| content    = {{Species}}
}}

Taken from the Shiptest wiki

<templatedata> { "params": { "color": { "type": "string", "description": "RGB-color of the title-background (anything that would fit behind a '#' like 'BBA0DD'", "default": "888" }, "image": { "type": "wiki-file-name", "description": "Image to be displayed on the left and right of the titlebar " }, "title": { "type": "string", "required": true, "description": "Centered text in the title" }, "content": { "type": "content", "required": true, "description": "Content to be displayed in the infobox" } } } </templatedata>