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 (gcuser template)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 +
I have updated [[Template talk:Waypoint|the waypoint template]] 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)
 +
 +
I have created a similar [[Template talk:Gcuser|gcuser template]] that will link to a user profile at Geocaching.com.
 +
 +
<table border="1" cellpadding="2" cellspacing="0">
 +
<tr>
 +
<td>{{gcuser|Jeremy}}</td>
 +
<td><pre><nowiki>{{gcuser|Jeremy}}</nowiki></pre></td>
 +
</tr><tr>
 +
<td>{{gcuser|Jeremy|Jeremy (Founder, Groundspeak)}}</td>
 +
<td><pre><nowiki>{{gcuser|Jeremy|Jeremy (Founder, Groundspeak)}}</nowiki></pre></td>
 +
</tr>
 +
</table>
 +
 +
[[User:NiraD|niraD]] 19:24, 15 February 2007 (EST)

Latest revision as of 00:24, 16 February 2007

I have updated the waypoint template 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)

I have created a similar gcuser template that will link to a user profile at Geocaching.com.

Jeremy
{{gcuser|Jeremy}}
Jeremy (Founder, Groundspeak)
{{gcuser|Jeremy|Jeremy (Founder, Groundspeak)}}

niraD 19:24, 15 February 2007 (EST)

Personal tools