Difference between revisions of "Template:Navigation"

From den4b Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
|align="center" colspan="3"| {{#if: {{{title|}}} | {{{title}}} | }}
 
|align="center" colspan="3"| {{#if: {{{title|}}} | {{{title}}} | }}
 
|-
 
|-
|{{#if: {{{prev|}}} | [[Image:Nav Prev.png|22px|link={{{prev}}}]] [[{{{prev}}}]] | }}
+
| {{#if: {{{prev|}}} | [[Image:Nav Prev.png|22px|link={{{prev}}}]] [[{{{prev}}}]] | }}
|{{#if: {{{up|}}} | [[Image:Nav Up.png|22px|link={{{up}}}]] [[{{{up}}}]] | }}
+
| {{#if: {{{up|}}} | [[Image:Nav Up.png|22px|link={{{up}}}]] [[{{{up}}}]] | }}
|{{#if: {{{next|}}} | [[Image:Nav Next.png|22px|link={{{next}}}]] [[{{{next}}}]] | }}
+
| {{#if: {{{next|}}} | [[Image:Nav Next.png|22px|link={{{next}}}]] [[{{{next}}}]] | }}
 
|}
 
|}
 
<noinclude>
 
<noinclude>

Revision as of 15:39, 19 June 2009

Usage

Input Output
{{Navigation
|title = Navigation Title
|prev = Previous
|next = Next
|up = Up
}}
Navigation Title
Nav Prev.png Previous Nav Up.png Up Nav Next.png Next
{{Navigation
|title = Navigation Title
|prev = Previous
|next = Next
}}
Navigation Title
Nav Prev.png Previous Nav Next.png Next