ਫਰਮਾ:ਫ਼ਰਵਰੀ ਕਲੰਡਰ/doc
ਇਹ ਇੱਕ ਫਰਮਾ:ਫ਼ਰਵਰੀ ਕਲੰਡਰ ਲਈ documentation ਉਪ ਸਫ਼ਾ ਹੈ। ਇਸ ਵਿੱਚ ਵਰਤੋਂ ਦੀ ਜਾਣਕਾਰੀ, ਸ਼੍ਰੇਣੀਆਂ ਅਤੇ ਹੋਰ ਸਮੱਗਰੀ ਜੋ ਮੂਲ ਦਾ ਹਿੱਸਾ ਨਹੀਂ ਹੈ, ਸ਼ਾਮਲ ਹੈ। ਫਰਮਾ page. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
Usage
[ਸੋਧੋ]This template displays a February calendar for a specified year from 1970 to 2037 (it defaults to the current year). Calls Template:Calendar/Sun1stMonthStartਵੀਰ or one of its sister templates, with the starting day for the calendar calculated using #time.
Optional parameters
[ਸੋਧੋ]Year
[ਸੋਧੋ]Parameter | Explanation |
---|---|
year | The four digit year of the specified year to be displayed (e.g. year=2008 ). Valid years are 1970-2037 (due to technical restrictions regarding Unix time) . The template currently defaults to {{CURRENTYEAR}}.
|
Layout
[ਸੋਧੋ]The following parameters can be used to change the layout of the calendar:
Parameter | Explanation |
---|---|
float | Use to float the calendar left or right (e.g. float=left or float=right ). It defaults to float=none .
|
color | Use to change the the default background color of the title bar with name of the month, and the bottom bar (e.g. color=#2e8b57 ).
|
color2 | Use to change the the default background color of the bar listing the days of the week (e.g. color2=#2e8b57 ).
|
Parameters to change the displayed links
[ਸੋਧੋ]The template contains the following default links:
- The Month links to the specified month's respective article.
- The left arrows link to the previous month's respective article.
- The right arrows link to the next month's respective article.
- The days link to each day’s respective article.
- The bottom bar shows a piped link that points to the specified month's respective article, but displays roman numerals without looking redundant with the
Arabic-numeral expression of the year at the top.
The following parameters can be used to change the links on the calendar:
(they are backward compatible with the ones used on the old {{JanuaryCalendar2008Source}}, etc. templates that were used before #time and the other parserfunctions were implemented)
Parameter | Explanation |
---|---|
1 | Adds a prefix to the days links. |
1a | Adds a prefix to the links to the current month, previous month and the next month. |
2 | Adds a prefix to the link label in the piped link displaying the current month. |
3 | Adds a suffix to the links to the current month, the previous month and the next month. |
4 | Adds a suffix to the days links. |
EndNote | Changes the text in the bottom bar. |
Examples
[ਸੋਧੋ]{{ਫ਼ਰਵਰੀ ਕਲੰਡਰ}}
<< | ਫ਼ਰਵਰੀ | >> | ||||
---|---|---|---|---|---|---|
ਐਤ | ਸੋਮ | ਮੰਗਲ | ਬੁੱਧ | ਵੀਰ | ਸ਼ੁੱਕਰ | ਸ਼ਨੀ |
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 |
{{ਫ਼ਰਵਰੀ ਕਲੰਡਰ|year=2001|float=right|color=#ffcccc|color2=#cccccc}}
<< | ਫ਼ਰਵਰੀ | >> | ||||
---|---|---|---|---|---|---|
ਐਤ | ਸੋਮ | ਮੰਗਲ | ਬੁੱਧ | ਵੀਰ | ਸ਼ੁੱਕਰ | ਸ਼ਨੀ |
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 |
{{ਫ਼ਰਵਰੀ ਕਲੰਡਰ|year=2008|1=Wikipedia:Today's featured article/|1a=Wikipedia:Today's featured article/|2=Featured articles for |3= 2008|4=, 2008|EndNote=<small>An archive of [[Wikipedia:Featured articles|Wikipedia's featured articles]] that appeared on the Main Page.</small>}}
<< | Wikipedia:Today's featured article/ਫ਼ਰਵਰੀ | >> | ||||
---|---|---|---|---|---|---|
ਐਤ | ਸੋਮ | ਮੰਗਲ | ਬੁੱਧ | ਵੀਰ | ਸ਼ੁੱਕਰ | ਸ਼ਨੀ |
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 |