Difference between revisions of "Template:Navigation"

From den4b Wiki
Jump to navigation Jump to search
(changed dummy article links to anchor links to remove dummy articles from "wanted pages")
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="anav" align="center"
+
<includeonly>{| class="anav" align="center"
|align="center" colspan="3"| {{#if: {{{title|}}} | {{{title}}} | }}
+
!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}}}]] | }}
|}
+
|}</includeonly><noinclude>
<noinclude>
 
 
== Usage ==
 
== Usage ==
 +
 +
'''NOTE:''' This is a <u>deprecated template</u>, please use [[Template:Go]] and [[Template:Up]] instead!
 +
 
{|class="wikitable"
 
{|class="wikitable"
 
! Input
 
! Input
Line 24: Line 26:
 
{{Navigation
 
{{Navigation
 
|title = Navigation Title
 
|title = Navigation Title
|prev = Previous
+
|prev = #Previous
|next = Next
+
|next = #Next
|up = Up
+
|up = #Up
 
}}
 
}}
 
|-
 
|-
Line 32: Line 34:
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Navigation
 
{{Navigation
|title = Navigation Title
 
 
|prev = Previous
 
|prev = Previous
 
|next = Next
 
|next = Next
Line 39: Line 40:
 
|
 
|
 
{{Navigation
 
{{Navigation
|title = Navigation Title
+
|prev = #Previous
|prev = Previous
+
|next = #Next
|next = Next
 
 
}}
 
}}
 
|}
 
|}
 +
[[Category:Navigation]]
 +
[[Category:Exclude in print]]
 
</noinclude>
 
</noinclude>

Latest revision as of 18:35, 21 February 2014

Usage

NOTE: This is a deprecated template, please use Template:Go and Template:Up instead!

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
|prev = Previous
|next = Next
}}
Nav Prev.png #Previous Nav Next.png #Next