Difference between revisions of "Template:Sectionheading"
[unchecked revision] | [unchecked revision] |
LoveIsBeauty (talk | contribs) |
|||
Line 1: | Line 1: | ||
<includeonly>style="padding:0.5em; {{#if: {{{H| }}} | background:{{{H}}};}} {{#if: {{{R| }}} | border:{{{R}}} ridge 3px;}} {{#if: {{{S | }}} | color:{{{S}}};}}"</includeonly><noinclude> | <includeonly>style="padding:0.5em; {{#if: {{{H| }}} | background:{{{H}}};}} {{#if: {{{R| }}} | border:{{{R}}} ridge 3px;}} {{#if: {{{S | }}} | color:{{{S}}};}}"</includeonly><noinclude> | ||
− | == | + | == Sense == |
− | So | + | So we can give headings with sections a uniform appearance. |
− | == | + | == Example == |
− | + | The collecting main can be used in such a way: | |
− | <nowiki>{{ | + | <nowiki>{{Section heading|H=Backgroundcolor|R=Framework color|S=Fontcolor}}</nowiki> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | The data are optional. | ||
{| {{prettytable}} | {| {{prettytable}} | ||
− | ! | + | ! Example |
− | ! | + | ! thus it looks |
|- | |- | ||
− | | style="padding:1em;" | <nowiki><span {{ | + | | style="padding:1em;" | <nowiki><span {{Section heading|H=#ccffff}}>only Backgroundcolor</span></nowiki> |
− | | style="text-align:center;" | <span {{ | + | | style="text-align:center;" | <span {{Section heading|H=#ccffff}}>only Backgroundcolor</span> |
|- | |- | ||
− | | style="padding:1em;" | <nowiki><span {{ | + | | style="padding:1em;" | <nowiki><span {{Section heading|R=#aaffff}}>only Framework color</span></nowiki> |
− | | style="text-align:center;" | <span {{ | + | | style="text-align:center;" | <span {{Section heading|R=#aaffff}}>only Framework color</span> |
|- | |- | ||
− | | style="padding:1em;" | <nowiki><span {{ | + | | style="padding:1em;" | <nowiki><span {{Section heading|S=#3333ff}}>only Fontcolor</span></nowiki> |
− | | style="text-align:center;" | <span {{ | + | | style="text-align:center;" | <span {{Section heading|S=#3333ff}}>only Fontcolor</span> |
|- | |- | ||
− | | style="padding:1em;" | <nowiki><span {{ | + | | style="padding:1em;" | <nowiki><span {{Section heading|H=#ccffff|R=#aaffff|S=#3333ff}}>everything together </span></nowiki> |
− | | style="text-align:center;" | <span {{ | + | | style="text-align:center;" | <span {{Section heading|H=#ccffff|R=#aaffff|S=#3333ff}}>everything together </span> |
|- | |- | ||
|} | |} |
Revision as of 19:05, 27 May 2009
Sense
So we can give headings with sections a uniform appearance.
Example
The collecting main can be used in such a way:
{{Section heading|H=Backgroundcolor|R=Framework color|S=Fontcolor}}
The data are optional.
Example | thus it looks |
---|---|
<span {{Section heading|H=#ccffff}}>only Backgroundcolor</span> | only Backgroundcolor |
<span {{Section heading|R=#aaffff}}>only Framework color</span> | only Framework color |
<span {{Section heading|S=#3333ff}}>only Fontcolor</span> | only Fontcolor |
<span {{Section heading|H=#ccffff|R=#aaffff|S=#3333ff}}>everything together </span> | everything together |