Jump to content

Template:Box/Doc

From NixOS Wiki
Revision as of 14:30, 5 June 2025 by DoggoBit (talk | contribs) (Created page with "This template is used to generate boxes that can hold content. In particular, boxes are used for notices. An example of a box holding content: {{Box|This is a box with some text content}} ===Usage=== Simply feed in your content as the first argument to the template: <pre> {{Box|Some content}} </pre> If you need content that is styled via MediaWiki syntax, you might need to place your content on a new line: <pre> {{Box| ==Heading== Some content }...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is used to generate boxes that can hold content. In particular, boxes are used for notices. An example of a box holding content:

This is a box with some text content

Usage

Simply feed in your content as the first argument to the template:

{{Box|Some content}}

If you need content that is styled via MediaWiki syntax, you might need to place your content on a new line:

{{Box|
==Heading==
Some content
}}