সাঁচ:Service awards/doc

অসমীয়া ৱিকিপিডিয়াৰ পৰা
Jump to navigation Jump to search


Usage[সম্পাদনা কৰক]

Basic usage[সম্পাদনা কৰক]

To display the template, just place {{service awards|year=[year]|month=[month]|day=[day]|edits=[edits]}} on the relevant page where the item in squared brackets is replaced by the relevant value. These parameters are required, and should not be omitted.

Required parameters
Parameter Definition
Year Starting year
Month Starting month
Day Starting day of month
Edits Number of user edits

{{service awards|year=1995|month=1|day=15|edits=2000000}} এক্সপ্ৰেছন ত্ৰুটী: অবাঞ্চিত < অপাৰেটৰ


Summary of all options[সম্পাদনা কৰক]

All parameters
Parameter Definition Default Value
Align Alignment of image left
Caption1 Message shown This editor is
Caption2 Message shown and is entitled to display this
Caption3 Message shown (blank)
Day Starting day of month 15
Edits Number of user edits 210458
Format Type of template desired medal
Month Starting month 1
Punctuation Message shown (full stop)
Size Size of image frame
Year Starting year 2001

Display format[সম্পাদনা কৰক]

The format parameter is used to specify the type of template displayed.

format= values
Parameter value Format
medal Medal image (this is the default)
ubxmedal Medal userbox
book Book image
ubxbook Book userbox
ribbon Ribbon image
hidden Nothing displayed

{{service awards|year=1995|month=1|day=15|edits=2000000|format=medal}} এক্সপ্ৰেছন ত্ৰুটী: অবাঞ্চিত < অপাৰেটৰ


{{service awards|year=1995|month=1|day=15|edits=2000000|format=book}} এক্সপ্ৰেছন ত্ৰুটী: অবাঞ্চিত < অপাৰেটৰ


{{service awards|year=1995|month=1|day=15|edits=2000000|format=ubxmedal}} এক্সপ্ৰেছন ত্ৰুটী: অবাঞ্চিত < অপাৰেটৰ


{{service awards|year=1995|month=1|day=15|edits=2000000|format=ubxbook}} এক্সপ্ৰেছন ত্ৰুটী: অবাঞ্চিত < অপাৰেটৰ


{{service awards|year=1995|month=1|day=15|edits=2000000|format=ribbon}} এক্সপ্ৰেছন ত্ৰুটী: অবাঞ্চিত < অপাৰেটৰ


Image alignment and size[সম্পাদনা কৰক]

The align parameter is used to specify the location of the template. The size parameter is used to specify whether to include the frame and caption. Add "size=frameless" to display just the picture on its own if this is desired; otherwise leave out the parameter so the frame and caption will be included.

Note: the align parameter is used only in the medal, book and ribbon formats and the size parameter is used only in the medal and book formats. They will have no effect on the other formats and therefore these parameters should be left out (not blank) if other formats are selected.

align= values
Parameter value Alignment
left Left, with text wrapping around the right side
center Centered
right Right, with text wrapping around the left side

{{service awards|year=1995|month=1|day=15|edits=2000000|align=left}} এক্সপ্ৰেছন ত্ৰুটী: অবাঞ্চিত < অপাৰেটৰ


{{service awards|year=1995|month=1|day=15|edits=2000000|align=center}} এক্সপ্ৰেছন ত্ৰুটী: অবাঞ্চিত < অপাৰেটৰ


{{service awards|year=1995|month=1|day=15|edits=2000000|align=right}} এক্সপ্ৰেছন ত্ৰুটী: অবাঞ্চিত < অপাৰেটৰ


Caption customisation[সম্পাদনা কৰক]

The caption on the template can be customised using these parameters. The caption has two auto updating sections: one for the editor's title and one for the editor's award. The three caption parameters specify the text either side of these auto updating sections and the punctuation parameter specifies what punctuation character to use at the end of the caption.

Caption customisation parameters
Parameter Definition Default Value
Caption1 Message on template This editor is
Caption2 Message on template and is entitled to display this
Caption3 Message on template (blank)
Punctuation Message on template (full stop)

Example:

{{service awards
 | year=1995
 | month=1
 | day=15
 | edits=2000000
 | caption1=Hello everyone, I'm
 | caption2=and I'm now going to show off my
 | caption3=to the whole world
 | punctuation=!!!}}

Gives: এক্সপ্ৰেছন ত্ৰুটী: অবাঞ্চিত < অপাৰেটৰ

Note: the caption and punctuation parameters will have no effect on the ribbon format and therefore these parameters should be left out (not blank) if this format is selected.

See also[সম্পাদনা কৰক]