Template
Interface template⮥
Box2
From Dogcraft Wiki
m ({{{content|}}} needed a wrapper <div></div> because display:flex; was applied to it too.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:Box2/styles.css" /><div class="wiki-content-box" | <includeonly><templatestyles src="Template:Box2/styles.css" /><div class="wiki-content-box" | ||
style="width: {{#if: {{{width|}}}|{{{width|}}};|auto;}} {{#if: {{{color|}}}|border: 0 solid {{{color|#8b0024}}}; border-top-width: 5px|}}" | style="width: {{#if: {{{width|}}}|{{{width|}}};|auto;}} {{#if: {{{color|}}}|border: 0 solid {{{color|#8b0024}}}; border-top-width: 5px|}}" | ||
>{{#if: {{{title|}}}|<h3 class="wiki-content-box-header">{{{title|}}}</h3>|}}<div>{{{content|}}}</div></div></includeonly><noinclude> | >{{#if: {{{title|}}}|<h3 class="wiki-content-box-header">{{{title|}}}</h3>|}}<div class="{{{contentclass|}}}">{{{content|}}}</div></div></includeonly><noinclude> | ||
{{TemplateStyles}}{{Interface template}} | {{TemplateStyles}}{{Interface template}} | ||
''This template has no relation to [[Template:Box]].'' | ''This template has no relation to [[Template:Box]].'' |
Revision as of 15:32, 30 July 2024
This template uses TemplateStyles: |
This template has no relation to Template:Box.
Box template (dogcraft.net styled)
A modern DC main-page styled Box template, for content to be plopped in. Intended successor of Template:Box
BLAH BLAH BLAH
Colored box
I am yellow
Test box
Test test test
300px widebox
Hahahahaha
This page was last modified on 30 July 2024, at 15:32. (3 months ago)