Template:FrameBox: Difference between revisions
From Shiptest Wiki
Jump to navigationJump to search
(adds framebox) |
mNo edit summary |
||
Line 67: | Line 67: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"color": { | |||
"type": "string" | |||
}, | |||
"image": { | |||
"type": "wiki-file-name" | |||
}, | |||
"title": { | |||
"type": "string", | |||
"required": true | |||
}, | |||
"content": { | |||
"type": "content", | |||
"required": true | |||
} | |||
} | |||
} | |||
</templatedata></noinclude> |
Revision as of 05:45, 27 May 2023
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. |
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}}
{{{content}}}
Bare 2
{{FrameBox |color= |image= |title= |content= }}
Normal
{{FrameBox | color = BBA0DD | image = Generic botanist.png | title = Departments and Roles | content = {{pagejobs}} }}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
color | color | no description | String | optional |
image | image | no description | File | optional |
title | title | no description | String | required |
content | content | no description | Content | required |