ผลต่างระหว่างรุ่นของ "แม่แบบ:Barnstar documentation"

จากวิกิพีเดีย สารานุกรมเสรี
เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Potapt (คุย | ส่วนร่วม)
ย้อนการแก้ไขที่ 8375588 สร้างโดย 180.180.6.172 (พูดคุย)
ป้ายระบุ: ทำกลับ
ไม่มีความย่อการแก้ไข
บรรทัด 29: บรรทัด 29:
== Criteria ==
== Criteria ==
{{{for|}}}}}
{{{for|}}}}}
== Usage ==
== วิธีใช้ ==
{{#if:{{{usage|}}}|{{{usage}}}|
{{#if:{{{usage|}}}|{{{usage}}}|
To use this template, add <code><nowiki>{{subst:</nowiki>{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{BASEPAGENAME}}|{{FULLPAGENAME}}}}{{#ifeq:{{{nomessage|}}}|yes||<nowiki>|1=</nowiki><var>Put your message here.</var>{{#ifeq:{{{autosign|}}}|yes||&#32;<nowiki>~~~~</nowiki>}}}}<nowiki>}}</nowiki></code>
วิธีมอบรางวัลให้ใส่ <code><nowiki>{{subst:</nowiki>{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{BASEPAGENAME}}|{{FULLPAGENAME}}}}{{#ifeq:{{{nomessage|}}}|yes||<nowiki>|1=</nowiki><var>Put your message here.</var>{{#ifeq:{{{autosign|}}}|yes||&#32;<nowiki>~~~~</nowiki>}}}}<nowiki>}}</nowiki></code>
ลงในหน้าพูดคุยของผู้ใช้ที่คุณต้องการมอบรางวัลให้
to the talk page of the user to whom you wish to award it.


{{#ifeq:{{{alt|}}}|yes
{{#ifeq:{{{alt|}}}|yes

รุ่นแก้ไขเมื่อ 16:30, 20 มีนาคม 2564

Documentation icon คู่มือการใช้งานแม่แบบ

Purpose

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

Parameters available

  • |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}}).

Usage (of this template)

  • Like the general {{Documentation}} template, place {{Barnstar documentation}} between <noinclude> tags below the barnstar template code. Be sure to place the first tag, <noinclude> (the opening tag), after the very last code of the barnstar template. If the opening tag is placed on its own line below the template code, then it will introduce undesirable whitespace below the end-product barnstar template.
  • The "Usage" header below and the text (code) beneath it will be included in the barnstar documentation under that header unless altered by the usage= parameter.


วิธีใช้

วิธีมอบรางวัลให้ใส่ {{subst:Barnstar documentation|1=Put your message here. ~~~~}} ลงในหน้าพูดคุยของผู้ใช้ที่คุณต้องการมอบรางวัลให้