Ta̱mpi̱let:Naat mbwuot mi̱ di̱ yong huni
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses TemplateStyles: |
This template is used by A̱na̱nwuai:Naat mbwuot mi̱ di̱ yong huni and sub-pages.
Usage
[jhyuk a̱tyin ka]{{Naat mbwuot mi̱ di̱ yong huni|year=2007|month=3|day=1|content= }}
gives:
and
{{Naat mbwuot mi̱ di̱ yong huni|year=2007|month=3|day=14|content= defghi defghi defghi defghi defghi defghi defghi defghi defghi defghi defghi defghi defghi defghi defghi defghi defghi defghi defghi }}
gives:
The first example has the anchors #2007_March_1 and #2007_March_01, the second the anchor #2007_March_14. Having the full date as anchor name allows transclusion of day pages from different years on one page, without collision of anchor names (otherwise there would be equal anchors of which only the first would be effective).
Thus we can use the section links Zwat Tsat 2007#2007 Zwat Tsat 1, Zwat Tsat 2007#2007 Zwat Tsat 01, and Zwat Tsat 2007#2007 Zwat Tsat 14.
The first is not recommended, because when applying Special:Linksearch to find links in external style to the content on 1 March, one would get also those to content on 10 March, etc.
The anchors have a fixed format, while the page contains with a "bold" specification the expanded wikitext such as "[[Zwat Tsat 14]], [[2007]]" which due to the date formatting feature produces links of which one has a user-dependent link label, but with fixed targets "March 14" and "2007"; it also has various links related to the page A̱na̱nwuai:Naat mbwuot mi̱ di̱ yong huni/2007 March 14.
Unfortunately it does not seem possible to have a link with the same target as Zwat Tsat 2007#2007 Zwat Tsat 14 but with a link label like the combined labels of the user-dependent Zwat Tsat 14, 2007. The best seems something like "Zwat Tsat, 2007 Zwat Tsat 2007#2007 Zwat Tsat 14" (linking to the section of the month page); backlinks of this type are found by [1].
The day number in the anchor has, when below 10, a leading zero, see also [2].
Microformat
[jhyuk a̱tyin ka]Category
[jhyuk a̱tyin ka]If the template is used on a page having the form "A̱na̱nwuai:Naat mbwuot mi̱ di̱ yong huni/year month day" and the supplied year/month/day parameters are incorrect for that page, then the template adds an error category, Sa:Pages using Current events with invalid parameters.
Bu nwuan
[jhyuk a̱tyin ka]- Template:Mi̱ di̱ yong huni for rapidly-changing current events