Difference between revisions of "Template:Expeditions"
From Geohashing
imported>Tjtrumpet2323 m |
imported>Tjtrumpet2323 m |
||
Line 1: | Line 1: | ||
− | <includeonly>=== {{date link|{{{1}}} }} === | + | <includeonly>{{ #if: {{{datepage}}} = 1 | == Expeditions == | === {{date link|{{{1}}} }} === }} |
{{ #ifexist: Template:Expeditions/{{{1}}} | {{ #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 #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}}} }} | ||
Line 5: | Line 5: | ||
<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> | <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 == | }}</includeonly><noinclude>== Usage == | ||
− | <code><nowiki>{{Expeditions|2008-05- | + | <code><nowiki>{{Expeditions|2008-05-28}}</nowiki></code> |
− | * Date parameter must be in form YYYY-MM-DD. | + | * For use on [[Main Page]] and in the [[Expedition Archives]]. |
+ | ** 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=1}}</nowiki></code> on a date page to generate the proper heading | ||
</noinclude> | </noinclude> |
Revision as of 19:47, 27 May 2008
Usage
{{Expeditions|2008-05-28}}
- For use on Main Page and in the Expedition Archives.
- 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=1}}
on a date page to generate the proper heading
- Use