Template:2021 Coolest tool award: Difference between revisions
[[mw:]]>AKlapper (WMF) (Import from https://meta.wikimedia.org/wiki/Template:2021_Coolest_tool_award) |
ManfredoDo (talk | contribs) m (1 revision imported: Template documentation pages) |
(No difference)
|
Latest revision as of 18:06, 12 November 2022
This can be placed on the pages of the winners of the 2021 Coolest Tool Award.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Tool | 1 tool | Name of the tool
| String | required |
Category | 2 category | The category the tool won in
| String | required |
Float | float | Side of the page to float the box to (left, right, none)
| String | optional |
Type of banner | type | Depending on the type of banner, a different image or styles may show up
| String | optional |
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}}
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.