Template:TopicBox: Difference between revisions

From Snakeoil OS Reference
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
<div id="mainpage-topics" title="Topics" class="items">
<div id="mainpage-topics" title="Topics" class="items">
{{{3}}}
{{{3}}}
                {{#if: {{{4|}}} |{{{5}}}|more}}
{{#if: {{{4|}}} | <hr width="100%"><span style="float:right;"><i class="fas fa-home"></i>&nbsp;[[Main_Page|Back To Main]]</span>| }}
{{#if: {{{4|}}} | <hr width="100%"><span style="float:right;"><i class="fas fa-home"></i>&nbsp;[[Main_Page|Back To Main]]</span>| }}
</div>
</div>
Line 9: Line 10:
== Usage ==
== Usage ==
Topic Box:
Topic Box:
<nowiki>{{TopicBox|font awesome icon|Title|SubPages|Style}}</nowiki>
<nowiki>{{TopicBox|font awesome icon|Title|SubPages|Parent}}</nowiki>
=== Paramaters ===
=== Paramaters ===
{|class="wikitable"
{|class="wikitable"
Line 22: Line 23:
| List of subpages
| List of subpages
|-
|-
! scope="row"| Styte
! scope="row"| Parent
| WTF is this?
| Use 1, and this will show a link back to parent
|}
|}
</noinclude>
</noinclude>

Revision as of 14:37, 8 August 2019

 {{{2}}}

{{{3}}}

               more

Usage

Topic Box: {{TopicBox|font awesome icon|Title|SubPages|Parent}}

Paramaters

font awesome icon Font Awesome Icon To Use (e.g. fas fa-cog)
Title Title of the topic box (e.g. Configuration)
SubPages List of subpages
Parent Use 1, and this will show a link back to parent