Template:Frame: Difference between revisions

From SEPsesam
(Created page with "<includeonly><div style="margin:0.5em 0 0.5em 0;font-size:120%;font-weight:bold;border:none;border-radius: 5px;text-align:left;color:#000;padding:0.4em 0.4em 0.3em 1em;{{{styl...")
 
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="margin:0.5em 0 0.5em 0;font-size:120%;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>
<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>


== Purpose ==
== Purpose ==
Line 11: Line 11:
;style:define background colour
;style:define background colour
;text:write the heading text
;text:write the heading text
This template should be used for headings on landing pages.
[[Category:Frame templates]]
== 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