Difference between revisions of "Template:Day/video"

From Gunsopedia
Jump to: navigation, search
Line 1: Line 1:
 
{{#tag:videoflash|{{{ID}}}{{!}}400{{!}}{{{height|265}}}}}
 
{{#tag:videoflash|{{{ID}}}{{!}}400{{!}}{{{height|265}}}}}
 
+
[[category:{{{month}}}]]<noinclude>
{{#if:{{{sort|}}} |
+
{{DEFAULTSORT:{{{sort}}}/history}}
+
}}
+
[[category:{{{month}}}]]
+
<noinclude>
+
 
* [[Template:day]]
 
* [[Template:day]]
 
* [[Template:day/article]]
 
* [[Template:day/article]]
Line 20: Line 15:
 
|sort=  
 
|sort=  
 
}}
 
}}
<noinclude>[[category:featured videos]]</noinclude>
+
<noinclude>[[category:featured videos]]
<noinclude>{{DEFAULTSORT:}}</noinclude>
+
{{DEFAULTSORT:}}</pre>
<noinclude></pre>
+
 
; Parameters
 
; Parameters
 
* '''ID''' &mdash; 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.
 
* '''ID''' &mdash; 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.

Revision as of 11:02, 26 November 2013

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

Usage

{{day/video
|ID= 
|height= 
|month= 
|sort= 
}}
<noinclude>[[category:featured videos]]
{{DEFAULTSORT:}}
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