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

From Forge Community Wiki
imported>Tomybrz
m
imported>Shirayuki
Line 20: Line 20:
 
}
 
}
 
</templatedata>
 
</templatedata>
 +
 +
== Examples ==
 +
 +
* <code><nowiki>{{Colored box|title=TITLE|content=CONTENT}}</nowiki></code>
 +
{{Colored box|title=TITLE|content=CONTENT}}
 +
* <code><nowiki>{{Colored box|title=TITLE|link=MediaWiki|content=CONTENT}}</nowiki></code>
 +
{{Colored box|title=TITLE|link=MediaWiki|content=CONTENT}}
 +
* <code><nowiki>{{Colored box|title=TITLE|link=MediaWiki|content=CONTENT|view-text=VIEW-TEXT}}</nowiki></code>
 +
{{Colored box|title=TITLE|link=MediaWiki|content=CONTENT|view-text=VIEW-TEXT}}

Revision as of 03:50, 30 April 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

Unknownoptional
Title-colortitle-color

no description

Unknownoptional
Titletitle

no description

Unknownoptional
Linklink

no description

Unknownoptional
Link-colorlink-color

no description

Unknownoptional
Contentcontent

no description

Unknownoptional

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