Template:2020 Coolest tool award

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Coolest Tool Award 2020 square logo.svg

NameOfTool

2020 Coolest Tool
Award Winner

in the category
NameOfCategory

Template documentation

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

{{2020 Coolest tool award|Test tool name|Test category}}
Coolest Tool Award 2020 square logo.svg

Test tool name

2020 Coolest Tool
Award Winner

in the category
Test category


Beater variation:

{{2020 Coolest tool award|Test tool name|Test category|type=beater}}
Eggbeater stencil narrow - Teal.svg

Test tool name

2020 Coolest Tool
Award Winner

in the category
Test category


No image:

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

Test tool name

2020 Coolest Tool
Award Winner

in the category
Test category


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

{{2020 Coolest tool award|Test tool name|Test category|float=right}}
Coolest Tool Award 2020 square logo.svg

Test tool name

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

{{2020 Coolest tool award|Test tool name|Test category|float=left}}
Coolest Tool Award 2020 square logo.svg

Test tool name

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