Difference between revisions of "Template:Navigation"

From den4b Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{| class="anav" align="center"
 
{| class="anav" align="center"
|align="center" colspan="3"| {{#if: {{{title|}}} | {{{title}}} | }}
+
|align="center"| {{#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>
Line 23: Line 23:
 
|
 
|
 
{{Navigation
 
{{Navigation
|title = Navigation
+
|title = Navigation Title
 
|prev = Previous
 
|prev = Previous
 
|next = Next
 
|next = Next
Line 34: Line 34:
 
|prev = Previous
 
|prev = Previous
 
|next = Next
 
|next = Next
|up = Up
 
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>

Revision as of 15:35, 19 June 2009


Usage

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

Nav Up.png Up Nav Next.png Next

{{Navigation
|prev = Previous
|next = Next
}}
Nav Prev.png Previous

Nav Next.png Next