Difference between revisions of "Template:Day"

From Gunsopedia
Jump to: navigation, search
Line 20: Line 20:
 
== [[{{PAGENAME}}/gallery|Today in pictures]] ==
 
== [[{{PAGENAME}}/gallery|Today in pictures]] ==
 
{{:{{PAGENAME}}/gallery}}
 
{{:{{PAGENAME}}/gallery}}
=== [[{{PAGENAME}}/image|Featured Image]] ===
+
{| class="wikitable" align="center" width="840" cellpadding="10"
{{:{{PAGENAME}}/image}}
+
! [[{{PAGENAME}}/image|Featured Image]] !! [[{{PAGENAME}}/video|Featured Video]]
=== [[{{PAGENAME}}/video|Featured Video]] ===
+
|- align="center" valign="top"
{{:{{PAGENAME}}/video}}
+
|    {{:{{PAGENAME}}/image}}    ||    {{:{{PAGENAME}}/video}}   
 +
|}
  
 
{{#if:{{{sort|}}} |
 
{{#if:{{{sort|}}} |
Line 53: Line 54:
 
| {{:{{PAGENAME}}/image}} || {{:{{PAGENAME}}/video}}
 
| {{:{{PAGENAME}}/image}} || {{:{{PAGENAME}}/video}}
 
|}
 
|}
 +
: '''UPDATE:''' implemented 11/26/13
  
 
== Subpages ==
 
== Subpages ==

Revision as of 10:57, 26 November 2013

This template is intended for use in standardizing all date pages. See GP:guidelines for more details. Because it is a high-use template, it is locked to all but admins. Sub-templates, for the article, gallery, etc. pages, are:

Current Appearance:

[[{{{yesterday}}}|<< Previous ({{{yesterday}}})]] [[{{{tomorrow}}}|Next ({{{tomorrow}}}) >>]]

Featured Article

Day/article

On this day

Day/history

Today in pictures

Day/gallery

Featured Image Featured Video
   Day/image       Day/video   


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

Usage

Insert the following code into the date page:

{{day
|yesterday= 
|tomorrow= 
|month= 
}}
<noinclude>{{DEFAULTSORT:}}</noinclude><noinclude>
Parameters
  • yesterday — the previous date.
  • tomorrow — the next date.
  • month — the month.
  • sort[not currently used] 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.

Potential changes

Possible featured media layout:

Featured Image Featured Video
Day/image Day/video
UPDATE: implemented 11/26/13

Subpages

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox