Manjaro Difference between revisions of "Template:SubContentTemplate"

Difference between revisions of "Template:SubContentTemplate"

Template page
(fixed optional parameter)
(title icon)
Line 3: Line 3:
<pre>{{SubContentTemplate|Title|Content|IconFileName}}</pre>
<pre>{{SubContentTemplate|Title|Content|IconFileName}}</pre>
{{SubContentTemplate|
{{SubContentTemplate|
1=Title|
1=Title With an icon|
2=test content|
2=test content|
3=IconFileName
3=Manjaro.png
}}
 
{{SubContentTemplate|
1=Title without an icon|
2=It can be used without an icon.
}}
}}
</noinclude>
</noinclude>
Line 12: Line 17:
<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">
{{#if:{{{IconFileName|}}} | [[File:{{{IconFileName}}}|left|36px]] }}
{{#if:{{{3|}}} | [[File:{{{3}}}|left|36px]] }}
</div>
</div>
<div class="uk-width-expand">
<div class="uk-width-expand">

Revision as of 10:28, 17 October 2020

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}}


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.