Difference between revisions of "Template:Go"

From den4b Wiki
Jump to navigation Jump to search
(changed dummy article links to anchor links to remove dummy articles from "wanted pages")
 
(18 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;">
| {{#if: {{{up|}}} | [[Image:Nav Up.png|16px|link={{{up}}}]] ''[[{{{up}}}]]'' | }}
+
{| border="0" cellspacing="0" cellpadding="0"
| {{#if: {{{prev|}}} | [[Image:Nav Prev.png|16px|link={{{prev}}}]] ''[[{{{prev}}}]]'' | }}
+
| {{#if: {{{up|}}} | [[Image:Arrow Return.png|link={{{up}}}]] ''[[{{{up}}}]]'' &nbsp; | }}
| {{#if: {{{next|}}} | [[Image:Nav Next.png|16px|link={{{next}}}]] ''[[{{{next}}}]]'' | }}
+
| {{#if: {{{prev|}}} | [[Image:Arrow Left.png|link={{{prev}}}]] ''[[{{{prev}}}]]'' &nbsp; | }}
|}<noinclude>
+
| {{#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|up=Parent article}}</nowiki>
+
<pre><nowiki>{{Go|prev=Previous Article|next=Next Article}}</nowiki></pre>
| {{Go|up=Parent article}}
+
{{Go|prev=#Previous Article|next=#Next Article}}
|-
+
 
| <nowiki>{{Go|up=Parent Article|prev=Previous Article|next=Next Article}}</nowiki>
+
<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}}