Template:TutorialBrowser: Difference between revisions

From KDE TechBase
m (Functional)
m (add margin)
 
(22 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<div class="rbroundbox" style="width:100%;">
<div class="card w-100 mt-3">
<div class="rbtopwrap">
   <div class="card-header">{{{name}}}</div>
   <div class="rbtop"><div></div></div>Tutorial Series: {{{1}}}</div>
  <div class="card-body">
<div class="rbcontent">
{|class="w-100
{|style="width:100%; background:#dadde0;"
|-
|-
| width=20% align=right | '''Prerequisites'''
| width=10% align=right valign=top | '''Tutorial Series'''&nbsp;&nbsp;
| {{{2}}}
| {{{series|n/a}}}
|-
|-
| align=right | '''What's Next'''
| align=right valign=top | '''Previous'''&nbsp;&nbsp;
| {{{3}}}
| {{{pre|None}}}
|-
|-
| align=right | '''Further Reading'''
| align=right valign=top | '''What's&nbsp;Next'''&nbsp;&nbsp;
|{{{4}}}
| {{{next|n/a}}}
|-
| align=right valign=top | '''Further&nbsp;Reading'''&nbsp;&nbsp;
|{{{reading|n/a}}}
|}
|}
  </div>
  </div>
<div class="rbbot"><div></div></div>
</div>
</div>
[[Category:Tutorial]]<noinclude>
==Recommended Usage==
To keep some sort of consistency to our wiki: if you're going to use this template, put it at the very top of the page, above any ==headers== (that will also place it above the page contents section) so readers can find the relevant info as quickly as possible.
Also note that this template will automatically add the page to the [[:Category:Tutorial|tutorial category]] so there's no need to do that yourself.
==Parameters==
{| class="wikitable"
|-
! Parameter !! Function
|-
| '''series''' || The name of the tutorial series this belongs to.
|-
| '''name''' || Verbose(ish) name of this tutorial. Kind of a super short abstract.
|-
| '''pre''' || Previous tutorial (try to order them sensibly and make sure they're links!).
|-
| '''next''' || A tutorial or two which logically follow on from this (in the same series). Or a tutorial or two which make sense to move onto next.
|-
| '''reading''' || Further reading about the subject matter covered in the tutorial
|-
|}
[[Category:Template]]
</noinclude>

Latest revision as of 17:31, 18 August 2019

{{{name}}}
Tutorial Series   n/a
Previous   None
What's Next   n/a
Further Reading   n/a


Recommended Usage

To keep some sort of consistency to our wiki: if you're going to use this template, put it at the very top of the page, above any ==headers== (that will also place it above the page contents section) so readers can find the relevant info as quickly as possible.

Also note that this template will automatically add the page to the tutorial category so there's no need to do that yourself.

Parameters

Parameter Function
series The name of the tutorial series this belongs to.
name Verbose(ish) name of this tutorial. Kind of a super short abstract.
pre Previous tutorial (try to order them sensibly and make sure they're links!).
next A tutorial or two which logically follow on from this (in the same series). Or a tutorial or two which make sense to move onto next.
reading Further reading about the subject matter covered in the tutorial