跳转到内容

模板:2022 Coolest tool award/doc

来自天灾之下:危险连接资料站
wiki>AKlapper (WMF)2022年11月25日 (五) 22:13的版本 (init)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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

模板参数

参数描述类型状态
Tool1 tool

Name of the tool

默认值
MediaWiki
示例值
MediaWiki
字符串必需
Category2 category

The category the tool won in

默认值
Developer
示例值
Experience
字符串必需
Floatfloat

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

默认值
none
字符串可选
Type of bannertype

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

默认值
logo
示例值
beater, noimage, logo
字符串可选

Test cases

Default banner:

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

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}}

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}}

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}}

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.