Difference between revisions of "Template:Go"

From den4b Wiki
Jump to navigation Jump to search
m (moved Template:Go to Template:Nav: better name)
(changed dummy article links to anchor links to remove dummy articles from "wanted pages")
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<includeonly><div class="noprint"><div style="background-color: #ffe; border: 1px solid #c0c0c0; padding: 0.2em 0.5em; margin-bottom: 0.5em;">
 
{| border="0" cellspacing="0" cellpadding="0"
 
{| border="0" cellspacing="0" cellpadding="0"
| {{#if: {{{up|}}} | [[Image:Nav Up Blue.png|16px|link={{{up}}}]] ''[[{{{up}}}]]'' &nbsp; | }}
+
| {{#if: {{{up|}}} | [[Image:Arrow Return.png|link={{{up}}}]] ''[[{{{up}}}]]'' &nbsp; | }}
| {{#if: {{{prev|}}} | [[Image:Nav Prev.png|16px|link={{{prev}}}]] ''[[{{{prev}}}]]'' &nbsp; | }}
+
| {{#if: {{{prev|}}} | [[Image:Arrow Left.png|link={{{prev}}}]] ''[[{{{prev}}}]]'' &nbsp; | }}
| {{#if: {{{next|}}} | [[Image:Nav Next.png|16px|link={{{next}}}]] ''[[{{{next}}}]]'' | }}
+
| {{#if: {{{next|}}} | [[Image:Arrow Right.png|link={{{next}}}]] ''[[{{{next}}}]]'' | }}
|}<noinclude>
+
|}</div></div></includeonly><noinclude>
 
== Usage ==
 
== Usage ==
  
<pre><nowiki>{{Go|up=Parent article}}</nowiki></pre>
+
<pre><nowiki>{{Go|up=Parent Article}}</nowiki></pre>
{{Go|up=Parent article}}
+
{{Go|up=#Parent Article}}
  
 
<pre><nowiki>{{Go|prev=Previous Article|next=Next Article}}</nowiki></pre>
 
<pre><nowiki>{{Go|prev=Previous Article|next=Next Article}}</nowiki></pre>
{{Go|prev=Previous Article|next=Next Article}}
+
{{Go|prev=#Previous Article|next=#Next Article}}
  
 
<pre><nowiki>{{Go|up=Parent Article|prev=Previous Article|next=Next Article}}</nowiki></pre>
 
<pre><nowiki>{{Go|up=Parent Article|prev=Previous Article|next=Next Article}}</nowiki></pre>
{{Go|up=Parent Article|prev=Previous Article|next=Next Article}}
+
{{Go|up=#Parent Article|prev=#Previous Article|next=#Next Article}}
 +
[[Category:Navigation]]
 +
[[Category:Exclude in print]]
 
</noinclude>
 
</noinclude>

Latest revision as of 19:34, 21 February 2014

Usage

{{Go|up=Parent Article}}
{{Go|prev=Previous Article|next=Next Article}}
{{Go|up=Parent Article|prev=Previous Article|next=Next Article}}