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

از دانشنامه نغمه ای از یخ و آتش
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
خط ۱: خط ۱:
<!--
{{:سخن برگزیده/{{ #expr: {{ #expr: {{#expr: 365 + {{{spread|}}} -   
 
  Careful with this template, it's used on the main page!
 
-->{{:Feature quote/{{ #expr: {{ #expr: {{#expr: 365 + {{{spread|}}} -   
{{#switch:{{{1}}}
{{#switch:{{{1}}}
  |1={{ #expr: {{Days in month|1}}-{{Days left in month}} }}
  |1={{ #expr: {{Days in month|1}}-{{Days left in month}} }}
خط ۱۸: خط ۱۴:
  |12={{ #expr: {{Days in month|12}}-{{Days left in month}} +334 }}
  |12={{ #expr: {{Days in month|12}}-{{Days left in month}} +334 }}
  |{{Template:Day in year|{{CURRENTMNTH}}}}
  |{{Template:Day in year|{{CURRENTMNTH}}}}
}}}} mod {{{total qoutes|72}}} }} + 1 }}}}<noinclude>
}}}} mod {{{تعداد|2}}} }} + 1 }}}}
<noinclude>


=== Usage: ===
== نحوه استفاده ==
<pre>{{Feature quote|total qoutes=72}}</pre><!-- the spread allows to provide aditional qoutes few places after the current one.-->
<pre>{{سخن برگزیده|تعداد=72}}</pre>
[[Category:Templates]]<references /></noinclude>
<!-- the spread allows to provide aditional qoutes few places after the current one.-->
[[رده:الگوها]]{{منابع}}
</noinclude>

نسخهٔ ‏۱۵ ژوئیهٔ ۲۰۱۳، ساعت ۱۴:۱۰

{{:سخن برگزیده/خطای عبارت: عملگر < دور از انتظار}}


نحوه استفاده

{{سخن برگزیده|تعداد=72}}