Format:Sectionheading: Diferență între versiuni
[versiune neverificată] | [versiune neverificată] |
m (9 versiuni) |
|||
(Nu s-au afișat 7 versiuni intermediare efectuate de alți 3 utilizatori) | |||
Linia 1: | Linia 1: | ||
− | <includeonly>style="padding:0.5em; {{#if: {{{ | + | <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>{{Sectionheading| | + | <nowiki>{{Sectionheading|H=Backgroundcolor|R=Framework color|S=Fontcolor}}</nowiki> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | The data are optional. | ||
{| {{prettytable}} | {| {{prettytable}} | ||
− | ! | + | ! Example |
− | ! | + | ! thus it looks |
|- | |- | ||
− | | style="padding:1em;" | <nowiki><span {{Sectionheading| | + | | style="padding:1em;" | <nowiki><span {{Sectionheading|H=#ccffff}}>only Backgroundcolor</span></nowiki> |
− | | style="text-align:center;" | <span {{Sectionheading| | + | | style="text-align:center;" | <span {{Sectionheading|H=#ccffff}}>only Backgroundcolor</span> |
|- | |- | ||
− | | style="padding:1em;" | <nowiki><span {{Sectionheading|R=#aaffff}}> | + | | style="padding:1em;" | <nowiki><span {{Sectionheading|R=#aaffff}}>only Framework color</span></nowiki> |
− | | style="text-align:center;" | <span {{Sectionheading|R=#aaffff}}> | + | | style="text-align:center;" | <span {{Sectionheading|R=#aaffff}}>only Framework color</span> |
|- | |- | ||
− | | style="padding:1em;" | <nowiki><span {{Sectionheading| | + | | style="padding:1em;" | <nowiki><span {{Sectionheading|S=#3333ff}}>only Fontcolor</span></nowiki> |
− | | style="text-align:center;" | <span {{Sectionheading| | + | | style="text-align:center;" | <span {{Sectionheading|S=#3333ff}}>only Fontcolor</span> |
|- | |- | ||
− | | style="padding:1em;" | <nowiki><span {{Sectionheading| | + | | style="padding:1em;" | <nowiki><span {{Sectionheading|H=#ccffff|R=#aaffff|S=#3333ff}}>everything together </span></nowiki> |
− | | style="text-align:center;" | <span {{Sectionheading| | + | | style="text-align:center;" | <span {{Sectionheading|H=#ccffff|R=#aaffff|S=#3333ff}}>everything together </span> |
|- | |- | ||
|} | |} | ||
− | [[Category: | + | [[Category:Templates|{{PAGENAME}}]] |
− | [[Category: | + | [[Category:Templates/Formattemplates|{{PAGENAME}}]] |
</noinclude> | </noinclude> |
Versiunea curentă din 20 decembrie 2012 16:42
Sense
So we can give headings with sections a uniform appearance.
Example
The collecting main can be used in such a way:
{{Sectionheading|H=Backgroundcolor|R=Framework color|S=Fontcolor}}
The data are optional.
Example | thus it looks |
---|---|
<span {{Sectionheading|H=#ccffff}}>only Backgroundcolor</span> | only Backgroundcolor |
<span {{Sectionheading|R=#aaffff}}>only Framework color</span> | only Framework color |
<span {{Sectionheading|S=#3333ff}}>only Fontcolor</span> | only Fontcolor |
<span {{Sectionheading|H=#ccffff|R=#aaffff|S=#3333ff}}>everything together </span> | everything together |