Template

Box2

From Dogcraft Wiki

No edit summary
No 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="{{#if: {{{border-color|}}}|border: {{{border-color|}}}|}}"
style="width: {{#if: {{{width|}}}|{{{width|}}}|auto}} {{#if: {{{border-color|}}}|border: {{{border-color|}}}|}}"
>{{#if: {{{header|}}}|<h3 class="wiki-content-box-header">{{{header|}}}</h3>|}}{{{content|}}}</div></includeonly><noinclude>
>{{#if: {{{header|}}}|<h3 class="wiki-content-box-header">{{{header|}}}</h3>|}}{{{content|}}}</div></includeonly><noinclude>
{{TemplateStyles}}
{{TemplateStyles}}
Line 9: Line 9:
{{Box2|content=BLAH BLAH BLAH}}
{{Box2|content=BLAH BLAH BLAH}}
{{Box2|header=Test box|content=Test test test}}
{{Box2|header=Test box|content=Test test test}}
{{Box2|header=300px widebox|content=Hahahahaha|width=300px}}
</noinclude>
</noinclude>

Revision as of 19:53, 13 July 2023

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

Test box

Test test test

300px widebox

Hahahahaha
This page was last modified on 13 July 2023, at 19:53. (3 months ago)