DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:simplebox

Simple Box Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" yes
  • 2023-04-04 "Jack Jackrum" yes
  • 2022-07-31 "Igor" yes
  • 2020-07-29 "Hogfather" yes

plugin A plugin that adds support for displaying boxes in various sizes and colors with text.

Last updated on
2024-05-09
Provides
Syntax
Repository
Source

Tagged with box, drawing, image

By Marc Ole Bulling

Installation

  1. Install the plugin using the Extension Manager or the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Examples/Usage

A 2×2 grid with different colors and numbers:

{{simplebox>lightgreen|size=80|content=1}}
{{simplebox>lightgray|size=80|content=2}}
{{simplebox-linebreak}}
{{simplebox>lightblue|size=80|content=3}}
{{simplebox>#ffabad|size=80|content=4}}

Syntax

{{simplebox>COLOR|size=SIZE|content=CONTENT}}}

Creates a new box

  • color is a color accepted by HTML, e.g. red or #1234ff
  • size is the width/height in pixels
  • content is the text that should be displayed in the box
{{simplebox-linebreak}}}

Starts a new row

Change Log

  • v1.0 (2024-05-09 22:30)

Known Bugs and Issues

None

plugin/simplebox.txt · Last modified: 2024-05-09 22:44 by force

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki