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")
 
(20 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"|{{{title}}}
+
!colspan="3"| {{#if: {{{title|}}} | {{{title}}} | }}
 
|-
 
|-
|align="center" style="width:33%"| {{#if: {{{prev|}}} | [[Image:Nav Prev.png|22px]] [[{{{prev}}}]] | }}
+
| {{#if: {{{prev|}}} | [[Image:Nav Prev.png|22px|link={{{prev}}}]] [[{{{prev}}}]] | }}
|align="center" style="width:33%"|[[Image:Nav Up.png|22px]] [[{{{up}}}]]
+
| {{#if: {{{up|}}} | [[Image:Nav Up.png|22px|link={{{up}}}]] [[{{{up}}}]] | }}
|align="center" style="width:33%"|[[Image:Nav Next.png|22px]] [[{{{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 15: Line 17:
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Navigation
 
{{Navigation
|title = Navigation
+
|title = Navigation Title
 
|prev = Previous
 
|prev = Previous
 
|next = Next
 
|next = Next
Line 23: Line 25:
 
|
 
|
 
{{Navigation
 
{{Navigation
|title = Navigation
+
|title = Navigation Title
 +
|prev = #Previous
 +
|next = #Next
 +
|up = #Up
 +
}}
 +
|-
 +
|
 +
<pre><nowiki>
 +
{{Navigation
 +
|prev = Previous
 
|next = Next
 
|next = Next
|up = Up
+
}}
 +
</nowiki></pre>
 +
|
 +
{{Navigation
 +
|prev = #Previous
 +
|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