Difference between revisions of "Template:Colored box/doc"

From Forge Community Wiki
imported>Shirayuki
imported>Tomybrz
m
Line 6: Line 6:
 
"style": {},
 
"style": {},
 
"background-title-color": {},
 
"background-title-color": {},
"icon": {},
+
"icon": {
 +
"type": "wiki-file-name",
 +
"suggested": true
 +
},
 
"title-color": {},
 
"title-color": {},
"title": {},
+
"title": {
"link": {},
+
"required": true
 +
},
 +
"link": {
 +
"type": "wiki-page-name"
 +
},
 
"link-color": {},
 
"link-color": {},
"content": {}
+
"content": {
 +
"required": true
 +
}
 
},
 
},
 
"description": {
 
"description": {

Revision as of 09:02, 1 May 2019

This template was imported from w:en:Template:Colored box

This template is for community pages

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Background-content-colorbackground-content-color

no description

Unknownoptional
Stylestyle

no description

Unknownoptional
Background-title-colorbackground-title-color

no description

Unknownoptional
Iconicon

no description

Filesuggested
Title-colortitle-color

no description

Unknownoptional
Titletitle

no description

Unknownrequired
Linklink

no description

Pageoptional
Link-colorlink-color

no description

Unknownoptional
Contentcontent

no description

Unknownrequired

Examples

  • {{Colored box|title=TITLE|content=CONTENT}}

TITLE

CONTENT
  • {{Colored box|title=TITLE|link=MediaWiki|content=CONTENT}}

TITLE

CONTENT
  • {{Colored box|title=TITLE|link=MediaWiki|content=CONTENT|view-text=VIEW-TEXT}}

TITLE

CONTENT