Difference between revisions of "Template:Expeditions"

From Geohashing
imported>Tjtrumpet2323
m
m
 
(36 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>=== {{ #time: l, F j, Y | {{{1}}} }} ===
+
<includeonly>{{#ifexpr:{{#time:U|9 hours 30 minutes}}>{{#time:U|{{{1|2008-05-21}}}}}|== {{date link|{{{1}}}|l j F Y}} ==
{{ #ifexist: Template:Expeditions/{{{1}}}
+
{{ #ifexist: {{{1}}}
| <table class="infobox" cellspacing="5" style="text-align: left; 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}}} }}] - See also: [[{{{1}}}]]</td></tr></table>{{Expeditions/{{{1}}} }}
+
| {{:{{{1}}}}}
| <table class="infobox" cellspacing="5" style="text-align: left; 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;">
+
| * '''Start the page for [[{{{1}}}|{{ #time: l j F | {{{1}}} }}]].'''
<tr><td>[http://wiki.xkcd.com/wgh/index.php?title=Template:Expeditions/{{{1}}}&action=edit Start the {{{1}}} section with your own expedition] - See also: [[{{{1}}}]]</td></tr></table>
+
}}||}}</includeonly><noinclude>== Usage ==
}}</includeonly><noinclude>== Usage ==
+
<code><nowiki>{{Expeditions|2008-05-28}}</nowiki></code>
<code><nowiki>{{Expeditions|2008-05-27}}</nowiki></code>
+
* For use in the [[Expedition Archives]], such as [[2008-05]].
* Date parameter must be in form YYYY-MM-DD.
+
** Date parameter must be in form '''YYYY-MM-DD''' (as if there's any other option).
 
</noinclude>
 
</noinclude>

Latest revision as of 16:53, 5 November 2020

Usage

{{Expeditions|2008-05-28}}