跳转到内容

模板:2021 Coolest tool award/doc

来自天灾之下:危险连接资料站
wiki>AKlapper (WMF)2022年1月10日 (一) 20:21的版本 (Import from https://meta.wikimedia.org/wiki/Template:2021_Coolest_tool_award/doc)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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

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


Beater variation:

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


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


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


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.