Difference between revisions of "User template:Tjtrumpet2323/sandbox"

From Geohashing
imported>Tjtrumpet2323
m
imported>Tjtrumpet2323
m (Replacing page with 'my sandbox template')
Line 1: Line 1:
<includeonly>{{ #ifeq: {{{2|default}}} | datepage | == Coordinates and Expeditions == | === {{date link|{{{1}}} }} === }}
+
my sandbox template
{{ #ifexist: Template:Expeditions/{{{1}}}
 
| <table class="infobox" cellspacing="5" style="text-align: left; width: 30em; font-size: 88%; line-height: 1em; border: 1px solid #0d0; background-color: #afa; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right;"><tr><td>[http://wiki.xkcd.com/wgh/index.php?title=Template:Expeditions/{{{1}}}&action=edit Add your own expedition for '''{{ #time: l, F j | {{{1}}} }}'''.]</td></tr></table>{{Expeditions/{{{1}}} }}
 
| <table class="infobox" cellspacing="5" style="text-align: left; width: 30em; font-size: 88%; line-height: 1em; border: 1px solid #f00; background-color: #fdd; color: black; margin: 0.5em 1em 0.5em 0; padding: 0.2em; clear: left;">
 
<tr><td>[http://wiki.xkcd.com/wgh/index.php?title=Template:Expeditions/{{{1}}}&action=edit Start the section for '''{{ #time: l, F j | {{{1}}} }}'''.]</td></tr></table>
 
}}</includeonly><noinclude>== Usage ==
 
<code><nowiki>{{Expeditions|2008-05-28}}</nowiki></code>
 
* For use on [[Main Page]] and in the [[Expedition Archives]], such as [[2008-05]].
 
** Date parameter must be in form YYYY-MM-DD.
 
* For use on date pages, such as [[2008-05-28]].
 
** Use <code><nowiki>{{Expeditions|2008-05-28|datepage}}</nowiki></code> on a date page to generate the proper heading.
 
</noinclude>
 

Revision as of 22:32, 27 May 2008

my sandbox template