Template:KDevelop4Nav: Difference between revisions

From KDE UserBase Wiki
No edit summary
No edit summary
 
(8 intermediate revisions by one other user not shown)
Line 12: Line 12:
; up
; up
: Name of the parent chapter, link is prefixed with "KDevelop4/Manual/". Optional.
: Name of the parent chapter, link is prefixed with "KDevelop4/Manual/". Optional.
[[Category:Template]]
</noinclude>
</noinclude>
<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; width:auto;">
  <div style="float:left;position:relative;">
<table style="border:none;"><tr>
    {{#if:{{{prev}}}|[[KDevelop4/Manual/{{{prev}}}|Previous: {{{prev}}}]]|&nbsp;}}
<td align="left" width="33%">{{#if: {{{prev|}}} | [[KDevelop4/Manual/{{{prev}}}|Previous: {{{prev}}}]] | &nbsp;}}</td>
  </div>
<td align="center" valign="top" style="text-align:center;" width="34%">[[KDevelop4/Manual|Contents]]{{#if: {{{up|}}} | <br/>[[KDevelop4/Manual/{{{up}}} | Up: {{{up}}}]] |}}</td>
  <div style="text-align:center;position:relative;">
<td align="right" width="33%">{{#if: {{{next|}}} | [[KDevelop4/Manual/{{{next}}} | Next: {{{next}}}]] | &nbsp;}}</td>
    [[KDevelop4/Manual|Contents]]
</tr></table>
    {{#if:{{{up}}}|<br/>[[KDevelop4/Manual/{{{up}}}|Up: {{{up}}}]]|&nbsp;}}
  </div>
  <div style="float:right;position:relative;">
    {{#if:{{{next}}}|[[KDevelop4/Manual/{{{next}}}|Next: {{{next}}}]]|&nbsp;}}
  </div>
</div>
</div>
</includeonly>
</includeonly>

Latest revision as of 09:25, 27 July 2012

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.