Difference between revisions of "Template:Day/image"

From Gunsopedia
Jump to: navigation, search
Line 1: Line 1:
[[{{{file}}}|400px]]{{#if:{{{text|}}} |
+
[[{{{file}}}|{{#if:{{{width|}}} | {{{width}}} | 400
 +
}}px]]{{#if:{{{text|}}} |
 
<br>{{{text}}}
 
<br>{{{text}}}
 
}}
 
}}
Line 30: Line 31:
 
{{permalock}}
 
{{permalock}}
 
</noinclude>
 
</noinclude>
 +
 +
{{#if:{{{width|}}} | {{{width}}} | 400
 +
}}

Revision as of 08:37, 14 May 2013

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

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

Usage

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



400

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox