Difference between revisions of "Template:Go"

From den4b Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{| border="0" cellspacing="0" cellpadding="5"
+
{| border="0" cellspacing="0" cellpadding="0"
| {{#if: {{{up|}}} | [[Image:Nav Up Blue.png|16px|link={{{up}}}]] ''[[{{{up}}}]]'' | }}
+
| {{#if: {{{up|}}} | [[Image:Nav Up Blue.png|16px|link={{{up}}}]] ''[[{{{up}}}]]''   | }}
| {{#if: {{{prev|}}} | [[Image:Nav Prev.png|16px|link={{{prev}}}]] ''[[{{{prev}}}]]'' | }}
+
| {{#if: {{{prev|}}} | [[Image:Nav Prev.png|16px|link={{{prev}}}]] ''[[{{{prev}}}]]''   | }}
 
| {{#if: {{{next|}}} | [[Image:Nav Next.png|16px|link={{{next}}}]] ''[[{{{next}}}]]'' | }}
 
| {{#if: {{{next|}}} | [[Image:Nav Next.png|16px|link={{{next}}}]] ''[[{{{next}}}]]'' | }}
 
|}<noinclude>
 
|}<noinclude>
Line 15: Line 15:
 
Output:
 
Output:
 
{{Go|up=Parent Article|prev=Previous Article|next=Next Article}}
 
{{Go|up=Parent Article|prev=Previous Article|next=Next Article}}
 +
 +
Input:
 +
<pre><nowiki>{{Go|prev=Previous Article|next=Next Article}}</nowiki></pre>
 +
Output:
 +
{{Go|prev=Previous Article|next=Next Article}}
 
</noinclude>
 
</noinclude>

Revision as of 22:43, 19 October 2009

Usage

Input:

{{Go|up=Parent article}}

Output:

Nav Up Blue.png Parent article  

Input:

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

Output:

Nav Up Blue.png Parent Article   Nav Prev.png Previous Article   Nav Next.png Next Article

Input:

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

Output:

Nav Prev.png Previous Article   Nav Next.png Next Article