Template:Box-round: Difference between revisions

From Leeds Hackspace Wiki
Jump to navigation Jump to search
(Added template data)
m (Changed template data)
 
Line 50: Line 50:
"description": "The contents of this box",
"description": "The contents of this box",
"example": "[[File:image.png]]<br/>the hackspace",
"example": "[[File:image.png]]<br/>the hackspace",
"type": "content"
"type": "unbalanced-wikitext",
"required": true
},
},
"titlebackground": {
"titlebackground": {
Line 73: Line 74:
"title": {
"title": {
"label": "Title",
"label": "Title",
"description": "Box title"
"description": "Box title",
"required": true
},
},
"border": {
"border": {

Latest revision as of 20:27, 25 September 2019


title

content

TODO: DOCUMENT BETTER

A box with rounded edges Defaults to hackspace colours

Template parameters

ParameterDescriptionTypeStatus
Content1 text content

The contents of this box

Example
[[File:image.png]]<br/>the hackspace
Unbalanced wikitextrequired
Title Backgroundtitlebackground

Title Background color

Example
#cafeda
Unknownoptional
Title Forgroundtitleforeground

Title forground color

Example
#fff
Unknownoptional
Border Radiusborder-radius

Css border radius

Example
8px
Unknownoptional
Title Styletitlestyle

See style

Unknownoptional
Titletitle

Box title

Unknownrequired
Border colorborder

Border colour

Unknownoptional
Body Backgroundbackground

Body Background Colour

Unknownoptional
Body Foregroundforeground

Body Foreground Colour

Unknownoptional
Stylestyle

Css raw style

Example
width: 100px; height: 200px;
Unknownoptional