Template:Year by category

ဝီကီပီးဒီးယား မှ
Jump to navigation Jump to search

- - - - - - - - -


Documentation icon တမ်းပလိတ်မှတ်တမ်းလက်စွဲ[ကြည့်ရှု] [တည်းဖြတ်] [ရာဇဝင်] [ရှင်းသန့်]

အသုံးပြုပုံ[ပြင်ဆင်ရန်]

{{Year by category
| m = 
| c = 
| d = 
| y = 
| cat = 
| in = 
| parent = 
| subcat = 
| sortkey = 
}}

ပါရာမီတာများ[ပြင်ဆင်ရန်]

The first 5 parameters split the name of the category page receiving the template into separate pieces. They are used to form the timeline links.

  • m = ထောင်စုနှစ် ဂဏန်း
  • c = ရာစုနှစ် ဂဏန်း
  • d = ဆယ်စုနှစ် ဂဏန်း
  • y = ခုနှစ် ဂဏန်း
    The single-digit values of these 4 parameters, taken together ("mcdy"), form the four-digit year. If the year is before 1000 (and thus only 3 digits long) or even earlier, parameters can be omitted, as necessary.
  • cat = category name suffix
    The portion of the category name after the year, including the word "in" if present.


The next parameter can be used to link to a "main article" for the category.

  • in = see also article name suffix
    Optional: Adds a "see also" link to a closely related "year-in" article. This suffix should not contain the year or the word "in", which is provided by the template itself.


The rest of the parameters are used to categorize the page containing the template.

  • parent = parent category name
    Optional: Full name (not including "Category:" prefix) of the category into which this category and similar categories for other years will all be placed (typically, but not always, named something like "topic by year"). Note that a sortkey is not used, so the sorting will be by year.
  • subcat = different category name
    Optional: The full name (not including the "Category:" prefix) of another appropriate parent category, typically for the same year. If omitted, the current category will be placed in the category for the year itself, using the value of the "cat" parameter as the sortkey (note that this will not be acceptable if the value of "cat" begins with the word "in").
  • sortkey = category sortkey text
    The sortkey used on the category link created by the previous parameter. If "subcat" is used but "sortkey" is not specified, a blank sortkey will be used.

Note that both the "parent" and "subcat" parameters are referring to parent categories of the category page the template is being placed on.

နမူနာများ[ပြင်ဆင်ရန်]

ပါရာမီတာအားလုံး အသုံးပြုခြင်း[ပြင်ဆင်ရန်]

{{Year by category
| m = ၂
| c = ၀
| d = ၀
| y = ၈
| cat = အတွင်း ကနေဒီယန် ဂီတ
| in = ကနေဒီယန် ဂီတ
| parent = နှစ်အလိုက် ကနေဒီယန် ဂီတ
| subcat = ၂၀၀၈ အတွင်း ကနေဒါနိုင်ငံ
| sortkey = ဂီတ
}}
  • displays the following "timeline" and "see also" article link:

၂၀၀၀ - ၂၀၀၁ - ၂၀၀၂ - ၂၀၀၃ - ၂၀၀၄ - ၂၀၀၅ - ၂၀၀၆ - ၂၀၀၇ - ၂၀၀၈ - ၂၀၀၉

အခြားကြည့်ရန်။ 200၈ အတွင်း ကနေဒီယန် ဂီတ


ပါရာမီတာအချို့အား အသုံးပြုခြင်း[ပြင်ဆင်ရန်]

Category:၁၉၇၉ ဘေးအန္တရာယ်များ တွင် အသုံးပြုခြင်း:

{{Year by category
| m = ၁
| c = ၉
| d = ၇
| y = ၉
| cat = ဘေးအန္တရာယ်များ
| parent = ၂၀ ရာစု ဘေးအန္တရာယ်များ
}}
  • displays the following "timeline" (note that the last year isn't linked, since it would be a reference to the same category the template is on):

၁၉၇၀ - ၁၉၇၁ - ၁၉၇၂ - ၁၉၇၃ - ၁၉၇၄ - ၁၉၇၅ - ၁၉၇၆ - ၁၉၇၇ - ၁၉၇၈ - ၁၉၇၉