Difference between revisions of "Template:Day/video"

From Gunsopedia
Jump to: navigation, search
Line 15: Line 15:
 
|sort=  
 
|sort=  
 
}}
 
}}
 +
<noinclude>[[category:featured videos]]</noinclude>
 +
<noinclude>{{DEFAULTSORT:}}</noinclude>
 
</pre>
 
</pre>
 
; Parameters
 
; Parameters
Line 20: Line 22:
 
* '''height''' &mdash; '''optional:''' number in pixels (don't put "px" in) - default is 265
 
* '''height''' &mdash; '''optional:''' number in pixels (don't put "px" in) - default is 265
 
* '''month''' &mdash; what it says on the tin
 
* '''month''' &mdash; what it says on the tin
* '''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)
  
 
[[category:featured videos| ]]
 
[[category:featured videos| ]]

Revision as of 10:21, 23 April 2013

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

Usage

{{day/video
|ID= 
|height= 
|month= 
|sort= 
}}
<noinclude>[[category:featured videos]]</noinclude>
<noinclude>{{DEFAULTSORT:}}</noinclude>
Parameters
  • ID — the id of the youtube vid. eg., if the url is "youtu.be/HDz0Nr6RMfw" the ID is "HDz0Nr6RMfw". (it's a funny video about cats, if you're wondering.
  • heightoptional: number in pixels (don't put "px" in) - default is 265
  • month — what it says on the tin
  • 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