Difference between revisions of "Template:Sectionheading"

[unchecked revision][unchecked revision]
(New page: <includeonly>style="padding:0.5em; {{#if: {{{H| }}} | background:{{{H}}};}} {{#if: {{{R| }}} | border:{{{R}}} ridge 3px;}} {{#if: {{{S | }}} | color:{{{S}}};}}"</includeonly><noinclude> =...)
 
m
 
(7 intermediate revisions by 3 users not shown)
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>
  
== Sinn ==
+
== Sense ==
  
So können wir Überschriften bei Abschnitten ein einheitliches Aussehen geben.
+
So we can give headings with sections a uniform appearance.
  
== Beispiele ==
+
== Example ==
  
Die Vorlage kann so eingesetzt werden:
+
The collecting main can be used in such a way:  
  
<nowiki>{{Abschnittsüberschrift|H=Hintergrundfarbe|R=Rahmenfarbe|S=Schriftfarbe}}</nowiki>
+
<nowiki>{{Sectionheading|H=Backgroundcolor|R=Framework color|S=Fontcolor}}</nowiki>
 
 
Die Angaben sind optional.
 
  
 +
The data are optional.
  
 
{| {{prettytable}}
 
{| {{prettytable}}
! Beispiel
+
! Example
! so sieht es aus
+
! thus it looks
 
|-
 
|-
| style="padding:1em;" | <nowiki><span {{Abschnittsüberschrift|H=#ccffff}}>nur Hintergrundfarbe</span></nowiki>
+
| style="padding:1em;" | <nowiki><span {{Sectionheading|H=#ccffff}}>only Backgroundcolor</span></nowiki>
| style="text-align:center;" | <span {{Abschnittsüberschrift|H=#ccffff}}>nur Hintergrundfarbe</span>
+
| style="text-align:center;" | <span {{Sectionheading|H=#ccffff}}>only Backgroundcolor</span>
 
|-
 
|-
| style="padding:1em;" | <nowiki><span {{Abschnittsüberschrift|R=#aaffff}}>nur Rahmenfarbe</span></nowiki>
+
| style="padding:1em;" | <nowiki><span {{Sectionheading|R=#aaffff}}>only Framework color</span></nowiki>
| style="text-align:center;" | <span {{Abschnittsüberschrift|R=#aaffff}}>nur Rahmenfarbe</span>
+
| style="text-align:center;" | <span {{Sectionheading|R=#aaffff}}>only Framework color</span>
 
|-
 
|-
| style="padding:1em;" | <nowiki><span {{Abschnittsüberschrift|S=#3333ff}}>nur Schriftfarbe</span></nowiki>
+
| style="padding:1em;" | <nowiki><span {{Sectionheading|S=#3333ff}}>only Fontcolor</span></nowiki>
| style="text-align:center;" | <span {{Abschnittsüberschrift|S=#3333ff}}>nur Schriftfarbe</span>
+
| style="text-align:center;" | <span {{Sectionheading|S=#3333ff}}>only Fontcolor</span>
 
|-
 
|-
| style="padding:1em;" | <nowiki><span {{Abschnittsüberschrift|H=#ccffff|R=#aaffff|S=#3333ff}}>alles zusammen</span></nowiki>
+
| style="padding:1em;" | <nowiki><span {{Sectionheading|H=#ccffff|R=#aaffff|S=#3333ff}}>everything together </span></nowiki>
| style="text-align:center;" | <span {{Abschnittsüberschrift|H=#ccffff|R=#aaffff|S=#3333ff}}>alles zusammen</span>
+
| style="text-align:center;" | <span {{Sectionheading|H=#ccffff|R=#aaffff|S=#3333ff}}>everything together </span>
 
|-
 
|-
 
|}
 
|}
  
[[Category:Vorlagen|{{PAGENAME}}]]
+
[[Category:Templates|{{PAGENAME}}]]
[[Category:Vorlagen/Formatvorlagen|{{PAGENAME}}]]
+
[[Category:Templates/Formattemplates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest 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:

{{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