Difference between revisions of "Template:Go"

From den4b Wiki
Jump to navigation Jump to search
(simple navigation template)
 
(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:
<includeonly>''Go Up to [[{{{1}}}]]''
+
<includeonly><div class="noprint"><div style="background-color: #ffe; border: 1px solid #c0c0c0; padding: 0.2em 0.5em; margin-bottom: 0.5em;">
</includeonly><noinclude>
+
{| border="0" cellspacing="0" cellpadding="0"
 +
| {{#if: {{{up|}}} | [[Image:Arrow Return.png|link={{{up}}}]] ''[[{{{up}}}]]'' &nbsp; | }}
 +
| {{#if: {{{prev|}}} | [[Image:Arrow Left.png|link={{{prev}}}]] ''[[{{{prev}}}]]'' &nbsp; | }}
 +
| {{#if: {{{next|}}} | [[Image:Arrow Right.png|link={{{next}}}]] ''[[{{{next}}}]]'' | }}
 +
|}</div></div></includeonly><noinclude>
 
== Usage ==
 
== Usage ==
{|class="wikitable"
+
 
! Input
+
<pre><nowiki>{{Go|up=Parent Article}}</nowiki></pre>
! Output
+
{{Go|up=#Parent Article}}
|-
+
 
| <nowiki>{{Go|Parent article}}</nowiki>
+
<pre><nowiki>{{Go|prev=Previous Article|next=Next Article}}</nowiki></pre>
| {{Go|Parent article}}
+
{{Go|prev=#Previous Article|next=#Next Article}}
|}
+
 
 +
<pre><nowiki>{{Go|up=Parent Article|prev=Previous Article|next=Next Article}}</nowiki></pre>
 +
{{Go|up=#Parent Article|prev=#Previous Article|next=#Next Article}}
 +
[[Category:Navigation]]
 +
[[Category:Exclude in print]]
 
</noinclude>
 
</noinclude>

Latest revision as of 18: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}}