Template:Frame: Difference between revisions

From SEPsesam
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="margin:0.5em 0 0.5em 0;font-size:100%;font-weight:bold;border:none;border-radius: 5px;text-align:left; color:#000;padding:0.4em 0.4em 0.3em 1em;{{{style|}}}">{{{text|}}}</div></includeonly>
<includeonly><div style="margin:0.5em 0 0.5em 0;font-size:100%;font-weight:bold;border:none;border-radius: 5px;text-align:left; color:#000;padding:0.4em 0.4em 0.3em 1em;{{{style|}}}">{{{text|}}}</div></includeonly><noinclude>
<noinclude>


== Purpose ==
== Purpose ==
Line 17: Line 16:
== Example ==
== Example ==


<nowiki>{{Frame|style=background-color: lightblue; width: 40%;|text=Frame test}}</nowiki>
<nowiki>{{Frame|style=background-color: lightblue; width: 40%; text-align: center;|text=Frame test}}</nowiki>


{{Frame|style=background-color: lightblue; width: 40%;|text=Frame test}}
{{Frame|style=background-color: lightblue; width: 40%; text-align: center;|text=Frame test}}
</noinclude>
</noinclude>

Latest revision as of 14:04, 20 May 2016


Purpose

Create a standard frame for headings.

Usage

{{Frame|style=xxx|text=yyy}}

style
define background colour
text
write the heading text

This template should be used for headings on landing pages.

Example

{{Frame|style=background-color: lightblue; width: 40%; text-align: center;|text=Frame test}}

Frame test