Template:PlayerGuide Currency: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Eabrace
m (+documentaton)
imported>Eabrace
m (making the template a little smarter (hopefully))
Line 2: Line 2:
|- align="center"
|- align="center"
|align="left" width="5%" | {{#switch: {{{issue}}}
|align="left" width="5%" | {{#switch: {{{issue}}}
|1 = I1
|1
|2 = I2
|I1
|3 = I3
|Issue 1  = I1
|4 = I4
|2
|5 = I5
|I2
|6 = I6
|Issue 2  = I2
|7 = I7
|3
|8 = I8
|I3
|9 = I9
|Issue 3  = I3
|10 = I10
|4
|11 = I11
|I4
|12 = [[File:Badge_temporal_strife.png|24px]]
|Issue 4  = I4
|13 = [[File:Badge_DayJob_OnPatrol.png|24px]]
|5
|14 = [[File:Badge ArchitectPlay.png|24px]]
|I5
|15 = I15
|Issue 5  = I5
|16 = I16
|6
|17 = I17
|I6
|Issue 6  = I6
|7
|I7
|Issue 7  = I7
|8
|I8
|Issue 8  = I8
|9
|I9
|Issue 9  = I9
|10
|I10
|Issue 10 = I10
|11
|I11
|Issue 11 = I11
|12
|I12
|Issue 12 = [[File:Badge_temporal_strife.png|24px]]
|13
|I13
|Issue 13 = [[File:Badge_DayJob_OnPatrol.png|24px]]
|14
|I14
|Issue 14 = [[File:Badge ArchitectPlay.png|24px]]
|15
|I15
|Issue 15 = I15
|16
|I16
|Issue 16 = I16
|#default = [[Image:V_badge_TimeSpentBadge.png|24px]]}}
|#default = [[Image:V_badge_TimeSpentBadge.png|24px]]}}
| align="left" width="95%" | Last updated {{#if:{{{issue|}}}|for [[Issue {{{issue}}}]] }}on {{{date}}}.
| align="left" width="95%" | Last updated {{#switch: {{{issue}}}
|1
|I1
|Issue 1  = for [[Issue 1]]
|2
|I2
|Issue 2  = for [[Issue 2]]
|3
|I3
|Issue 3  = for [[Issue 3]]
|4
|I4
|Issue 4  = for [[Issue 4]]
|5
|I5
|Issue 5  = for [[Issue 5]]
|6
|I6
|Issue 6  = for [[Issue 6]]
|7
|I7
|Issue 7  = for [[Issue 7]]
|8
|I8
|Issue 8  = for [[Issue 8]]
|9
|I9
|Issue 9  = for [[Issue 9]]
|10
|I10
|Issue 10 = for [[Issue 10]]
|11
|I11
|Issue 11 = for [[Issue 11]]
|12
|I12
|Issue 12 = for [[Issue 12]]
|13
|I13
|Issue 13 = for [[Issue 13]]
|14
|I14
|Issue 14 = for [[Issue 14]]
|15
|I15
|Issue 15 = for [[Issue 15]]
|16
|I16
|Issue 16 = for [[Issue 16]]}} on {{{date}}}.
|}
|}
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Revision as of 01:15, 14 January 2010

V badge TimeSpentBadge.png Last updated on {{{date}}}.
[edit] [purge] Documentation


Usage

{{PlayerGuide Currency|date=date}}

{{PlayerGuide Currency|date=date|issue=issue}}

This template is intended to be used in places where information in the article may be out of date in comparison to what is on the live servers. This is particularly useful in the case of Player Guides as Player Guides are often preserved as they were originally written even if they are out of date.

The template provides an at-a-glance indication to a reader of how current the information in the article is without having to check the last date the article was edited. Again, this is most useful in the case of Player Guides since the last date the article was updated is seldom indicative of when the guide was actually written.

Required Parameters

One parameter is required in use of this template:

date
The date used may the date the article was last updated or edited on the wiki. In the case of Player Guides, it is recommended that the date used be the date the guide was last either written or last updated at its original source. I.E. If the guide is archived from a forum post, it would be best to use the date of the post on the forums. (If using today's date, placing ~~~~~ will substitute the current date into the template call when saved.)

Optional Parameters

One optional parameter may also be used in this template:

issue
If the information in the article is particular to a specific Issue of the game (i.e. "User-X's I5 Guide to Regen"), then including this parameter will mark the currency with an icon representative of that particular Issue, name the Issue in the text, and link to the Issue's article on the wiki.

Examples

{{PlayerGuide Currency|date=~~~~~}}
V badge TimeSpentBadge.png Last updated on 01:07, 14 January 2010 (UTC).
{{PlayerGuide Currency|date=~~~~~|issue=16}}
I16 Last updated for Issue 16 on 01:07, 14 January 2010 (UTC).
{{PlayerGuide Currency|date=24 July 2007|issue=Issue 10}}
I10 Last updated for Issue 10 on 24 July 2007.
{{PlayerGuide Currency|date=31 December 2006|issue=I7}}
I7 Last updated for Issue 7 on 31 December 2006.
{{PlayerGuide Currency|date=~~~~~|issue=18}}
V badge TimeSpentBadge.png Last updated on 21:32, 21 August 2010 (UTC).