Jump to content

Template:Colored box/doc

From Wikifunctions

This template was imported from Modèle:Boîte colorée in the french-speaking Wikipedia

Usage and parameters

The |title= and |content= parameters are required.

Using Wikicode Using Visual Editor
Click on "Edit source" and insert the following syntax

Basic parameters

{{Colored box
| title =
| icon =
| link =
| content =
}}

Full parameter set

{{Colored box
| background-content-color =
| background-title-color =
| style = 
| icon =
| title =
| title-color = 
| link =
| link-color =
| link-text =
| content =
}}

expand, the second indicates the proportion at which it can shrink, the third indicates the minimum width in px/em of the box", "type": "string", "default": "0 1 auto" }, "center": { "label": "Center title", "description": "If specified, it allows centering the title." } }, "description": "The colored box template is designed for portal and project pages. It is inspired by the Wikidata homepage.", "paramOrder": [ "title", "content", "link", "background-title-color", "icon", "title-color", "style", "link-color", "background-content-color", "Link-text", "background-color", "background-title-color-hover", "title-color-hover", "flex", "center" ], "format": "block" } </templatedata>

Example

  • {{Colored box|icon=Wikifunctions-logo-monochrome-white.svg|background-title-color=#36c|title=Wikifunctions|title-color=#fff|background-content-color=#eaf3ff|content={{Template:Colored box/Sample}}}}
Wikifunctions
Wikifunctions is a collaboratively edited catalog of computer functions to enable the creation, modification, and reuse of source code. It is closely related to Abstract Wikipedia, an extension of Wikidata to create a language-independent version of Wikipedia using its structured data. Provisionally named Wikilambda, the definitive name of Wikifunctions was announced on 22 December 2020 following a naming contest. Wikifunctions is the first Wikimedia project to launch since Wikidata in 2012. After three years of development, Wikifunctions officially launched in July 2023.