Template
Interface template⮥
Box2
From Dogcraft Wiki
No edit summary |
No edit summary |
||
| (12 intermediate revisions by 2 users not shown) | |||
| 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 {{{classes|}}}" | ||
style="{{#if: {{{ | style="width: {{#if: {{{width|}}}|{{{width|}}};|auto;}} {{#if: {{{color|}}}|border: 0 solid {{{color|#8b0024}}}; border-top-width: 5px;|}} {{{styles|}}}" | ||
>{{#if: {{{ | >{{#if: {{{title|}}}|<h3 class="wiki-content-box-header">{{{title|}}}</h3>|}}<div class="{{{contentclass|}}}" style="{{{contentStyles|}}}">{{{content|}}}</div></div></includeonly><noinclude> | ||
{{TemplateStyles}}{{Interface template}} | |||
''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]] | |||
{{Box2|content=BLAH BLAH BLAH}} | {{Box2|content=BLAH BLAH BLAH}} | ||
{{Box2| | {{Box2|title=Colored box|content=I am yellow|color=yellow}} | ||
{{Box2|title=Test box|content=Test test test}} | |||
{{Box2|title=300px widebox|content=Hahahahaha|width=300px}} | |||
</noinclude> | </noinclude> | ||
Latest revision as of 21:34, 20 September 2025
|
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