Difference between revisions of "Template:Advert"

From Geohashing
imported>Sermoa
m (eventually i'll be perfectly happy with this! (for a little while!))
m
 
(12 intermediate revisions by 5 users not shown)
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;">
 +
<table border=0 style="background:transparent; width:100%"><tr><td>{{#ifeq: {{NAMESPACE}}:{{PAGENAME}}|{{TALKPAGENAME}}|
 +
'''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.
 +
 
 +
&lt; '''[[{{ARTICLEPAGENAME}}|return to the expedition page]]'''
 +
|
 +
'''Have you seen our geohashing marker?''' We'd love to hear from you! <span class="plainlinks" style="font-weight:bold;">[https://geohashing.site/index.php?title=Talk:{{PAGENAMEE}}&action=edit&section=new Click here]</span> to say "hi" and tell us what you've seen!
 +
 
 +
Curious about what geohashing is? [[Marker|Read more!]]
 +
}}
 +
</td>{{#if:{{{image|}}}|<td style="text-align:right">[[Image:{{{image}}}|100px]]</td>}}</tr></table></div><noinclude>
  
 
----
 
----
Line 6: Line 20:
 
'''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 14: Line 28:
 
'''Template parameters:'''
 
'''Template parameters:'''
  
None.
+
image = ''an image file of a qr code, or the marker itself (without the "Image:" part)''
 
 
'''See Also'''
 
 
 
[[Template:AdvertTalk]] - Put this at the top of the talk page itself, telling them how to add a comment.
 
  
 
</noinclude>
 
</noinclude>

Latest revision as of 21:16, 4 March 2020

Have you seen our geohashing marker? We'd love to hear from you! Click here to say "hi" and tell us what you've seen!

Curious about what geohashing is? Read more!


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:

image = an image file of a qr code, or the marker itself (without the "Image:" part)