Difference between revisions of "Template:Day/history"

From Gunsopedia
Jump to: navigation, search
(Created page with "<noinclude> A template intended to standardize compiling historical data for individual dates. {| class="wikitable" width="100%" ! style="background:#9BCD9B; border:1px solid ...")
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
A template intended to standardize compiling historical data for individual dates.
+
A template intended to standardize compiling historical data for individual dates.</noinclude>
 
{| class="wikitable" width="100%"
 
{| class="wikitable" width="100%"
 
! style="background:#9BCD9B; border:1px solid green"| <div style="float:right"><small><nowiki>[</nowiki>[[{{{date}}}|more]]<nowiki>]</nowiki></small></div>What else happened today
 
! style="background:#9BCD9B; border:1px solid green"| <div style="float:right"><small><nowiki>[</nowiki>[[{{{date}}}|more]]<nowiki>]</nowiki></small></div>What else happened today
Line 7: Line 7:
 
{{{content|Nothing, apparently.  Maybe you know [[{{{date}}}/history|'''something that happened''']] today...?}}}
 
{{{content|Nothing, apparently.  Maybe you know [[{{{date}}}/history|'''something that happened''']] today...?}}}
 
|}
 
|}
 
 
 
 
 
 
 
 
 
 
{{#if:{{{sort|}}} |
 
{{#if:{{{sort|}}} |
 
{{DEFAULTSORT:{{{sort}}}}}
 
{{DEFAULTSORT:{{{sort}}}}}

Revision as of 13:55, 22 April 2013

A template intended to standardize compiling historical data for individual dates.

[[[{{{date}}}|more]]]
What else happened today

Nothing, apparently. Maybe you know [[{{{date}}}/history|something that happened]] today...?

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


Usage

This template should only be used in a page with a <date>/history title in the MAIN namespace. Add the following code to the page:

{{day/history
|date= 
|month= 
|sort= 
|content= 
}}
Parameters
  • date — the full date; eg. June 7
  • month — exactly what it says on the tin
  • sort — 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 7 is June 07. For 2-digit dates, leave blank.
  • content — the events of the day in unordered list format.
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox