সমললৈ যাওক

সাঁচ:Service awards/doc

অসমীয়া ৱিকিপিডিয়াৰ পৰা

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
ParameterDefinition
YearStarting year
MonthStarting month
DayStarting day of month
EditsNumber of user edits

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

Summary of all options

[সম্পাদনা কৰক]
All parameters
ParameterDefinitionDefault Value
AlignAlignment of imageleft
Caption1Message shownThis editor is
Caption2Message shownand is entitled to display this
Caption3Message shown(blank)
DayStarting day of month15
EditsNumber of user edits610553
FormatType of template desiredmedal
MonthStarting month1
PunctuationMessage shown(full stop)
SizeSize of imageframe
YearStarting year2001

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

format= values
Parameter valueFormat
medalMedal image (this is the default)
ubxmedalMedal userbox
bookBook image
ubxbookBook userbox
ribbonRibbon image
hiddenNothing 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 valueAlignment
leftLeft, with text wrapping around the right side
centerCentered
rightRight, 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
ParameterDefinitionDefault Value
Caption1Message on templateThis editor is
Caption2Message on templateand is entitled to display this
Caption3Message on template(blank)
PunctuationMessage 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.