Template:SideBox: Difference between revisions

From The Battle for Wesnoth Wiki
8680 (talk | contribs)
No edit summary
8680 (talk | contribs)
No edit summary
Line 1: Line 1:
{| style="float: {{{side|right}}}; max-width: {{{width|43.75%}}}; margin: 0 {{#ifeq: {{{side|right}}} | right | 0 1em 1em | 1em 1em 0}}; padding: .5em; border: 1px solid #AAA; background-color: #FAF3E9; {{{style|}}}"
{| style="float: {{{side|right}}}; max-width: {{{width|43.75%}}}; margin: 0 {{#ifeq: {{{side|right}}} | right | 0 1em 1em | 1em 1em 0}}; padding: .5em; border: 1px solid #AAA; background-color: #FAF3E9; {{{style|}}}"
{{#if: {{{heading|}}} | {{!}} foo {{!}}- |}}
{{#if: {{{heading|}}}|{{!}} foo {{!}}|}}
| {{{1}}}
| {{{1}}}
|}<noinclude>
|}<noinclude>
This template is intended to provide standardization and consistency in the appearance of side-boxes.
This template is intended to provide standardization and consistency in the appearance of side-boxes.


Example side-box:
Examples:
{{SideBox|Lorem ipsum dolor sit amet.}}
{{SideBox|Lorem ipsum dolor sit amet.}}
Example side-box with a heading:
{{SideBox|heading=Lorem ipsum|Dolor sit amet.}}
{{SideBox|heading=Lorem ipsum|Dolor sit amet.}}
</noinclude>
</noinclude>

Revision as of 21:13, 25 July 2015

{{{1}}}

This template is intended to provide standardization and consistency in the appearance of side-boxes.

Examples:

Lorem ipsum dolor sit amet.
Dolor sit amet.
This page was last edited on 25 July 2015, at 21:13.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.