|
|
(۷ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) |
خط ۱: |
خط ۱: |
| <!--
| | {{:سخن برگزیده/{{تصادفی|13}}}} |
| | | <noinclude> |
| Careful with this template, it's used on the main page!
| |
| | |
| -->{{:سخن برگزیده/{{ #expr: {{ #expr: {{#expr: 365 + {{{spread|}}} -
| |
| {{#switch:{{{1}}}
| |
| |1={{ #expr: {{Days in month|1}}-{{Days left in month}} }}
| |
| |2={{ #expr: {{Days in month|2}}-{{Days left in month}} +31 }}
| |
| |3={{ #expr: {{Days in month|3}}-{{Days left in month}} +59 }}
| |
| |4={{ #expr: {{Days in month|4}}-{{Days left in month}} +90 }}
| |
| |5={{ #expr: {{Days in month|5}}-{{Days left in month}} +120 }}
| |
| |6={{ #expr: {{Days in month|6}}-{{Days left in month}} +151 }}
| |
| |7={{ #expr: {{Days in month|7}}-{{Days left in month}} +181 }}
| |
| |8={{ #expr: {{Days in month|8}}-{{Days left in month}} +212 }}
| |
| |9={{ #expr: {{Days in month|9}}-{{Days left in month}} +243 }}
| |
| |10={{ #expr: {{Days in month|10}}-{{Days left in month}} +273 }}
| |
| |11={{ #expr: {{Days in month|11}}-{{Days left in month}} +304 }}
| |
| |12={{ #expr: {{Days in month|12}}-{{Days left in month}} +334 }}
| |
| |{{Template:Day in year|{{CURRENTMNTH}}}}
| |
| }}}} mod {{{تعداد|2}}} }} + 1 }}}}<noinclude>
| |
| | |
| == نحوه استفاده == | | == نحوه استفاده == |
| <pre>{{سخن برگزیده|تعداد=72}}</pre><!-- the spread allows to provide aditional qoutes few places after the current one.--> | | این الگو برای [[صفحهٔ اصلی]] طراحی شده و یک سخن تصادفی از میان کل سخنان برگزیده را نمایش میدهد. برای اضاقه کردن سخن جدید به صفحه [[سخن برگزیده]] بروید. |
| [[رده:الگوها]]{{منابع}}</noinclude> | | <pre>{{سخن برگزیده|تعداد کل سخنان برگزیده}}</pre> |
| | <!-- the spread allows to provide aditional qoutes few places after the current one.--> |
| | [[رده:الگوها]]{{منابع}} |
| | </noinclude> |