Jump to content

Template:2022 Coolest tool award/doc

From Meta, a Wikimedia project coordination wiki

This can be placed on the pages of the winners of the 2022 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:

{{2022 Coolest tool award|Test tool name|Test category}}
Coolest Tool Award 2022 logo
Test tool name

2022 Coolest Tool
Award Winner

in the category
Test category

Beater variation:

{{2022 Coolest tool award|Test tool name|Test category|type=beater}}
Coolest Tool Award, eggbeater stencil
Test tool name

2022 Coolest Tool
Award Winner

in the category
Test category

No image:

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

2022 Coolest Tool
Award Winner

in the category
Test category

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

{{2022 Coolest tool award|Test tool name|Test category|float=right}}
Coolest Tool Award 2022 logo
Test tool name

2022 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:

{{2022 Coolest tool award|Test tool name|Test category|float=left}}
Coolest Tool Award 2022 logo
Test tool name

2022 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.