Difference between revisions of "Template:Day/image"
From Gunsopedia
(2 intermediate revisions by one user not shown) | |||
Line 5: | Line 5: | ||
{{DEFAULTSORT:{{{sort}}}}} | {{DEFAULTSORT:{{{sort}}}}} | ||
}} | }} | ||
− | [[category:{{{month}}}]] | + | {{#ifeq:{{FULLPAGENAME}}|{{BASEPAGENAME}}/image|[[category:{{{month}}}]]}}<noinclude> |
− | <noinclude> | + | * [[Template:day]] |
+ | * [[Template:day/article]] | ||
+ | * [[Template:day/history]] | ||
+ | * [[Template:day/gallery]] | ||
+ | * [[Template:day/image]] | ||
+ | * [[Template:day/video]] | ||
+ | |||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
Line 15: | Line 21: | ||
|month = | |month = | ||
}} | }} | ||
− | <noinclude>[[category:featured images]] | + | <noinclude>[[category:featured images]] |
− | + | {{DEFAULTSORT:}}</pre> | |
− | + | ||
; Parameters | ; Parameters | ||
* '''file''' — full name, i.e. "file:something.jpg". No square brackets needed | * '''file''' — full name, i.e. "file:something.jpg". No square brackets needed |
Latest revision as of 17:54, 29 June 2015
[[{{{file}}}|400px]]
- Template:day
- Template:day/article
- Template:day/history
- Template:day/gallery
- Template:day/image
- Template:day/video
[edit] Usage
{{day/image |file= |text= |sort= |month = }} <noinclude>[[category:featured images]] {{DEFAULTSORT:}}
- Parameters
- file — full name, i.e. "file:something.jpg". No square brackets needed
- text — anything to be displayed below the pic
- 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)
- month — what it says on the tin