Difference between revisions of "Template:Auto gallery"
From Geohashing
imported>Relet (Test: this template failed for pages like 2008-08. It should now accept a single date parameter for the correct gallery to display.) |
imported>Relet (second test. will undo if it fails as well.) |
||
Line 1: | Line 1: | ||
<includeonly>=== Photo Gallery === | <includeonly>=== Photo Gallery === | ||
− | + | {{#if:{{{1|}}}|{{Expedition Images|{{{1}}}}}|{{Expedition Images|{{PAGENAME}}}}}}</includeonly><noinclude> | |
== Usage == | == Usage == | ||
<code><nowiki>{{auto gallery}}</nowiki></code> shows the photo gallery given by [[Template:Expedition Images]]. | <code><nowiki>{{auto gallery}}</nowiki></code> shows the photo gallery given by [[Template:Expedition Images]]. | ||
* For use only on date pages, e.g., [[2008-07-07]]. Automatically uses the date from the page name.</noinclude> | * For use only on date pages, e.g., [[2008-07-07]]. Automatically uses the date from the page name.</noinclude> |
Revision as of 12:41, 26 August 2008
Usage
{{auto gallery}}
shows the photo gallery given by Template:Expedition Images.
- For use only on date pages, e.g., 2008-07-07. Automatically uses the date from the page name.