قالب:Year nav topic20
| List of years in subject |
|---|
| هذا القالب يضيف وصفاً قصيراً مـُوَلـَّد تلقائياً . |
Usage
- Format:
{{Year nav topic20|year#|subject}} - Format:
{{Year nav topic20|year#|subject|subj2}} - Format:
{{Year nav topic20|1=year#|2=subject|3=subj2}} - Format:
{{Year nav topic20|year#|subj1|subj2|subj3|subj4}}
- Format:
Takes multiple parameters: the year# (year 101 or higher), followed by the main subject (such as: music), followed by optional related subjects, separated by vertical bars:
- The year# becomes the bolded center of the 20-year range for the main subject, and any (optional) related subjects are displayed with a 6-year selection range.
- For the first subject "xxx" there should be an article (or redirection) using the name "List_of_years_in_xxx" (which is the top line displayed in the navigation-box).
- For the first subject "xxx" there should be a specific all-years navigation article using the name "Table_of_years_in_xxx" (the "table" link displayed in box), which has a compressed table linking all year/decade articles about the subject (such as: "Table of years in film").
- The box width expands 5%-15% for optional subjects, widening to fit longer names (such as "archaeology" or "video gaming").
The difference to {{Year nav topic}} is that up to 20 optional topics can be specified with this template and that only one line of years is shown, instead of 3.
Examples
The example code is on the left, and the wiki-box display is on the right.
{{Year nav topic20|1970|music}}
| List of years in music |
|---|
{{Year nav topic20|1725|architecture}}
| List of years in architecture |
|---|
- Note
- This example shows the additional link to Buildings and structures completed that year, which appears only on Architecture pages.
{{Year nav topic20|1798|archaeology|science}}
| List of years in archaeology |
|---|
{{Year nav topic20|1905|art|film|music}}
| List of years in art |
|---|
{{Year nav topic20|1497|art|music______|architecture_|literature}}
| List of years in art |
|---|
{{Year nav topic20|1497|science|music |architecture|literature }}
| List of years in science |
|---|
- Note
- This example shows use of trailing spaces, rather than underbars ("__") to align topics.
{{Year nav topic20|1893|science|archaeology|television|film}}
| List of years in science |
|---|
{{Year nav topic20|101|music|art}}
| List of years in music |
|---|
{{Year nav topic20|100|art}} [invalid]
| List of years in art |
|---|
- Note
- This template is not valid with years 100 and below. Use {{Year nav}} or other history nav templates instead.
{{Year nav topic20|2=philosophy|3=literature}}
| List of years in philosophy |
|---|
- Note
- If the year is omitted and the other parameters are specified with
2=,3=, etc., the year will be automatically filled in from the page title. If no year is found in the page title, 1700 will be used.
Tracking categories
See also
- {{Year nav topic}}
| هذا القالب يحب أن يتحول إلى الصيغة العيارية باستخدام Template:Sidebar. (Talk • Category) |
| The above documentation is transcluded from قالب:Year nav topic20/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |