টেমপ্লেট:অগ্রগতি: সংশোধিত সংস্করণের মধ্যে পার্থক্য

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
বিষয়বস্তু বিয়োগ হয়েছে বিষয়বস্তু যোগ হয়েছে
+
হালনাগাদ করা হল
 
১ নং লাইন: ১ নং লাইন:
<includeonly>{| style="width:{{#if:{{{width|}}}|{{{width|}}}|50%}}; margin: 0 auto; background: transparent"
<includeonly><templatestyles src="অগ্রগতি/শৈলী.css/><table role="presentation" class="progression" {{#if:{{{width|}}}|style="width: {{{width}}}"}}>
<tr>
| style="text-align:center;" |{{#if:{{{task|}}}|{{{task|}}}:&nbsp;}}{{big|'''{{formatnum:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}round 1}}|0}}}}%'''}} সম্পূর্ণ
<td class="progression-header">{{#if:{{{task|}}}|{{{task|}}}:&#32;}}<span>{{formatnum:{{#if:{{{1|0}}}|{{#expr:100*{{{1|0}}}/{{{2|{{{total|100}}}}}}round 1}}}}}}%</span> সম্পূর্ণ
|-
</td></tr>
|
<tr><td><table role="presentation" class="progression-bar">
{|style="border:1px solid grey; height:10px; width:100%; border-spacing: 1px;"
{{#ifeq:{{#if:{{{1|}}}|{{{1}}}|0}}|0| | {{!}}style="background: #5FDB00; width: {{#ifexpr:({{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}}}|0}}<1)|1%|{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}round 1}}|0}}%}}"{{!}} }}
<tr>{{#ifeq:{{{1|0}}}|0| |<td class="progression-done" {{#ifexpr:({{#if:{{{1|0}}}|{{#expr:100*{{{1|0}}}/{{{2|{{{total|100}}}}}}}}}}<1)|style="width: 1%"|{{#if:{{{1|0}}}|style="width: {{#expr:100*{{{1|0}}}/{{{2|{{{total|100}}}}}}round 1}}}}%"}}></td>}}{{#ifeq:{{#if:{{{1|0}}}|{{#expr:100*{{{1|0}}}/{{{2|{{{total|100}}}}}}}}}}|100||<td class="progression-undone"></td>}}
</tr></table></td></tr></table></includeonly><noinclude>
{{#ifeq:{{#if:{{{1|}}}|{{#expr:100*{{{1}}}/{{{2|{{{total|100}}}}}}}}|0}}|100|| {{!}}style="background: #E2E2E2;" {{!}} }}
{{নথি}}
|}
|}</includeonly><noinclude>{{documentation}}</noinclude>
</noinclude>

১৮:২৭, ৮ নভেম্বর ২০২০ তারিখে সম্পাদিত সর্বশেষ সংস্করণ

টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

বাক্য গঠন[সম্পাদনা]

{{Progression|percent}}

The percent is a number between 0 and 100, without the trailing %.

{{Progression|param1|param2}}

Calculates the progression as a function of param1/param2

{{Progression|param1|param2|task=param3}}

Calculates the progression as a function of param1/param2, and displays a task label on the bar.

উদাহরণ[সম্পাদনা]

১ প্যারামিটার (শতাংশ)[সম্পাদনা]

{{Progression|0}} :

{{Progression|0.5}} :

{{Progression|1}} :

{{Progression|36.7}} :

{{Progression|100}} :

২ প্যারামিটার[সম্পাদনা]

{{Progression|0|250}} :

{{Progression|100|250}} :

{{Progression|200|300}} :

{{Progression|300|300}} :

৩ প্যারামিটার[সম্পাদনা]

{{Progression|0|250|task=Sorting articles}} :

{{Progression|100|250|task=Sorting articles}} :