Template:Frame: Difference between revisions
No edit summary |
|||
Line 19: | Line 19: | ||
<nowiki>{{Frame|style=background-color: lightblue; width: 40%;|text=Frame test}}</nowiki> | <nowiki>{{Frame|style=background-color: lightblue; width: 40%;|text=Frame test}}</nowiki> | ||
{{Frame|style=background-color: lightblue; width: 40%;|text=Frame test|file=[[File:image.jpg]]}} | {{Frame|style=background-color: lightblue; width: 40%;|text=Frame test|file=[[File:image.jpg|50px|link=]]}} | ||
</noinclude> | </noinclude> |
Revision as of 16:29, 14 December 2015
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=Frame test}}
Frame test>File:Image.jpg