Template:MP Heading: Difference between revisions
Jump to navigation
Jump to search
imported>Sekoia (historical) (Created page with "{| style="width: 100%; border-spacing: 0 8px; margin: 0;" cellpadding="8" |- | style="border: 1px solid #aaaaaa;" | <onlyinclude><h2 style="padding:0.2em 8px; margin:-8px -8px 8p...") |
imported>Sekoia (historical) (added style= option) |
||
Line 2: | Line 2: | ||
|- | |- | ||
| style="border: 1px solid #aaaaaa;" | | | style="border: 1px solid #aaaaaa;" | | ||
<onlyinclude><h2 style="padding:0.2em 8px; margin:-8px -8px 8px -8px | <onlyinclude><h2 style="padding: 0.2em 8px; margin:-8px -8px 8px -8px; font-size: 100%; font-weight: bold; text-align: left; {{#switch: {{{style|}}} | ||
|alert=background-color: #FF2400; color: #ffffff; | |||
|#default=background-color: #283c71; color: #ffffff; | |||
}}">{{{1|Heading}}}</h2></onlyinclude> | |||
Text text text. Text text text. Text text text. Text text text. | Text text text. Text text text. Text text text. Text text text. | ||
|} | |} | ||
{{documentation}} | {{documentation}} |
Revision as of 13:58, 5 September 2012
HeadingText text text. Text text text. Text text text. Text text text. |
[edit] [ ] Documentation
Usage
This is used to create heading lines on the Main Page. (Note that in the above example, only the "Heading" part is generated by this template.)
This accepts a single parameter, the heading text:
{{MP Heading|Heading Text}}