Template:Color square: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (allows the border color to be customized but kept it backwards-compatible to accept border=true as well)
m (Protected "Template:Color square" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(No difference)

Revision as of 20:40, February 5, 2025

This template displays a colored square which can be used alongside text for illustrative purposes. Inspired by the Ink template on Inkipedia.

The first parameter is the background color and an optional second parameter adds a border of the specified color (alternatively, a border=true parameter can be used to add a black border).

Usage

{{color square|blue}}

{{color square|#FA0E24|black}}