แม่แบบ:Subst only

Subst: When used as a barnstar on a user talk page, this template should be substituted. When used in documentation or as a demonstration, it need not be.

Required:

  • R1S1=File:Filename.jpg, filename of first barnstar on first/only row.
  • message=Your message. Be sure to add ~~~~/

Optional:

  • size=Size of barnstars, defaults to 100px. px is required.
First row parameters
  • R1H1=Hover text for first barnstar on first/only row. Recommend barnstar name, with optional specific reason for this barnstar. Hover text defaults to the barnstar filename.
  • R1S2=File:Filename.jpg, filename of second barnstar on first/only row.
  • R1H2=Hover text for second barnstar on first/only row.
  • R1S3=File:Filename.jpg, filename of third barnstar on first/only row.
  • R1H3=Hover text for third barnstar on first/only row.
Second row parameters. If these are used, set size=50px.
  • R2S1=File:Filename.jpg, filename of first barnstar on second row.
  • R2H1=Hover text for second barnstar on second row.
  • R2S2=File:Filename.jpg, filename of second barnstar on second row.
  • R2H2=Hover text for second barnstar on second row.
  • R2S3=File:Filename.jpg, filename of third barnstar on second row.
  • R2H3=Hover text for third barnstar on second row.

Basic: 1 star, default size=100px, default image hover text.

File:Original Barnstar Hires.svg
ดาวเกียรติยศหลายดวง
{{{สาร}}}

Three across: slightly smaller, with custom hover text.

The Original Barnstar The Editor's Barnstar The Working Man's Barnstar
ดาวเกียรติยศหลายดวง
{{{สาร}}}

Grid of 4: 1/4 size, default hover text.

File:Original Barnstar Hires.svg File:Editors_Barnstar.png
File:Random Acts of Kindness Barnstar.png File:Barnstar of Diligence.png
ดาวเกียรติยศหลายดวง
{{{สาร}}}

Grid of 6: 1/4 size, with custom hover text.

Type:

{{subst:The Multiple Barnstar
|size=50
|R1S1=File:Team_Barnstar.png
|R1H1=The Teamwork Barnstar
|R1S2=File:Editors_Barnstar.png
|R1H2=The Editor's Barnstar
|R1S3=File:Working Wikimedian's Barnstar.png
|R1H3=The Working Man's Barnstar
|R2S1=File:Random Acts of Kindness Barnstar.png
|R2H1=The Random Acts of Kindness Barnstar
|R2S2=File:Barnstar of Diligence.png
|R2H2=The Barnstar of Diligence
|R2S3=File:Tireless Contributor Barnstar.gif
|R2H3=The Tireless Contributor Barnstar
|message=Six barnstars for everyone who worked on eliminating the backlog.  Good work, team. ~~~~
}}

Result:

The Teamwork Barnstar The Editor's Barnstar The Working Man's Barnstar
The Random Acts of Kindness Barnstar The Barnstar of Diligence The Tireless Contributor Barnstar
The Multiple Barnstar
Six barnstars for everyone who worked on eliminating the backlog. Good work, team. Sign here please

ดูเพิ่ม

แก้ไข