Difference between revisions of "Current events"

From Cacheopedia
Jump to: navigation, search
m (Reverted edits by BlueNinja (Talk); changed back to last version by 222.124.21.205)
m (mention update to waypoint template)
Line 1: Line 1:
 +
I have updated Template:Waypoint to support an optional second parameter, which will be used as the link text if it exists. If no second parameter is provided, then it uses the waypoint name as the link text, just like before.
  
 +
<table border="1" cellpadding="2" cellspacing="0">
 +
<tr>
 +
<th>What it looks like</th>
 +
<th>What you type</th>
 +
</tr><tr>
 +
<td>{{waypoint|GCPVKM}}</td>
 +
<td><pre><nowiki>{{waypoint|GCPVKM}}</nowiki></pre></td>
 +
</tr><tr>
 +
<td>{{waypoint|GCPVKM|Crack the Code}}</td>
 +
<td><pre><nowiki>{{waypoint|GCPVKM|Crack the Code}}</nowiki></pre></td>
 +
</tr>
 +
</table>
 +
 +
[[User:NiraD|niraD]] 20:01, 9 February 2007 (EST)

Revision as of 01:01, 10 February 2007

I have updated Template:Waypoint to support an optional second parameter, which will be used as the link text if it exists. If no second parameter is provided, then it uses the waypoint name as the link text, just like before.

What it looks like What you type
GCPVKM
{{waypoint|GCPVKM}}
Crack the Code
{{waypoint|GCPVKM|Crack the Code}}

niraD 20:01, 9 February 2007 (EST)

Personal tools