You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Template:Colored box/doc

From Wikitech-static
Jump to navigation Jump to search

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab. This template was imported from w:en:Template:Colored box

Usage

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Colored box

<templatedata> { "params": { "background-content-color": {}, "style": {}, "background-title-color": {}, "icon": { "type": "wiki-file-name", "suggested": true }, "title-color": {}, "title": { "required": true }, "link": { "type": "wiki-page-name" }, "link-color": {}, "content": { "required": true } }, "description": { "en": "This template is for community pages", "fr": "Le modèle boîte colorée est conçu pour les pages communautaires. Il s'inspire de la page d'accueil de Wikidata. " }, "format": "block" } </templatedata>

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
  • {{Colored box|title=TITLE|link=MediaWiki|icon=OOjs_UI_icon_download-progressive.svg|content=CONTENT|view-text=VIEW-TEXT}}
TITLE
CONTENT