Difference between revisions of "Template:HeadingLineTemplate"

added size
(added heading line)
 
(added size)
 
Line 1: Line 1:
<noinclude>
<noinclude>
{{Template}}
{{Template}}
<pre>{{HeadingLineTemplate|Title|Position(CENTER-LEFT-RIGHT)}}</pre>
<pre>{{HeadingLineTemplate|Title|Position(CENTER-LEFT-RIGHT|SIZE(1-6))}}</pre>
{{HeadingLineTemplate|
{{HeadingLineTemplate|
1=title|
1=title|
2=CENTER
2=CENTER|
3=1
}}
}}
{{HeadingLineTemplate|
{{HeadingLineTemplate|
1=title left|
1=title left|
2=LEFT
2=LEFT|
3=1
}}
}}
{{HeadingLineTemplate|
{{HeadingLineTemplate|
1=title right|
1=title right|
2=RIGHT
2=RIGHT|
3=1
}}
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<h1 class="uk-heading-line {{#switch: {{{2}}} | CENTER = uk-text-center | RIGHT = uk-text-right  | }}"><span>{{{1}}}</span></h1>
{{#switch: {{{3}}} |
1 = <h1 class="uk-heading-line {{#switch: {{{2}}} | CENTER = uk-text-center | RIGHT = uk-text-right  | }}"><span>{{{1}}}</span></h1> |
2 = <h2 class="uk-heading-line {{#switch: {{{2}}} | CENTER = uk-text-center | RIGHT = uk-text-right  | }}"><span>{{{1}}}</span></h2>  |
3 = <h3 class="uk-heading-line {{#switch: {{{2}}} | CENTER = uk-text-center | RIGHT = uk-text-right  | }}"><span>{{{1}}}</span></h3>  |
4 = <h4 class="uk-heading-line {{#switch: {{{2}}} | CENTER = uk-text-center | RIGHT = uk-text-right  | }}"><span>{{{1}}}</span></h4>  |
5 = <h5 class="uk-heading-line {{#switch: {{{2}}} | CENTER = uk-text-center | RIGHT = uk-text-right  | }}"><span>{{{1}}}</span></h5>  |
6 = <h6 class="uk-heading-line {{#switch: {{{2}}} | CENTER = uk-text-center | RIGHT = uk-text-right  | }}"><span>{{{1}}}</span></h6>  |
<h1 class="uk-heading-line {{#switch: {{{2}}} | CENTER = uk-text-center | RIGHT = uk-text-right  | }}"><span>{{{1}}}</span></h1>}}
</includeonly>
</includeonly>