Difference between revisions of "Template:Expeditions"

From Geohashing
imported>Tjtrumpet2323
m
imported>Tjtrumpet2323
m
Line 1: Line 1:
<includeonly>{{ #ifexist: {{{1}}}
+
<includeonly>== {{date link|{{{1}}}}} ==
| == {{date link|{{{1}}}}} ==
+
{{ #ifexist: {{{1}}}
<table class="infobox" cellspacing="5" style="text-align: left; width: 30em; font-size: 88%; line-height: 1em; border: 1px solid #0c0; background-color: #dfd; 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={{{1}}}&action=edit Add your own expedition for '''{{ #time: l j F | {{{1}}} }}'''.]</td></tr></table>
+
| <table class="infobox" cellspacing="5" style="text-align: left; width: 30em; font-size: 88%; line-height: 1em; border: 1px solid #0c0; background-color: #dfd; 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={{{1}}}&action=edit Add your own expedition for '''{{ #time: l j F | {{{1}}} }}'''.]</td></tr></table> {{:{{{1}}} }}
{{:{{{1}}}}} }}
 
 
| <table class="infobox" cellspacing="5" style="text-align: left; width: 30em; font-size: 88%; line-height: 1em; border: 1px solid #f66; background-color: #fdd; color: black; margin: 0.5em 1em 0.5em 0; padding: 0.2em; clear: left;">
 
| <table class="infobox" cellspacing="5" style="text-align: left; width: 30em; font-size: 88%; line-height: 1em; border: 1px solid #f66; 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={{{1}}}&action=edit Start the page for '''{{ #time: l j F | {{{1}}} }}'''.]</td></tr></table>
 
<tr><td>[http://wiki.xkcd.com/wgh/index.php?title={{{1}}}&action=edit Start the page for '''{{ #time: l j F | {{{1}}} }}'''.]</td></tr></table>

Revision as of 14:25, 13 June 2008

Usage

{{Expeditions|2008-05-28}}

  • 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 {{Expeditions|2008-05-28|datepage}} on a date page to generate the proper heading.