Template:Patch Navigation Links: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk's Bot
mNo edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="float: right;"> {{{Previous}}} - [[Patches|All Patches]] - {{{Next}}}</div></includeonly><noinclude>
<includeonly><div style="float: right;"> [[{{{Previous}}}|Previous Patch]] - [[Patches|All Patches]] - [[{{{Next}}}|Next Patch]]</div>
{{Related|Wiki Templates}}
{{#ifexist:File:{{PAGENAME}} Splash Screen.jpg|[[File:{{PAGENAME}} Splash Screen.jpg|320px|right|link=#New Quests]]|{{#ifexist:File:{{strip|{{{Image|}}}}}|[[File:{{strip|{{{Image|}}}}}|320px|right|link=#New Quests]]|}}}}</includeonly><noinclude>
{{Related|Wiki Templates|Patch Tree Template}}
== Syntax ==
== Syntax ==
<pre style="width:auto; overflow:auto">
{{Patch Navigation Links
| Previous = <Page>
|    Next = <Page>
}}


<pre style="width:auto; overflow:auto">{{Patch Navigation Links
{{Patch Navigation Links
| Previous = [[<Page>|Previous]]
| Previous = <Page>
| Next = [[<Page>|Next]]
|     Next = <Page>
|   Image = <Specify image file if does not follow naming conventions>
}}
}}
</pre>
</pre>


== Usage ==
== Usage ==
Displays links to the previous patch, all patches, and the next patch along with a small version of the patch splash screen that links to New Quests on the patch page.


Parameters in '''bold''' are required fields.  
If for some reason the splash screen image cannot be named exactly as the patch name, for example [[Who Watches the Virindi?]], the actual image can optionally be specified.


{| class="wikitable"
For the results of the example code below see [[Seeds of Corruption]].
! Parameter
! Explanation
|-
| '''Previous'''
| Wikilink to the previous patch.
|-
| '''Next'''
| Wikilink to the next patch.
|}


 
<pre style="width:auto; overflow:auto">
For example:
 
<pre>
{{Patch Navigation Links
{{Patch Navigation Links
| Previous = [[Sudden Season|Previous Patch]]
| Previous = Risks and Rewards
| Next = [[Shadows of the Past|Next Patch]]
|     Next = Sins of the Fathers
}}
}}
</pre>
</pre>


displays as:
[[Category:Wiki Template]]
 
{{Patch Navigation Links
| Previous = [[Sudden Season|Previous Patch]]
| Next = [[Shadows of the Past|Next Patch]]
}}
 
</noinclude>
</noinclude>

Latest revision as of 04:54, 5 June 2009

Related topics: Wiki Templates, Patch Tree Template

Syntax

{{Patch Navigation Links
 | Previous = <Page>
 |     Next = <Page>
}}

{{Patch Navigation Links
 | Previous = <Page>
 |     Next = <Page>
 |    Image = <Specify image file if does not follow naming conventions>
}}

Usage

Displays links to the previous patch, all patches, and the next patch along with a small version of the patch splash screen that links to New Quests on the patch page.

If for some reason the splash screen image cannot be named exactly as the patch name, for example Who Watches the Virindi?, the actual image can optionally be specified.

For the results of the example code below see Seeds of Corruption.

{{Patch Navigation Links
 | Previous = Risks and Rewards
 |     Next = Sins of the Fathers
}}