Template:Go: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
No edit summary  | 
				 (Allow custom page titles, increase padding and margin.)  | 
				||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div style="background-color: #ffe; border: 1px solid #c0c0c0; padding:   | <includeonly><div class="noprint"><div style="background-color: #ffe; border: 1px solid #c0c0c0; padding: 0.5em 1em; margin-bottom: 1em; font-style: italic;">  | ||
{| border="0" cellspacing="0" cellpadding="0"  | {| border="0" cellspacing="0" cellpadding="0"    | ||
| {{#if: {{{up|}}} | [[Image:Arrow Return.png|link={{{up}}}]]   | | '''Navigation'''    | ||
| {{#if: {{{prev|}}} | [[Image:Arrow Left.png|link={{{prev}}}]]   | | {{#if: {{{up|}}} | [[Image:Arrow Return.png|link={{{up}}}]] [[{{{up}}}{{#if: {{{uptitle|}}} | {{!}}{{{uptitle}}} | }}]]   | }}  | ||
| {{#if: {{{next|}}} | [[Image:Arrow Right.png|link={{{next}}}]]   | | {{#if: {{{prev|}}} | [[Image:Arrow Left.png|link={{{prev}}}]] [[{{{prev}}}{{#if: {{{prevtitle|}}} | {{!}}{{{prevtitle}}} | }}]]   | }}  | ||
|}</div><noinclude>  | | {{#if: {{{next|}}} | [[Image:Arrow Right.png|link={{{next}}}]] [[{{{next}}}{{#if: {{{nexttitle|}}} | {{!}}{{{nexttitle}}} | }}]]   | }}  | ||
|}</div></div></includeonly><noinclude>  | |||
__NOTOC__  | |||
== Usage ==  | == Usage ==  | ||
<pre><nowiki>{{Go|up=Parent   | === Parent ===  | ||
{{Go|up=Parent Article}}  | |||
<pre><nowiki>{{Go|up=Parent Article}}</nowiki></pre>  | |||
{{Go|up=#Parent Article}}  | |||
=== Previous and Next ===  | |||
<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}}  | ||
=== Parent, Previous and Next ===  | |||
<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}}  | ||
=== Parent, Previous and Next, with custom titles ===  | |||
<pre><nowiki>{{Go|up=Parent Article|uptitle=My Parent Title|prev=Previous Article|prevtitle=My Previous Title|next=Next Article|nexttitle=My Next Title}}</nowiki></pre>  | |||
{{Go|up=#Parent Article|uptitle=My Parent Title|prev=#Previous Article|prevtitle=My Previous Title|next=#Next Article|nexttitle=My Next Title}}  | |||
[[Category:Navigation]]  | [[Category:Navigation]]  | ||
[[Category:Exclude in print]]  | |||
</noinclude>  | </noinclude>  | ||
Latest revision as of 13:09, 17 April 2025
Usage
Parent
{{Go|up=Parent Article}}
Previous and Next
{{Go|prev=Previous Article|next=Next Article}}
Parent, Previous and Next
{{Go|up=Parent Article|prev=Previous Article|next=Next Article}}
Parent, Previous and Next, with custom titles
{{Go|up=Parent Article|uptitle=My Parent Title|prev=Previous Article|prevtitle=My Previous Title|next=Next Article|nexttitle=My Next Title}}