پرش به محتوا

الگو:سخن برگزیده: تفاوت میان نسخه‌ها

بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
خط ۳: خط ۳:
   Careful with this template, it's used on the main page!  
   Careful with this template, it's used on the main page!  


-->{{:سخن برگزیده/{{ #expr: {{ #expr: {{#expr: 365 + {{{spread|}}} - 
-->{{:سخن برگزیده/{{rand|2}}}}<noinclude>
{{#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.-->
<pre>{{سخن برگزیده|تعداد=72}}</pre><!-- the spread allows to provide aditional qoutes few places after the current one.-->
[[رده:الگوها]]{{منابع}}</noinclude>
[[رده:الگوها]]{{منابع}}</noinclude>