Template:2021 Coolest tool award/doc

From mediawiki.org

This can be placed on the pages of the winners of the 2021 Coolest Tool Award.

Template parameters

ParameterDescriptionTypeStatus
Tool1 tool

Name of the tool

Default
MediaWiki
Example
MediaWiki
Stringrequired
Category2 category

The category the tool won in

Default
Developer
Example
Experience
Stringrequired
Floatfloat

Side of the page to float the box to (left, right, none)

Default
none
Stringoptional
Type of bannertype

Depending on the type of banner, a different image or styles may show up

Default
logo
Example
beater, noimage, logo
Stringoptional

Test cases[edit]

Default banner:

{{2021 Coolest tool award|Test tool name|Test category}}

Test tool name

2021 Coolest Tool
Award Winner

in the category
Test category


Beater variation:

{{2021 Coolest tool award|Test tool name|Test category|type=beater}}

Test tool name

2021 Coolest Tool
Award Winner

in the category
Test category


No image:

{{2021 Coolest tool award|Test tool name|Test category|type=noimage}}

Test tool name

2021 Coolest Tool
Award Winner

in the category
Test category


Now, we are going to change the alignment to the right:

{{2021 Coolest tool award|Test tool name|Test category|float=right}}

Test tool name

2021 Coolest Tool
Award Winner

in the category
Test category


This is a test paragraph for right alignment. This is a test paragraph for right alignment. This is a test paragraph for right alignment. This is a test paragraph for right alignment. This is a test paragraph for right alignment. This is a test paragraph for right alignment. This is a test paragraph for right alignment. This is a test paragraph for right alignment. This is a test paragraph for right alignment. This is a test paragraph for right alignment. This is a test paragraph for right alignment. This is a test paragraph for right alignment. This is a test paragraph for right alignment. This is a test paragraph for right alignment. This is a test paragraph for right alignment.

Now, we are going to change the alignment to the left:

{{2021 Coolest tool award|Test tool name|Test category|float=left}}

Test tool name

2021 Coolest Tool
Award Winner

in the category
Test category


This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment. This is a test paragraph for left alignment.