Template:Announcements Navigation Links: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
(Navigation for announcements (similar to patch navigation template))
 
imported>Tlosk
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="float: right;"> {{{Previous}}} - [[Patches|All Announcements]] - {{{Next}}}</div><noinclude>
<includeonly><div style="float: right;"> [[{{{Previous}}}|Previous]] - [[Patches|All Announcements]] - [[{{{Next}}}|Next]]</div></includeonly><noinclude>
 
{{Related|Wiki Templates}}
== Syntax ==
== Syntax ==


<pre style="width:auto; overflow:auto">{{Patch Navigation Links
<pre style="width:auto; overflow:auto">
| Previous =
{{Patch Navigation Links
| Next =
| Previous = <Page>
| Next = <Page>
}}
}}
</pre>
</pre>
Line 18: Line 19:
|-
|-
| '''Previous'''
| '''Previous'''
| Wikilink to the previous announcements page.
| Name of the previous announcements page.
|-
|-
| '''Next'''
| '''Next'''
| Wikilink to the next announcements page.
| Name of the next announcements page.
|}
|}


For example:
<pre>
{{Announcements Navigation Links
| Previous = Announcements - 2008/05 - Introductions
| Next = Announcements - 2008/07 - Shattered Lines
}}
</pre>
displays as:
{{Announcements Navigation Links
| Previous = Announcements - 2008/05 - Introductions
| Next = Announcements - 2008/07 - Shattered Lines
}}
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 11:17, 21 April 2009

Related topics: Wiki Templates

Syntax

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

Usage

Parameters in bold are required fields.

Parameter Explanation
Previous Name of the previous announcements page.
Next Name of the next announcements page.


For example:

{{Announcements Navigation Links
 | Previous = Announcements - 2008/05 - Introductions
 | Next = Announcements - 2008/07 - Shattered Lines
}}

displays as:

Previous - All Announcements - Next