TemplateBox 1.0
A rich library of helpers, services, and base classes for new and existing Windows UWP apps to maximize awesomeness and minimize boilerplate garbage. This library has a companion Visual Studio Extension called 'Template 10 Template Pack'. Boxes also support versioning so that members of your team using Vagrant can update the underlying box easily, and the people who create boxes can push fixes and communicate these fixes efficiently. You can learn all about boxes by reading this page as well as the sub-pages in the navigation to the left. » Discovering Boxes. Jul 29, 2017 1 0. Don't like this video? Sign in to make your opinion count. TemplateBox 21,629 views. Dubai Evolution from 1960 to 2021 Time-lapse - Duration: 4:41.
This topic describes the styles and templates for the CheckBox control. You can modify the default ControlTemplate to give the control a unique appearance. For more information, see Create a template for a control.
CheckBox Parts
The CheckBox control does not have any named parts.
CheckBox States
The following table lists the visual states for the CheckBox control.
VisualState Name | VisualStateGroup Name | Description |
---|---|---|
Normal | CommonStates | The default state. |
MouseOver | CommonStates | The mouse pointer is positioned over the control. |
Pressed | CommonStates | The control is pressed. |
Disabled | CommonStates | The control is disabled. |
Focused | FocusStates | The control has focus. |
Unfocused | FocusStates | The control does not have focus. |
Checked | CheckStates | IsChecked is true . |
Unchecked | CheckStates | IsChecked is false . |
Indeterminate | CheckStates | IsThreeState is true , and IsChecked is null . |
Valid | ValidationStates | The control uses the Validation class and the HasError attached property is false . |
InvalidUnfocused | ValidationStates | The HasError attached property is true has the control has focus. |
InvalidFocused | ValidationStates | The HasError attached property is true has the control does not have focus. |
CheckBox ControlTemplate Example
The following example shows how to define a ControlTemplate for the CheckBox control.
The preceding example uses one or more of the following resources.
For the complete sample, see Styling with ControlTemplates Sample.
See also
This file is from Pixabay, where the creator has released it explicitly under the license Creative Commons Zero (see here).To uploader: Please provide the ID of the file as parameter in the template. Note: On , Pixabay switched the old sitewide license for all uploads from Creative Commons CC0 to the Pixabay license which does not meet the free content licensing requirements for Commons. Therefore, media published on Pixabay from onwards is not considered to be freely licensed and can't be accepted on Commons. Files uploaded to Commons after this date should be subject to careful license review, verifying that the publication date on Pixabay is prior to .
|
This file, which was originally posted to Pixabay, has not yet been reviewed by a reviewer to confirm that the above license is valid. See Category:Unreviewed files from Pixabay for further instructions. |
Template for Media from Pixabay. It adds a license box and sorts the media into an appropriate category.
The template automatically sets the following categories:Images from Pixabay, Videos from Pixabay
Usage
Template Box 1.0 For Pc
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | File-ID | The numerical ID of the file on Pixabay, found at end of web address. If the url is https://pixabay.com/en/coffee-coffee-with-milk-coffee-beans-563800/, then the ID is 563800 . | empty | required |
2 | Video | For videos you must set this parameter to value vid (letter case does not matter). | empty | optional |
status | Status | Use confirmed to confirm the review (by an Administrator or License reviewer), but using template {{PBLR}} is strongly recommended. | empty | optional |
reviewer | Reviewer | The Administrator or License reviewer who reviewed the file. Fill in the reviewer's username, without 'User:'. Instead, using template {{PBLR}} is strongly recommended. | empty | optional |
date | Date | The date in ISO 8601 format when the file was reviewed (by an Administrator or License reviewer). Use {{subst:#time: Y-m-d}} . Note, that using template {{PBLR}} is strongly recommended instead. | empty | optional |
Template data | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard. Existing template documentation Newly created template documentation and imports Discussion Wikipedia's help about TemplateData • Commons-specific information Template for Media from Pixabay. It adds a license box and sorts the media into an appropriate category.
|
Additional information
The template is intended to be used in the following namespaces:the File namespace
The template is intended to be used by the following user groups:no user group specified
Placement:In the 'Permission' parameter of the {{Information}} template (or the respective parameter of similar templates) or in the 'Licensing' section
See also
- {{Pixabay Tags}} for adding related tags
- {{PBLR}} shortcut for License review confirmation
Localization
Deutsch English español hrvatski italiano 日本語 македонски Nederlands polski português slovenščina 中文 +/−
This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Pixabay/layout.
To add your language to the list of languages supported by this template, please copy the code of Template:Pixabay/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.
Notes and examples
License Review |
---|
The files from Pixabay need license review. If you aren't an Administrator or a License reviewer, add the tag with the ID (and the optional vid parameter if apply):
If you're an Administrator or a License reviewer, replace the {{Pixabay}} tag with the shortcut:
|
For adding Pixabay users into the author field you can use a shorter address form without language related part:
[https://pixabay.com/users/example-user/ Example user]
.
In fact, you can always remove the language part. Pixabay will show something according to your browser settings. This behaviour is used in template {{Pixabay}}.
Files with template, but missing the ID, are added to category Files from Pixabay without file-ID provided.
- Same file-ID for image and video, distinction only by parameter 2
- Image:
{{pixabay 123}}
This file is from Pixabay, where the creator has released it explicitly under the license Creative Commons Zero (see here).File ID: 123 Note: On , Pixabay switched the old sitewide license for all uploads from Creative Commons CC0 to the Pixabay license which does not meet the free content licensing requirements for Commons. Therefore, media published on Pixabay from onwards is not considered to be freely licensed and can't be accepted on Commons. Files uploaded to Commons after this date should be subject to careful license review, verifying that the publication date on Pixabay is prior to .
|
This file, which was originally posted to Pixabay, has not yet been reviewed by a reviewer to confirm that the above license is valid. See Category:Unreviewed files from Pixabay for further instructions. |
- Video:
{{pixabay 123 vid}}
This file is from Pixabay, where the creator has released it explicitly under the license Creative Commons Zero (see here).File ID: 123 Note: On , Pixabay switched the old sitewide license for all uploads from Creative Commons CC0 to the Pixabay license which does not meet the free content licensing requirements for Commons. Therefore, media published on Pixabay from onwards is not considered to be freely licensed and can't be accepted on Commons. Files uploaded to Commons after this date should be subject to careful license review, verifying that the publication date on Pixabay is prior to .
|
This file, which was originally posted to Pixabay, has not yet been reviewed by a reviewer to confirm that the above license is valid. See Category:Unreviewed files from Pixabay for further instructions. |
- Videos, letter case of parameter 2 does not matter
{{pixabay 123 vid}}
- See result above.
{{pixabay 321 VID}}
Free Template Box
This file is from Pixabay, where the creator has released it explicitly under the license Creative Commons Zero (see here).File ID: 321 Note: On , Pixabay switched the old sitewide license for all uploads from Creative Commons CC0 to the Pixabay license which does not meet the free content licensing requirements for Commons. Therefore, media published on Pixabay from onwards is not considered to be freely licensed and can't be accepted on Commons. Files uploaded to Commons after this date should be subject to careful license review, verifying that the publication date on Pixabay is prior to .
|
This file, which was originally posted to Pixabay, has not yet been reviewed by a reviewer to confirm that the above license is valid. See Category:Unreviewed files from Pixabay for further instructions. |
{{pixabay 2468 Vid}}
Template Box 1.0 Template
This file is from Pixabay, where the creator has released it explicitly under the license Creative Commons Zero (see here).File ID: 2468 Note: On , Pixabay switched the old sitewide license for all uploads from Creative Commons CC0 to the Pixabay license which does not meet the free content licensing requirements for Commons. Therefore, media published on Pixabay from onwards is not considered to be freely licensed and can't be accepted on Commons. Files uploaded to Commons after this date should be subject to careful license review, verifying that the publication date on Pixabay is prior to .
|
This file, which was originally posted to Pixabay, has not yet been reviewed by a reviewer to confirm that the above license is valid. See Category:Unreviewed files from Pixabay for further instructions. |