Difference between revisions of "Template:SubContentTemplate"

fixes template
(title size reduced to h4)
(fixes template)
 
Line 1: Line 1:
<noinclude>
<includeonly>{{#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-width-auto">{{#if:{{{3|}}} | [[File:{{{3}}}|left|36px]] }}</div><div class="uk-width-expand"><h4 class="uk-card-title">{{{1}}}</h4><div class="uk-divider-icon"></div></div></div>{{{2}}}</div></includeonly><noinclude>
{{Template}}
{{Template}}
<pre>{{SubContentTemplate|Title|Content|IconFileName|width(1-5)(Optional)}}</pre>
<pre>{{SubContentTemplate|Title|Content|IconFileName|width(1-5)(Optional)}}</pre>
Line 13: Line 13:
}}
}}
</noinclude>
</noinclude>
<includeonly>
{{#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-width-auto">
{{#if:{{{3|}}} | [[File:{{{3}}}|left|36px]] }}
</div>
<div class="uk-width-expand">
<h4 class="uk-card-title">{{{1}}}</h4>
<div class="uk-divider-icon"></div>
</div>
</div>
{{{2}}}
</div>
</includeonly>