Template:2020 Coolest tool award/doc
This is a documentation subpage for Template:2020 Coolest tool award. It may contain usage information, categories and other content that is not part of the original template page. |
This can be placed on the pages of the winners of [[:meta:Coolest Tool Award]] 2020.
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
[edit]This is the template test cases page for the sandbox of Template:2020 Coolest tool award. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Default banner:
{{2020 Coolest tool award|Test tool name|Test category}}
Beater variation:
{{2020 Coolest tool award|Test tool name|Test category|type=beater}}
No image:
{{2020 Coolest tool award|Test tool name|Test category|type=noimage}}
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.