টেমপ্লেট:উইকিপদকের নথি: সংশোধিত সংস্করণের মধ্যে পার্থক্য

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
বিষয়বস্তু বিয়োগ হয়েছে বিষয়বস্তু যোগ হয়েছে
সম্পাদনা সারাংশ নেই
বিষয়শ্রেণী
১ নং লাইন: ১ নং লাইন:
<noinclude>
<noinclude>
This template is used to provide generic documentation for most of the [[:Category:Barnstar award templates|barnstar]] templates.
This template is used to provide generic documentation for most of the [[WP:barnstar|barnstar]] templates.


Parameters available are:
Parameters available are:
৯ নং লাইন: ৯ নং লাইন:
*{{para|header}} Used to add any header notes to docs. Add things such as shortcut links here.
*{{para|header}} Used to add any header notes to docs. Add things such as shortcut links here.
*{{para|footer}} Used to add any footer notes to docs.
*{{para|footer}} Used to add any footer notes to docs.
*{{para|usage}} Used to replace the standard ''Usage''-section with a user defined.
*{{para|cat}} Category name (without "Category:"), if it is something more specific than [[:Category:Barnstar award templates|Barnstar award templates]]
**Templates will be added automatically to [[:Category:Barnstar award templates]],
**if the {{para|alt}} is set to ''yes'', they will be added to [[:Category:Barnstars with alternative versions]],
**if the {{para|nocats}} is set to ''yes'', the template will not be added to any categories.

Templates beginning with ''The'' like {{tl|The Jupiter Barnstar}} should include a {{tl|DEFAULTSORT}} (in this case: ''<nowiki>{{DEFAULTSORT:Jupiter Barnstar, The}}</nowiki>'').


</noinclude>{{documentation|content=
</noinclude>{{documentation|content=
১৪ নং লাইন: ২১ নং লাইন:
{{{header|}}}
{{{header|}}}
{{#if:{{{for|}}}|
{{#if:{{{for|}}}|
===Criteria===
==Criteria==


{{{for|}}}
{{{for|}}}
}}
}}
=== ব্যবহার ===
== ব্যবহার ==
{{#if:{{{usage|}}}|{{{usage}}}|
এই টেমপ্লেটটি ব্যবহার করতে, <code><nowiki>{{subst:</nowiki>{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{PAGENAME}}|{{FULLPAGENAME}}}}{{#ifeq:{{{nomessage|}}}|yes||<nowiki>|</nowiki>আপনার বার্তা এখানে লিখুন{{#ifeq:{{{autosign|}}}|yes||&#32;<nowiki>~~~~</nowiki>}}}}<nowiki>}}</nowiki></code> যে ব্যবহারকারীকে এই পদকটি দেওয়া হবে তার আলাপ পাতায় এটি যোগ করুন।
এই টেমপ্লেটটি ব্যবহার করতে, <code><nowiki>{{subst:</nowiki>{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{PAGENAME}}|{{FULLPAGENAME}}}}{{#ifeq:{{{nomessage|}}}|yes||<nowiki>|</nowiki>আপনার বার্তা এখানে লিখুন{{#ifeq:{{{autosign|}}}|yes||&#32;<nowiki>~~~~</nowiki>}}}}<nowiki>}}</nowiki></code> যে ব্যবহারকারীকে এই পদকটি দেওয়া হবে তার আলাপ পাতায় এটি যোগ করুন।


{{#ifeq:{{{alt|}}}|yes
{{#ifeq:{{{alt|}}}|yes
|This barnstar has an alternate version.<br>To use, add <code><nowiki>|alt</nowiki></code> to the end:
|This barnstar has an alternate version.<br />To use, add <code><nowiki>|alt</nowiki></code> to the end:
<code><nowiki>{{subst:</nowiki>{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{PAGENAME}}|{{FULLPAGENAME}}}}<nowiki>|</nowiki>put your message here{{#ifeq:{{{autosign|}}}|yes||&#32;<nowiki>~~~~</nowiki>}}<nowiki>|alt}}</nowiki></code><br>
<code><nowiki>{{subst:</nowiki>{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{BASEPAGENAME}}|{{FULLPAGENAME}}}}<nowiki>|</nowiki>put your message here{{#ifeq:{{{autosign|}}}|yes||&#32;<nowiki>~~~~</nowiki>}}<nowiki>|alt}}</nowiki></code><br>
Which produces:
Which produces:
{{{{FULLPAGENAME}}|message <nowiki>~~~~</nowiki>|alt}}
{{{{FULLPAGENAME}}|message <nowiki>~~~~</nowiki>|alt}}
[[Category:Barnstars with alternative versions]]
}}
}}
}}
{{{footer|}}}
{{{footer|}}}
৩৬ নং লাইন: ৪৬ নং লাইন:
|<br/>This template is [[WP:PROTECT|fully protected]] and any [[WP:CAT|categories]] and [[WP:ILL|interlanguage links]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Category_interwiki/preload}} /doc] subpage, which is not protected.
|<br/>This template is [[WP:PROTECT|fully protected]] and any [[WP:CAT|categories]] and [[WP:ILL|interlanguage links]] should be added to the template's [{{fullurl:{{FULLPAGENAME}}/doc|action=edit&preload=Template:Category_interwiki/preload}} /doc] subpage, which is not protected.
}}
}}
}}<noinclude>
}}<includeonly>
{{#ifeq:{{{nocats|no}}}|yes||{{#ifeq:{{{alt|}}}|yes|[[Category:Barnstars with alternative versions]]|[[Category:{{{cat|Barnstar award templates}}}]]}}}}
[[Category:Template documentation]]
</includeonly><noinclude>
[[বিষয়শ্রেণী:টেমপ্লেট ডকুমেন্ট]]
[[বিষয়শ্রেণী:ফরম্যাটিং ও ফাংশন উইকিপিডিয়া টেমপ্লেট]]
</noinclude>
</noinclude>

১০:৫৪, ১২ মে ২০১২ তারিখে সংশোধিত সংস্করণ

This template is used to provide generic documentation for most of the barnstar templates.

Parameters available are:

  • |for= Used to briefly describe what the award is for.
  • |alt= set to yes if there is an alt parameter which is used to show an alternative image.
  • |nomessage= set to yes if there is not any option to customise the awards message.
  • |autosign= set to yes if the template automatically signs the message.
  • |header= Used to add any header notes to docs. Add things such as shortcut links here.
  • |footer= Used to add any footer notes to docs.
  • |usage= Used to replace the standard Usage-section with a user defined.
  • |cat= Category name (without "Category:"), if it is something more specific than Barnstar award templates

Templates beginning with The like {{The Jupiter Barnstar}} should include a {{DEFAULTSORT}} (in this case: {{DEFAULTSORT:Jupiter Barnstar, The}}).

টেমপ্লেট নথি

ব্যবহার

এই টেমপ্লেটটি ব্যবহার করতে, {{subst:উইকিপদকের নথি|আপনার বার্তা এখানে লিখুন ~~~~}} যে ব্যবহারকারীকে এই পদকটি দেওয়া হবে তার আলাপ পাতায় এটি যোগ করুন।