Manjaro Difference between revisions of "Template:SubContentTemplate"

Difference between revisions of "Template:SubContentTemplate"

Template page
(first test)
 
(fixes template)
 
(12 intermediate revisions by the same user not shown)
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}}</pre>
<pre>{{SubContentTemplate|Title|Content|IconFileName|width(1-5)(Optional)}}</pre>
{{SubContentTemplate|
{{SubContentTemplate|
1=Title|
1=Title With an icon|
2=<pre>Line1=test
2=test content|
Line2
3=Manjaro.png
Line3</pre>
}}
3=IconFileName
 
{{SubContentTemplate|
1=Title without an icon|
2=It can be used without an icon.
}}
}}
</noinclude>
</noinclude>
<includeonly>
<div class="uk-width-1-5">
<div class="uk-grid-small uk-flex-middle" uk-grid>
<div class="uk-width-auto">
[[File:{{{3}}}|left|36px]]
</div>
<div class="uk-width-expand">
<h3 class="uk-card-title uk-margin-remove-bottom"><translate>{{{1}}}</translate></h3>
<div class="uk-divider-icon"></div>
</div>
</div>
<translate>
{{{2}}}
</translate>
</div>
</includeonly>

Latest revision as of 21:58, 4 September 2021

This page is a template. It contains no Manjaro Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

{{SubContentTemplate|Title|Content|IconFileName|width(1-5)(Optional)}}
Manjaro.png

Title With an icon

test content

Title without an icon

It can be used without an icon.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.