Vorlage:Colored Box
{{{content}}}
![]() | This template uses TemplateStyles: |
This template is for community pages
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
background-content-color | background-content-color | keine Beschreibung | Unbekannt | optional |
extra classes | class | Extra CSS classes to apply to the outermost box (space-separated). This is mainly for other templates using TemplateStyles so that they can scope their CSS to the box, but it may be useful in other cases as well. | Einzeiliger Text | optional |
extra styles | style | Extra inline CSS rules to apply to the outermost element. Prefer TemplateStyles and using CSS classes if possible when using this template in another template. | Einzeiliger Text | optional |
background-title-color | background-title-color | keine Beschreibung | Unbekannt | optional |
icon | icon | keine Beschreibung | Datei | optional |
Title text | title | keine Beschreibung | Mehrzeiliger Text | erforderlich |
Title link | title-link | Turn title area into a clickable link | Seitenname | optional |
title-color | title-color | keine Beschreibung | Mehrzeiliger Text | optional |
view-link | view-link link | Create a "view" corner link to a given page. | Seitenname | optional |
view-extlink | view-extlink link2 | Create a "view" corner link to a external URL. This cannot be used together with "view-link". | URL | optional |
view-text | view-text | Replace link text for "view-link" with something other than "view". | Mehrzeiliger Text | optional |
link-color | link-color | keine Beschreibung | Unbekannt | optional |
Content | content | keine Beschreibung | Wikitext | erforderlich |
Examples
Example: Title
{{Colored Box|title=TITLE|content=CONTENT}} {{Colored Box |title=TITLE |title-link=MediaWiki |content=CONTENT }}
CONTENT
CONTENT
Example: View link
{{Colored Box|title=TITLE|view-link=MediaWiki|content=CONTENT}} {{Colored Box|title=TITLE|view-link=MediaWiki|view-text=HELLO|content=CONTENT}} {{Colored Box|title=TITLE|view-extlink=https://mediawiki.org|view-text=HELLO|content=CONTENT}}
CONTENT
CONTENT
CONTENT
Example: Everything
Icon, title link, custom view-link text
{{Colored Box |icon=OOjs_UI_icon_download-progressive.svg |title=TITLE |title-link=MediaWiki |view-link=MediaWiki |view-text=HELLO |content=CONTENT }}