Difference between revisions of "Template:SideBox"

From The Battle for Wesnoth Wiki
 
(8 intermediate revisions by the same user not shown)
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|}}}|! <h{{{headinglvl|6}}} style="font-size: larger; padding: 0; color: #212121;">{{{heading}}}</h{{{headinglvl|6}}}>
+
{{#if: {{{heading|}}}|! <{{{headingtag|h{{{headinglvl|6}}}}}} style="font-size: 1.03125rem; padding: 0; color: #212121;">{{{heading}}}</{{{headingtag|h{{{headinglvl|6}}}}}}>
 
{{!}}-|}}
 
{{!}}-|}}
 
| {{{1}}}
 
| {{{1}}}

Latest revision as of 21:41, 30 July 2015

{{{1}}}

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

Examples:

Lorem ipsum dolor sit amet.
Lorem ipsum
Dolor sit amet.
This page was last edited on 30 July 2015, at 21:41.