Template:KDevelop4Nav: Difference between revisions

From KDE UserBase Wiki
mNo edit summary
No edit summary
Line 15: Line 15:
<includeonly>
<includeonly>
<div class="rbcontent" style="background-color:#eeeeee; border:1px solid #006600; -moz-border-radius:5px;margin:5px;">
<div class="rbcontent" style="background-color:#eeeeee; border:1px solid #006600; -moz-border-radius:5px;margin:5px;">
   <div style="float:left;">
   <div style="float:left;position:relative;">
     {{#if:{{{prev}}}|[[KDevelop4/Manual/{{{prev}}}|Previous: {{{prev}}}]]|&nbsp;}}
     {{#if:{{{prev}}}|[[KDevelop4/Manual/{{{prev}}}|Previous: {{{prev}}}]]|&nbsp;}}
   </div>
   </div>
   <div style="text-align:center;">
   <div style="text-align:center;position:relative;">
     [[KDevelop4/Manual|Contents]]
     [[KDevelop4/Manual|Contents]]
     {{#if:{{{up}}}|<br/>[[KDevelop4/Manual/{{{up}}}|Up: {{{up}}}]]|&nbsp;}}
     {{#if:{{{up}}}|<br/>[[KDevelop4/Manual/{{{up}}}|Up: {{{up}}}]]|&nbsp;}}
   </div>
   </div>
   <div style="float:right;">
   <div style="float:right;position:relative;">
     {{#if:{{{next}}}|[[KDevelop4/Manual/{{{next}}}|Next: {{{next}}}]]|&nbsp;}}
     {{#if:{{{next}}}|[[KDevelop4/Manual/{{{next}}}|Next: {{{next}}}]]|&nbsp;}}
   </div>
   </div>
</div>
</div>
</includeonly>
</includeonly>

Revision as of 02:42, 6 December 2010

Usage

{{KDevelop4Nav}} creates a box with a link to the main manual site (a.k.a. "Contents").

Example:


Parameters

prev
Name of the previous chapter, link is prefixed with "KDevelop4/Manual/". Optional.
next
Name of the next chapter, link is prefixed with "KDevelop4/Manual/". Optional.
up
Name of the parent chapter, link is prefixed with "KDevelop4/Manual/". Optional.