Difference between revisions of "Template:Day/video"

From Gunsopedia
Jump to: navigation, search
(Created page with "{{#tag:videoflash|{{{ID}}}{{!}}400{{!}}{{{height|265}}}}} {{#if:{{{sort|}}} | {{DEFAULTSORT:{{{sort}}}}} }} [[category:{{{month}}}| ]] <includeonly>[[category:featured videos...")
 
Line 2: Line 2:
  
 
{{#if:{{{sort|}}} |
 
{{#if:{{{sort|}}} |
{{DEFAULTSORT:{{{sort}}}}}
+
<includeonly><noinclude></includeonly>{{DEFAULTSORT:{{{sort}}}/history}}<includeonly></noinclude></includeonly>
 
}}
 
}}
 
[[category:{{{month}}}| ]]
 
[[category:{{{month}}}| ]]

Revision as of 09:04, 23 April 2013

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

Usage

{{day/video
|ID= 
|height= 
|month= 
|sort= 
}}
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.
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox