Difference between revisions of "Template:Box-round"

From Leeds Hackspace Wiki
Jump to: navigation, 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 21:27, 25 September 2019


title

content

TODO: DOCUMENT BETTER

A box with rounded edges Defaults to hackspace colours

Template parameters

ParameterDescriptionTypeStatus
Content1textcontent

The contents of this box

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

Title Background color

Default
empty
Example
#cafeda
Auto value
empty
Unknownoptional
Title Forgroundtitleforeground

Title forground color

Default
empty
Example
#fff
Auto value
empty
Unknownoptional
Border Radiusborder-radius

Css border radius

Default
empty
Example
8px
Auto value
empty
Unknownoptional
Title Styletitlestyle

See style

Default
empty
Example
empty
Auto value
empty
Unknownoptional
Titletitle

Box title

Default
empty
Example
empty
Auto value
empty
Unknownrequired
Border colorborder

Border colour

Default
empty
Example
empty
Auto value
empty
Unknownoptional
Body Backgroundbackground

Body Background Colour

Default
empty
Example
empty
Auto value
empty
Unknownoptional
Body Foregroundforeground

Body Foreground Colour

Default
empty
Example
empty
Auto value
empty
Unknownoptional
Stylestyle

Css raw style

Default
empty
Example
width: 100px; height: 200px;
Auto value
empty
Unknownoptional