Difference between revisions of "Template:Day/gallery"

From Gunsopedia
Jump to: navigation, search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<gallery>
+
<noinclude>Creates a gallery for a particular date.  Do not use the pipe character | as it won't work.  Use the <nowiki>{{!}}</nowiki> template instead.
{{{content}}}
+
* [[Template:day]]
</gallery>
+
* [[Template:day/article]]
[[category:{{{month}}}| ]]
+
* [[Template:day/history]]
 +
* [[Template:day/gallery]]
 +
* [[Template:day/image]]
 +
* [[Template:day/video]]</noinclude>
 +
{{#tag:gallery|{{{content}}}}}
 +
[[category:{{{month}}}]]
 
<noinclude>
 
<noinclude>
 
== Usage ==
 
== Usage ==
Line 9: Line 14:
 
|month=  
 
|month=  
 
|content=  
 
|content=  
|sort=
 
 
}}
 
}}
<noinclude>{{DEFAULTSORT:}}</noinclude>
+
<noinclude>{{DEFAULTSORT:}}</pre>
<noinclude></pre>
+
 
; Parameters
 
; Parameters
 
* '''month''' &mdash; exactly what it says on the tin.
 
* '''month''' &mdash; exactly what it says on the tin.
 
* '''content''' &mdash; the files associated with the date in question, listed as they would be in between <nowiki><gallery></nowiki> tags.
 
* '''content''' &mdash; the files associated with the date in question, listed as they would be in between <nowiki><gallery></nowiki> tags.
 
* sort — the value to be given to the key. Only used to provide a leading zero to the first nine days of a month. Eg., June 4 is June 04. For 2-digit dates, leave blank. (not working as of 4/23/13)  
 
* sort — the value to be given to the key. Only used to provide a leading zero to the first nine days of a month. Eg., June 4 is June 04. For 2-digit dates, leave blank. (not working as of 4/23/13)  
 
  
 
[[category:front page templates]]
 
[[category:front page templates]]

Latest revision as of 11:04, 26 November 2013

Creates a gallery for a particular date. Do not use the pipe character | as it won't work. Use the {{!}} template instead.

[[category:{{{month}}}]]

[edit] Usage

{{day/gallery
|month= 
|content= 
}}
<noinclude>{{DEFAULTSORT:}}
Parameters
  • month — exactly what it says on the tin.
  • content — the files associated with the date in question, listed as they would be in between <gallery> tags.
  • sort — the value to be given to the key. Only used to provide a leading zero to the first nine days of a month. Eg., June 4 is June 04. For 2-digit dates, leave blank. (not working as of 4/23/13)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox