Difference between revisions of "Template:Go"

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

Revision as of 23:25, 19 October 2009

Usage

Input:

{{Go|up=Parent article}}

Output:

Nav Up.png Parent article

Input:

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

Output:

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