Template:TopicBox: Difference between revisions

From Snakeoil OS Reference
Jump to navigation Jump to search
No edit summary
No edit summary
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="mainpage_box" style={{{3|""}}}>
<div class="mainpage_box" style={{{5|""}}}>
<h3><span class="header_icon" role="presentation" aria-hidden="true"></span><span>[[{{{1}}}]]</span></h3>
<h3><span class="header_icon" role="presentation" aria-hidden="true"></span><i class="{{{1}}}"></i>&nbsp;<span>{{{2}}}</span></h3>
<div id="mainpage-topics" title="Topics" class="items">
<div id="mainpage-topics" title="Topics" class="items">
{{{2}}}
{{{3}}}{{#if: {{{5|}}} | {{{4}}} | {{#if: {{{4|}}} |* More from {{{2}}}...}} }}
{{#if: {{{3|}}} | <hr width="100%">[[Main_Page|Back To Main]]| }}
{{#if: {{{5|}}} | <hr width="100%"><span style="float:right;"><i class="fas fa-home"></i>&nbsp;[[Main_Page|Back To Main]]</span>| }}
</div>
</div>
</div>
</div>
<noinclude>
<noinclude>
== Usage ==
== Usage ==
Topipc Box:
Topic Box:
{{TopicBox|Page|Link|Style}}
<nowiki>{{TopicBox|font awesome icon|Title|SubPages|SubPages#2|Parent}}</nowiki>
=== Paramaters ===
{|class="wikitable"
|-
! scope="row"| font awesome icon
| Font Awesome Icon To Use (e.g. fas fa-cog)
|-
! scope="row"| Title
| Title of the topic box (e.g. Configuration)
|-
! scope="row"| SubPages
| List of subpages
|-
! scope="row"| Parent
| Use 1, and this will show a link back to parent
|}
</noinclude>
</noinclude>

Latest revision as of 15:38, 8 August 2019

 {{{2}}}

{{{3}}}

Usage

Topic Box: {{TopicBox|font awesome icon|Title|SubPages|SubPages#2|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