Template:Content box/Doc: Difference between revisions
m Fix JSON typo |
No edit summary |
||
Line 1: | Line 1: | ||
This template is used to display content in a box. It is primarily used on the [[NixOS Wiki|main page]]. | This template is used to display content in a box. It is primarily used on the [[NixOS Wiki|main page]]. | ||
{{content box | {{content box|content=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 === | === Usage === | ||
Simply include this template, providing the content | Simply include this template, providing the content to be displayed: | ||
{{code|lang=mediawiki|line=no|<nowiki> | {{code|lang=mediawiki|line=no|<nowiki> | ||
{{content box | {{content box|content=Lorem ipsum dolor sit amet...}} | ||
</nowiki>}} | </nowiki>}} | ||
<includeonly> | <includeonly> | ||
Line 16: | Line 16: | ||
"description": "Display content in a nicely formatted box", | "description": "Display content in a nicely formatted box", | ||
"params": { | "params": { | ||
"content": { | "content": { | ||
"label": "Content", | "label": "Content", |