Jump to content

Template:Content box/Doc: Difference between revisions

From NixOS Wiki
DoggoBit (talk | contribs)
m Fix JSON typo
DoggoBit (talk | contribs)
m Fix JSON typo
Line 10: Line 10:
{{content box|title=Display title|content=Lorem ipsum dolor sit amet...}}
{{content box|title=Display title|content=Lorem ipsum dolor sit amet...}}
</nowiki>}}
</nowiki>}}
<includeonly>
<includeonly>
=== Template data ===
=== Template data ===
Line 27: Line 26:
       "label": "Content",
       "label": "Content",
       "description": "The content to display inside the box. Can be multiple lines.",
       "description": "The content to display inside the box. Can be multiple lines.",
       "required": true
       "required": true,
       "type": "content"
       "type": "content"
     }
     }

Revision as of 14:31, 9 August 2025

This template is used to display content in a box. It is primarily used on the main page.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Usage

Simply include this template, providing the content and the title to be displayed:

{{content box|title=Display title|content=Lorem ipsum dolor sit amet...}}