Difference between revisions of "Template:Day/image"

From Gunsopedia
Jump to: navigation, search
(Created page with "[[{{{file}}}|400px]]{{#if:{{{text|}}} | <br>{{{text}}} }} {{#if:{{{sort|}}} | {{DEFAULTSORT:{{{sort}}}}} }} [[category:{{{month}}}| ]] <noinclude> == Usage == <pre> {{day/imag...")
 
Line 14: Line 14:
 
|sort=  
 
|sort=  
 
|month =  
 
|month =  
 +
}}
 +
<noinclude>[[category:featured videos]]</noinclude>
 +
<noinclude>{{DEFAULTSORT:}}</noinclude>
 
</pre>
 
</pre>
 
; Parameters
 
; Parameters
 
* '''file''' &mdash; full name, i.e. "file:something.jpg".  No square brackets needed
 
* '''file''' &mdash; full name, i.e. "file:something.jpg".  No square brackets needed
 
* '''text''' &mdash; anything to be displayed below the pic
 
* '''text''' &mdash; anything to be displayed below the pic
* '''sort''' &mdash; the value to be given to the {{DEFAULTSORT:}} 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.  
+
* '''sort''' &mdash; the value to be given to the {{DEFAULTSORT:}} 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''' &mdash; what it says on the tin
 
* '''month''' &mdash; what it says on the tin
  

Revision as of 09:23, 23 April 2013

[[{{{file}}}|400px]]

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

Usage

{{day/image
|file= 
|text= 
|sort= 
|month = 
}}
<noinclude>[[category:featured videos]]</noinclude>
<noinclude>{{DEFAULTSORT:}}</noinclude>
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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox