Difference between revisions of "Template:Drama free days"

From blackwiki
Jump to navigation Jump to search
imported>Sladen
(rv; well-intended change causes overlap Undid revision 619475660 by MrScorch6200 (talk))
imported>MrScorch6200
(This should work until I can figure out something cleaner - like a yes/no param. This will keep the current wording unless the new 'custom' param is edited, which allows for custom wording. I'll update the documentation if this works)
Line 1: Line 1:
 
{| class="wikitable" style="border: 1px solid #aaa; font-size: 200%"
 
{| class="wikitable" style="border: 1px solid #aaa; font-size: 200%"
 
|- style="text-align: center; background: #ccccff;"
 
|- style="text-align: center; background: #ccccff;"
!  style="padding: 0.2em" | This page-{{break|2}}Drama free days
+
!  style="padding: 0.2em" | {{{custom|This page-{{break|2}}Drama free days}}}
|- style="text-align: center; background: #ccccff; height: 80px;"
+
|- style="text-align: center; background: #ccccff; height: 80px;"
 
| <center><big><big>{{Age in days|{{{1|2000}}}|{{{2|7}}}|{{{3|10}}}}}</big></big></center>
 
| <center><big><big>{{Age in days|{{{1|2000}}}|{{{2|7}}}|{{{3|10}}}}}</big></big></center>
 
|}<noinclude>
 
|}<noinclude>

Revision as of 23:50, 1 August 2014

This page-

Drama free days
9189
Template documentation[view] [edit] [history] [purge]

Usage

{{Drama free days|<year>|<month (numeric)>|<day of month>}}

E.G. {{Drama free days|2011|11|17}}

This page-

Drama free days
5042

An optional parameter, custom, can be used to display a custom heading instead of the standard seen above. It should be placed as the first parameter. If the custom parameter is not used the template will default to the standard wording seen above. If used, the usage should be:

{{Drama free days|<custom=>|<year>|<month (numeric)>|<day of month>}}

E.G. {{Drama free days|custom=Custom heading|2011|11|17}}

Custom heading
5042

See also