Difference between revisions of "Template:Expedition Images2"

From Geohashing
imported>Relet
(test: provide "add your own link" on day pages)
imported>Relet
m
Line 1: Line 1:
 
<includeonly><div style="display:inline-block; vertical-align:top;"><span class="plainlinks">{{#if:{{#var:noDateDisplay}}||{{GalleryItem|'''[[{{ #time: Y-m-d | {{{1}}} }} | {{ #time: D | {{{1}}} }} <br /> <font size="+1">{{ #time: j | {{{1}}} }}</font> {{ #time: M Y | {{{1}}} }}]]''' <hr/> [{{fullurl:Template:Expedition_Images2/{{#time:Y-m-d|{{{1}}}}}|action=edit}} add]|date}}}}
 
<includeonly><div style="display:inline-block; vertical-align:top;"><span class="plainlinks">{{#if:{{#var:noDateDisplay}}||{{GalleryItem|'''[[{{ #time: Y-m-d | {{{1}}} }} | {{ #time: D | {{{1}}} }} <br /> <font size="+1">{{ #time: j | {{{1}}} }}</font> {{ #time: M Y | {{{1}}} }}]]''' <hr/> [{{fullurl:Template:Expedition_Images2/{{#time:Y-m-d|{{{1}}}}}|action=edit}} add]|date}}}}
 
{{#ifexist: Template:Expedition Images2/{{{1}}} | {{Expedition Images2/{{{1}}}}}}}</span></div>
 
{{#ifexist: Template:Expedition Images2/{{{1}}} | {{Expedition Images2/{{{1}}}}}}}</span></div>
{{#ifeq: {{PAGENAME}} | Main Page | <!-- nothing --> | {{#ifexist: Template:Expedition Images2/{{{1}}} | <!-- nothing --> | '''[{{fullurl:Template:Expedition_Images2/{{#time:Y-m-d|{{{1}}}}}|action=edit}} Add your own photo for {{ #time: l j F | {{{1}}} }}]''' }} }}</includeonly><noinclude>This is a helper template to [[Template:Recent Images2]]. It includes a day slice and the gallery for a day to a gallery. See [[Template:Recent Images2]] to get an idea.</noinclude>
+
{{#switch: {{PAGENAME}}  
 +
| Main Page | <!-- nothing -->  
 +
| Recent Images2 | <!-- nothing -->
 +
| #default  | {{#ifexist: Template:Expedition Images2/{{{1}}} | <!-- nothing --> | '''[{{fullurl:Template:Expedition_Images2/{{#time:Y-m-d|{{{1}}}}}|action=edit}} Start the gallery for {{ #time: l j F | {{{1}}} }}]'''. }}  
 +
}}</includeonly><noinclude>This is a helper template to [[Template:Recent Images2]]. It includes a day slice and the gallery for a day to a gallery. See [[Template:Recent Images2]] to get an idea.</noinclude>

Revision as of 08:46, 25 June 2010

This is a helper template to Template:Recent Images2. It includes a day slice and the gallery for a day to a gallery. See Template:Recent Images2 to get an idea.