跳转到内容

模板:2020 Coolest tool award

来自天灾之下:危险连接资料站
wiki>Pppery2025年2月28日 (五) 04:22的版本 (Reverted edits by 113.162.249.10 (talk) to last version by JHernandez (WMF))
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
模板文档

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

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


Beater variation:

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

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


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


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.