Template:Daydab: Difference between revisions
(Created page with "<includeonly>{{#switch:{{#explode:{{PAGENAME}}|(|1}} |production)=(production) |releases)=(releases) |people)=(people) |#default= }}</includeonly><noinclude> [[Category:Disamb...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{#explode:{{PAGENAME}}|(|1}} | <includeonly>{{#switch:{{#explode:{{PAGENAME}}|(|1}} | ||
|production)=(production) | |production)= (production) | ||
|releases)=(releases) | |releases)= (releases) | ||
|people)=(people) | |people)= (people) | ||
|#default= | |#default= | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
[[Category:Disambiguation templates]] | [[Category:Disambiguation templates]] | ||
[[Category:DayNav templates]] | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 23:42, 14 June 2013
{{Daydab}} is a template that is at the heart of the {{DayNav}} family of templates. It allows the discovery of the dab term on a certain days of the year page.
Usage[[edit source]]
If you type the following
{{daydab}}
on, say, 1 January (production), this template will return (production). On 1 January (releases), it will give you (releases).
That's it. There are no parameters, no nothin'. Just {{daydab}}. Its utility outside of {{DayNav}} is therefore hard to imagine. But within {{DayNav}} it allows you to figure out what kind of day page you're on and therefore populate the calendar with other days that have that same dab term.
So, because of {{daydab}}, when you're on 1 June (people), the calendar fills up with other (people) days in the month of June.
Details[[edit source]]
As of June 2013, it differentiates between pages that have no dab terms (1 September, for instance) and these three dab terms:
- (people)
- (production)
- (releases)