الگو:سخن برگزیده: تفاوت میان نسخهها
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
خط ۳: | خط ۳: | ||
Careful with this template, it's used on the main page! | Careful with this template, it's used on the main page! | ||
-->{{: | -->{{:Feature quote/{{ #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 {{{total qoutes|72}}} }} + 1 }}}}<noinclude> | |||
== | === Usage: === | ||
<pre>{{ | <pre>{{Feature quote|total qoutes=72}}</pre><!-- the spread allows to provide aditional qoutes few places after the current one.--> | ||
[[ | [[Category:Templates]]<references /></noinclude> |
نسخهٔ ۱۵ ژوئیهٔ ۲۰۱۳، ساعت ۱۳:۰۶
{{:Feature quote/خطای عبارت: عملگر < دور از انتظار}}
Usage:
{{Feature quote|total qoutes=72}}