Template:Patch Announcements Links: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 3: Line 3:
* {{#ifeq:{{{Current|}}}|None|''No Current Link Available''|[{{{Current|??}}} Current Link]}}
* {{#ifeq:{{{Current|}}}|None|''No Current Link Available''|[{{{Current|??}}} Current Link]}}
|
|
* {{#ifeq:{{{Current|}}}|None|''No Original Link Available''|[{{{Original|??}}} Original Link]}}
* {{#ifeq:{{{Original|}}}|None|''No Original Link Available''|[{{{Original|??}}} Original Link]}}
|
|
* {{#ifeq:{{{Current|}}}|None|''No Wiki Archive Available''|[[{{{Archive|??}}}|Wiki Archive]]}}
* {{#ifeq:{{{Archive|}}}|None|''No Wiki Archive Available''|[[{{{Archive|??}}}|Wiki Archive]]}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{Related|Wiki Templates}}
{{Related|Wiki Templates}}
Line 12: Line 12:
<pre style="width:auto; overflow:auto">
<pre style="width:auto; overflow:auto">
{{Patch Announcements Links
{{Patch Announcements Links
| Current = <Link>
| Current = <Link>
| Original = <Link>
| Original = <Link>
| Archive = <Link>
| Archive = <Link>
}}
}}
</pre>
</pre>
Line 20: Line 20:
== Usage ==
== Usage ==


Parameters in '''bold''' are required fields.  
Parameters in '''bold''' are required fields. If a parameter is set to "None" (no quotes) a special indication will be given (see below).


{| class="wikitable"
{| class="wikitable"
Line 26: Line 26:
! Explanation
! Explanation
|-
|-
| Current
| '''Current'''
| Link to the current page.
| Link to the current page.
|-
|-
| Original
| '''Original'''
| Link to the original page.
| Link to the original page.
|-
|-
| Archive
| '''Archive'''
| Wikilink to the announcements archive.
| Wikilink to the announcements archive.
|}
|}
Line 41: Line 41:
<pre>
<pre>
{{Patch Announcements Links
{{Patch Announcements Links
| Current = http://ac.turbine.com/index.php?option=com_content&view=article&id=260-letter-to-the-players-june&catid=72-2006&Itemid=68
| Current = http://ac.turbine.com/index.php?option=com_content&view=article&id=260-letter-to-the-players-june&catid=72-2006&Itemid=68
| Original = http://ac.turbine.com/?page_id=465
| Original = http://ac.turbine.com/?page_id=465
| Archive = Announcements - 2006/06 - From the Darkest Depths#Letter to the Players
| Archive = Announcements - 2006/06 - From the Darkest Depths#Letter to the Players
}}
}}
</pre>
</pre>
Line 50: Line 50:


{{Patch Announcements Links
{{Patch Announcements Links
| Current = http://ac.turbine.com/index.php?option=com_content&view=article&id=260-letter-to-the-players-june&catid=72-2006&Itemid=68
| Current = http://ac.turbine.com/index.php?option=com_content&view=article&id=260-letter-to-the-players-june&catid=72-2006&Itemid=68
| Original = http://ac.turbine.com/?page_id=465
| Original = http://ac.turbine.com/?page_id=465
| Archive = Announcements - 2006/06 - From the Darkest Depths#Letter to the Players
| Archive = Announcements - 2006/06 - From the Darkest Depths#Letter to the Players
}}
}}


and
<pre>
{{Patch Announcements Links
| Current = None
| Original = None
| Archive = None
}}
</pre>
displays as:
{{Patch Announcements Links
| Current = None
| Original = None
| Archive = None
}}
[[Category:Wiki Template]]
</noinclude>
</noinclude>

Latest revision as of 17:17, 21 April 2009

Related topics: Wiki Templates

Syntax

{{Patch Announcements Links
 | Current = <Link>
 | Original = <Link>
 | Archive = <Link>
}}

Usage

Parameters in bold are required fields. If a parameter is set to "None" (no quotes) a special indication will be given (see below).

Parameter Explanation
Current Link to the current page.
Original Link to the original page.
Archive Wikilink to the announcements archive.


For example:

{{Patch Announcements Links
 | Current = http://ac.turbine.com/index.php?option=com_content&view=article&id=260-letter-to-the-players-june&catid=72-2006&Itemid=68
 | Original = http://ac.turbine.com/?page_id=465
 | Archive = Announcements - 2006/06 - From the Darkest Depths#Letter to the Players
}}

displays as:

and

{{Patch Announcements Links
 | Current = None
 | Original = None
 | Archive = None
}}

displays as:

  • No Current Link Available
  • No Original Link Available
  • No Wiki Archive Available