Difference between revisions of "Template:Sectionheading"

[unchecked revision][unchecked revision]
m
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
 
The collecting main can be used in such a way:  
 
The collecting main can be used in such a way:  
  
<nowiki>{{Section heading|H=Backgroundcolor|R=Framework color|S=Fontcolor}}</nowiki>
+
<nowiki>{{Sectionheading|H=Backgroundcolor|R=Framework color|S=Fontcolor}}</nowiki>
  
 
The data are optional.  
 
The data are optional.  
Line 17: Line 17:
 
! thus it looks  
 
! thus it looks  
 
|-
 
|-
| style="padding:1em;" | <nowiki><span {{Section heading|H=#ccffff}}>only Backgroundcolor</span></nowiki>
+
| style="padding:1em;" | <nowiki><span {{Sectionheading|H=#ccffff}}>only Backgroundcolor</span></nowiki>
| style="text-align:center;" | <span {{Section heading|H=#ccffff}}>only Backgroundcolor</span>
+
| style="text-align:center;" | <span {{Sectionheading|H=#ccffff}}>only Backgroundcolor</span>
 
|-
 
|-
| style="padding:1em;" | <nowiki><span {{Section heading|R=#aaffff}}>only Framework color</span></nowiki>
+
| style="padding:1em;" | <nowiki><span {{Sectionheading|R=#aaffff}}>only Framework color</span></nowiki>
| style="text-align:center;" | <span {{Section heading|R=#aaffff}}>only Framework color</span>
+
| style="text-align:center;" | <span {{Sectionheading|R=#aaffff}}>only Framework color</span>
 
|-
 
|-
| style="padding:1em;" | <nowiki><span {{Section heading|S=#3333ff}}>only Fontcolor</span></nowiki>
+
| style="padding:1em;" | <nowiki><span {{Sectionheading|S=#3333ff}}>only Fontcolor</span></nowiki>
| style="text-align:center;" | <span {{Section heading|S=#3333ff}}>only Fontcolor</span>
+
| style="text-align:center;" | <span {{Sectionheading|S=#3333ff}}>only Fontcolor</span>
 
|-
 
|-
| style="padding:1em;" | <nowiki><span {{Section heading|H=#ccffff|R=#aaffff|S=#3333ff}}>everything together </span></nowiki>
+
| style="padding:1em;" | <nowiki><span {{Sectionheading|H=#ccffff|R=#aaffff|S=#3333ff}}>everything together </span></nowiki>
| style="text-align:center;" | <span {{Section heading|H=#ccffff|R=#aaffff|S=#3333ff}}>everything together </span>
+
| style="text-align:center;" | <span {{Sectionheading|H=#ccffff|R=#aaffff|S=#3333ff}}>everything together </span>
 
|-
 
|-
 
|}
 
|}

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