Difference between revisions of "Template:SubContentTemplate"

added width
(changed width)
(added width)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Template}}
{{Template}}
<pre>{{SubContentTemplate|Title|Content|IconFileName}}</pre>
<pre>{{SubContentTemplate|Title|Content|IconFileName|width(1-5)(Optional)}}</pre>
{{SubContentTemplate|
{{SubContentTemplate|
1=Title With an icon|
1=Title With an icon|
Line 14: Line 14:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<div class="uk-width-1-5 uk-margin-right">
{{#if:{{{4|}}} | <div class="uk-width-1-{{{4}}} uk-margin-right"> | <div class="uk-width-1-5 uk-margin-right"> }}
<div class="uk-grid-small uk-flex-middle" uk-grid>
<div class="uk-grid-small uk-flex-middle" uk-grid>
<div class="uk-width-auto">
<div class="uk-width-auto">
Line 20: Line 20:
</div>
</div>
<div class="uk-width-expand">
<div class="uk-width-expand">
<h3 class="uk-card-title uk-margin-remove-bottom">{{{1}}}</h3>
<h3 class="uk-card-title">{{{1}}}</h3>
<div class="uk-divider-icon"></div>
<div class="uk-divider-icon"></div>
</div>
</div>