Difference between revisions of "Template:Auto gallery"
From Geohashing
imported>Tjtrumpet2323 m |
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.) |
||
Line 1: | Line 1: | ||
<includeonly>=== Photo Gallery === | <includeonly>=== Photo Gallery === | ||
− | {{Expedition Images|{{PAGENAME}}}}</includeonly><noinclude> | + | {{Expedition Images|{{#if:{{{1}}}|{{{1}}}|{{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:35, 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.