Difference between revisions of "Template:Advert"

From Geohashing
imported>Davidc
(temp - debug)
m
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
<!-- The first part of the ifeq is for the talk page, the second for the main page -->
 
<!-- The first part of the ifeq is for the talk page, the second for the main page -->
 
<div style="border:2px solid #8d8; background-color:#efe; padding:10px; color: green; margin-bottom: 5px;">
 
<div style="border:2px solid #8d8; background-color:#efe; padding:10px; color: green; margin-bottom: 5px;">
{{NAMESPACE}}
+
<table border=0 style="background:transparent; width:100%"><tr><td>{{#ifeq: {{NAMESPACE}}:{{PAGENAME}}|{{TALKPAGENAME}}|
{{PAGENAME}}
 
{{TALKPAGENAME}}
 
{{#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?'''
 
'''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.
 
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!
+
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!
  
&lt; '''[[{{PAGENAME}}|return to the expedition page]]'''
+
Curious about what geohashing is? [[Marker|Read more!]]
 
}}
 
}}
</div>
+
</td>{{#if:{{{image|}}}|<td style="text-align:right">[[Image:{{{image}}}|100px]]</td>}}</tr></table></div><noinclude>
<noinclude>
+
 
 
----
 
----
  
Line 29: Line 28:
 
'''Template parameters:'''
 
'''Template parameters:'''
  
None.
+
image = ''an image file of a qr code, or the marker itself (without the "Image:" part)''
  
 
</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)