Difference between revisions of "Template:Advert"

From Geohashing
imported>Sermoa
m (eventually i'll be perfectly happy with this! (for a little while!))
imported>Davidc
(make {{Advert}} incorporate {{AdvertTalk}} and switch automatically)
Line 1: Line 1:
<div style="border:2px solid #8d8; background-color:#efe; padding:10px; color: green; margin-bottom: 5px;">'''Have you seen our geohashing marker?''' We'd love to hear from you! <span class="plainlinks" style="font-weight:bold;">[http://wiki.xkcd.com/wgh/index.php?title=Talk:{{PAGENAMEE}}&action=edit&section=new Click here]</span> to say "hi" and tell us what you've seen!
+
<!-- The first part of the ifeq is for the talk page, the second for the main page -->
</div><noinclude>
+
<div style="border:2px solid #8d8; background-color:#efe; padding:10px; color: green; margin-bottom: 5px;">
 +
{{#ifeq: {{NAMESPACE}}:{{PAGENAME}}|{{TALKPAGENAME}}|
 +
'''Have you seen our geohashing marker?''' We'd love to hear from you! <span class="plainlinks" style="font-weight:bold;">[http://wiki.xkcd.com/wgh/index.php?title=Talk:{{PAGENAMEE}}&action=edit&section=new Click here]</span> to say "hi" and tell us what you've seen!
 +
|
 +
'''Have you seen our geohashing marker?'''
  
 +
If you came here because you saw a sign, we'd love it if you would say "hi" and tell us what you've seen.
 +
 +
Just click the + (plus) tab above. You don't need to log in, although you're welcome to register if you want to!
 +
 +
&lt; '''[[{{PAGENAME}}|return to the expedition page]]'''
 +
}}
 +
</div>
 +
<noinclude>
 
----
 
----
  
 
'''Purpose'''
 
'''Purpose'''
  
If you left a marker at a hashpoint linking to your expedition page, you can place this template at the top of the page encouraging people to drop a note on the talk page.
+
If you left a marker at a hashpoint linking to your expedition page, you can place this template at the top of the page encouraging people to drop a note on the talk page. Also put this same template on the expedition talk page - it automatically detects it's on a talk page and uses slightly different text/instructions.
  
 
'''How to use this template:'''
 
'''How to use this template:'''
Line 15: Line 27:
  
 
None.
 
None.
 
'''See Also'''
 
 
[[Template:AdvertTalk]] - Put this at the top of the talk page itself, telling them how to add a comment.
 
  
 
</noinclude>
 
</noinclude>

Revision as of 23:18, 17 October 2009

Have you seen our geohashing marker?

If you came here because you saw a sign, we'd love it if you would say "hi" and tell us what you've seen.

Just click the + (plus) tab above. You don't need to log in, although you're welcome to register if you want to!

< return to the expedition page


Purpose

If you left a marker at a hashpoint linking to your expedition page, you can place this template at the top of the page encouraging people to drop a note on the talk page. Also put this same template on the expedition talk page - it automatically detects it's on a talk page and uses slightly different text/instructions.

How to use this template:

{{Advert}}

Template parameters:

None.