Jump to content

Template:TutorialBrowser: Difference between revisions

From KDE Community Wiki
Aseigo (talk | contribs)
No edit summary
Ochurlaud (talk | contribs)
m 24 revisions imported
 
(7 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div class="rbroundbox" style="width:100%;">
<div class="rbroundbox" style="width:100%;">
  <div class="rbtopwrap">
  <div class="rbtopwrap">
   <div class="rbtop"><div></div></div>''{{{name}}}''</div>
   <div class="rbtop"><div></div></div>{{{name}}}</div>
  <div class="rbcontent">
  <div class="rbcontent">
{|style="width:100%; background:#dadde0;"
{|style="width:100%; background:#dadde0;"
|-
|-
| width=10% align=right valign=top | '''Tutorial Series'''&nbsp;&nbsp;
| width=10% align=right valign=top | '''Tutorial Series'''&nbsp;&nbsp;
| {{{series}}}
| {{{series|n/a}}}
|-
|-
| align=right valign=top | '''Prerequisites'''&nbsp;&nbsp;
| align=right valign=top | '''Previous'''&nbsp;&nbsp;
| {{{pre}}}
| {{{pre|None}}}
|-
|-
| align=right valign=top | '''What's&nbsp;Next'''&nbsp;&nbsp;
| align=right valign=top | '''What's&nbsp;Next'''&nbsp;&nbsp;
| {{{next}}}
| {{{next|n/a}}}
|-
|-
| align=right valign=top | '''Further&nbsp;Reading'''&nbsp;&nbsp;
| align=right valign=top | '''Further&nbsp;Reading'''&nbsp;&nbsp;
|{{{reading}}}
|{{{reading|n/a}}}
|}
|}
  </div>
  </div>
  <div class="rbbot"><div></div></div>
  <div class="rbbot"><div></div></div>
</div>
</div>
{{{{{subst|}}}#if:{{{n|}}}|we have next}}
{{{{{subst|}}}#if:{{{1|}}}|&#32;such as [[:{{{1}}}]]}}
[[Category:Tutorial]]<noinclude>
[[Category:Tutorial]]<noinclude>


==Recommended Usage==
==Recommended Usage==
Line 39: Line 39:
| '''name''' || Verbose(ish) name of this tutorial. Kind of a super short abstract.
| '''name''' || Verbose(ish) name of this tutorial. Kind of a super short abstract.
|-
|-
| '''pre''' || Any prerequisites for this tutorial (try to order them sensibly and make sure they're links!).
| '''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.
| '''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.
Line 46: Line 46:
|-
|-
|}
|}
[[Category:Template]]
</noinclude>
</noinclude>

Latest revision as of 12:31, 11 March 2016

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