Template:KDevelop4Nav: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Usage == | |||
<nowiki>{{KDevelop4Nav}}</nowiki> creates a box with a link to the main manual site (a.k.a. "Contents"). | |||
Example: | |||
{{KDevelop4Nav|prev=Chapter 0|next=Chapter 2|up=Upper chapter}} | |||
=== 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. | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<div style="background-color:#eeeeee;"> | <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;"> | ||
{{#if: {{{prev}}} | [[KDevelop4/Manual/{{{prev}}} Previous: {{{prev}}}]]|}} | {{#if: {{{prev}}} | [[KDevelop4/Manual/{{{prev}}}|Previous: {{{prev}}}]]| }} | ||
</div> | </div> | ||
<div style="text-align:center;"> | <div style="text-align:center;"> | ||
[[KDevelop4/Manual Contents]] | [[KDevelop4/Manual|Contents]] | ||
{{#if: {{{up}}} | [[KDevelop4/Manual/{{{up}}} Up: {{{up}}}]]|}} | {{#if: {{{up}}} | <br/>[[KDevelop4/Manual/{{{up}}}|Up: {{{up}}}]]| }} | ||
</div> | </div> | ||
<div style="float:right;"> | <div style="float:right;"> | ||
{{#if: {{{next}}} | [[KDevelop4/Manual/{{{next}}} Next: {{{next}}}]]|}} | {{#if: {{{next}}} | [[KDevelop4/Manual/{{{next}}}|Next: {{{next}}}]]| }} | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> |
Revision as of 02:36, 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.