Template:KDevelop4Nav: Difference between revisions

From KDE Wiki Sandbox
No edit summary
mNo edit summary
Line 16: Line 16:
<div class="rbcontent" style="background-color:#eeeeee; border:1px solid #006600; -moz-border-radius:5px;margin:5px; width:100%;">
<div class="rbcontent" style="background-color:#eeeeee; border:1px solid #006600; -moz-border-radius:5px;margin:5px; width:100%;">
<table style="border:none;"><tr>
<table style="border:none;"><tr>
  <td align="left">{{#if: {{{prev|}}} | [[KDevelop4/Manual/{{{prev}}}|Previous: {{{prev}}}]] | &nbsp;}}</td>
<td align="left" width="33%">{{#if: {{{prev|}}} | [[KDevelop4/Manual/{{{prev}}}|Previous: {{{prev}}}]] | &nbsp;}}</td>
  <td align="center" valign="top">[[KDevelop4/Manual|Contents]]{{#if: {{{up|}}} | <br/>[[KDevelop4/Manual/{{{up}}} | Up: {{{up}}}]] | &nbsp;}}</td>
<td align="center" valign="top">[[KDevelop4/Manual|Contents]]{{#if: {{{up|}}} | <br/>[[KDevelop4/Manual/{{{up}}} | Up: {{{up}}}]] | &nbsp;}}</td>
  <td align="right">{{#if: {{{next|}}} | [[KDevelop4/Manual/{{{next}}} | Next: {{{next}}}]] | &nbsp;}}</td>
<td align="right" width="33%">{{#if: {{{next|}}} | [[KDevelop4/Manual/{{{next}}} | Next: {{{next}}}]] | &nbsp;}}</td>
</tr></table>
</tr></table>
</div>
</div>
</includeonly>
</includeonly>

Revision as of 02:59, 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.