Template:Frame: Difference between revisions
No edit summary |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
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