|
|
(۵ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) |
خط ۱: |
خط ۱: |
| <!--
| | {{:سخن برگزیده/{{تصادفی|13}}}} |
| | | <noinclude> |
| Careful with this template, it's used on the main page!
| | == نحوه استفاده == |
| | | این الگو برای [[صفحهٔ اصلی]] طراحی شده و یک سخن تصادفی از میان کل سخنان برگزیده را نمایش میدهد. برای اضاقه کردن سخن جدید به صفحه [[سخن برگزیده]] بروید. |
| -->{{:Feature quote/{{ #expr: {{ #expr: {{#expr: 365 + {{{spread|}}} -
| | <pre>{{سخن برگزیده|تعداد کل سخنان برگزیده}}</pre> |
| {{#switch:{{{1}}}
| | <!-- the spread allows to provide aditional qoutes few places after the current one.--> |
| |1={{ #expr: {{Days in month|1}}-{{Days left in month}} }}
| | [[رده:الگوها]]{{منابع}} |
| |2={{ #expr: {{Days in month|2}}-{{Days left in month}} +31 }}
| | </noinclude> |
| |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 {{{total qoutes|72}}} }} + 1 }}}}<noinclude>
| |
| | |
| === Usage: === | |
| <pre>{{Feature quote|total qoutes=72}}</pre><!-- the spread allows to provide aditional qoutes few places after the current one.--> | |
| [[Category:Templates]]<references /></noinclude> | |