Tɛmplet:Conditional yes
This template inserts a dashed green check mark inline in the text.
The tick image defaults to 20px in size. To change the size, call with a pixel value as an argument, such as:
- {{Conditional yes|30}}
TemplateData mali niŋ
This tɛmplet needs to be updated. Please help update this tɛmplet to reflect recent events or newly available information. |
- Main page
- Feedback at MediaWiki or local feedback
- Sandbox (no account required)
- Why are the developers building this?
- Documentation:
- Development:
- Customization
- Known problems
- Requests for Comments (RfCs): Jul 2013 a, Jul 2013 b, Jul 2015, Sep 2015
What is template data? mali niŋ
Template data is the standardized description of a template, used by the default VisualEditor, the optional 2017 wikitext editor and other tools to improve the template-editing experience for the user. Both VisualEditor and the 2017 wikitext editor include a wizard to edit templates, but for the wizard to be most useful, it needs to present specific information to the user about each template, such as a short description of the template's purpose and its parameters. This information is codified formally (by any wiki editor) using template data.
Editing without template data mali niŋ
Without template data, each parameter needs to be added manually when inserting a new template.
No information is provided about what the value of the parameter should be.
Editing with template data mali niŋ
With template data, a list of supported parameters (and their description) is provided for the template.
Template data provides context for each parameter, and makes it much easier for users to modify templates.
Adding template data mali niŋ
Anyone can help by adding template data to templates (particularly high-profile ones, such as infoboxes) so that they are easier to edit in VisualEditor. The following is a minimal example, placed on a template's documentation page:
<templatedata>{
"description": "insert description here",
"params": {
"first parameter": {
"label": "x",
"description": "x",
"type": "string",
"suggested": true,
"autovalue": "derived automatic value",
"default": "default value",
"required": false
}
}
}</templatedata>
You can also add or edit template data using a GUI, by pressing the following button which appears at the top of the edit page:
The template data tutorial explains in detail how to add template data information to a template.
Adding suggested values for parameters mali niŋ
The parameter property suggestedvalues
lets you define a list of parameter values to be shown to VisualEditor users in a dropdown for easy selection. This can be done either directly in JSON or using the TemplateData editor with no coding required. Both methods are explained in detail below.
Once the values have been added to template data, the VisualEditor will display them in a combo box (a dropdown into which users can also enter a custom value). The user selects the desired value by clicking on it. If the list of values is long - for example, a list of a country’s states - the user can begin typing in the field, whereupon the list will be filtered to show only values containing the typed text. To change an entered value, the user must simply clear the field, and the full dropdown list will appear again. If the user needs a value not included in the list (for example, "message in a bottle") they can type it in manually.
For suggested values to be displayed in the VisualEditor, the parameter’s type must be set to one of the following options:
- content
- line
- string
- number
- unknown
- unbalanced wikitext.
Other types (file, page, template, user, date, boolean, URL) are not currently supported because they have special functionalities in the VisualEditor already (such as autocomplete) which would interfere with the dropdown menu for suggested values in the VisualEditor.
Adding suggested values for parameters in wikitext mali niŋ
To add suggested values to any parameter type, add the new property “suggestedvalues
” to the parameter in JSON. The “suggestedvalues” attribute must be a list of strings.
An example might look like this:
"media_type": {
"label": "Type of media",
"example": "Newspaper",
"type": "string",
"description": "In what medium was the article published?",
"suggestedvalues": [
"Journal",
"Book",
"Newspaper",
"Magazine"
]
}
Adding suggested values for parameters with the template data editor mali niŋ
For the parameter types listed above, you can add suggested values using the template data editor.
Step 1. Click on "Manage TemplateData".
Step 2. Click on the name of the parameter you want to add suggested values to.
Step 3. If it’s not already, set the type of the parameter to one of the following: content, line, string, number, unknown or unbalanced wikitext. A new input field "Suggested values" will appear. If the parameter is already set to one of these types, the input field should already be visible.
Step 4. Type in the suggested value(s), including any spaces and special characters, and press enter to add it to the list.
Here you can see an example of how to add suggested values in the TemplateData editor.
Used templates mali niŋ
See also mali niŋ
- Wikipedia:VisualEditor/TemplateData/List A list of all pages with template data
A template that inserts a dashed green check mark inline in the text
Parameter | Description | Type | Status | |
---|---|---|---|---|
Size | 1 | Sets the size of the tick mark
| Number | optional |
See also mali niŋ
Check marks | Cross marks | ||
---|---|---|---|
{{tick}} = {{tick|20}} {{tick|colour=purple}} {{tick|color=cyan}} {{check mark}} |
{{cross}} = {{cross|20}} {{Cross|colour=orange}} {{Cross|color=black}} |
||
{{aye}} and {{Y}} | Tɛmplet:Aye | {{nay}} and {{N}} | |
{{ya}} | {{na}} | ||
{{yan}} | {{nan}} | ||
{{check mark-n}} | {{x mark-n}} | Tɛmplet:X mark-n | |
{{y&}} | Tɛmplet:Y& | {{n&}} | Tɛmplet:N& |
{{Chk}} | Tɛmplet:Chk | ||
{{yeac}} | {{nayc}} | Tɛmplet:Nayc | |
{{yeag}} | Tɛmplet:Yeag | {{nayg}} | Tɛmplet:Nayg |
{{Mby}} | Tɛmplet:Mby | {{nayd}} | Tɛmplet:Nayd |
{{checked box}} {{ticked box}} |
Tɛmplet:Checked box | {{unchecked box}} {{unticked box}} |
Tɛmplet:Unchecked box |
{{xed box}} | Tɛmplet:Xed box | {{unexed box}} | Tɛmplet:Unexed box |
{{question mark box}} | Tɛmplet:Question mark box | ||
Other marks | |||
{{n.b.}} | Tɛmplet:N.b. | {{hmmm}} | Tɛmplet:Hmmm |
{{bang}} | Tɛmplet:Bang | {{idkc}} | Tɛmplet:Idkc |
Most of the templates above are fully sortable in a class="sortable" table (each check mark is assigned an undisplayed "Y" and each cross mark an undisplayed "N").
|
Inline icon templates by shape and color mali niŋ
Any of the following inline, comment-level templates can be converted into {{Resolved}}-style hatnotes by using {{Resbox}} to put a box around the icon and text.
Green check marks | |
Implemented | {{Implemented}} |
Partially implemented | {{PImplemented}} |
Resolved | {{Resolved mark}} |
Accepted | {{Accepted}} |
Agree | {{Agree}} |
Approved | {{Approved}} |
Checked | {{Checked2}} |
Verified | {{Verified}} |
{{Conditional yes}} | |
Confirmed | {{Confirmed}} |
Confirmed with respect to the named user(s). No comment with respect to IP address(es). | {{Confirmed-nc}} |
Technically indistinguishable | {{Tallyho}} |
{{Tick}} | |
Helped | {{Helped}} |
Done | {{Done}} |
Completed | {{Edited2}} |
Task complete. | {{Donetask}} |
Done – as a contested proposed deletion, the article has been restored on request. | {{Unprod}} |
Answered on user's talk page. | {{Autp}} |
Responded at the appropriate venue. | {{Responded}} |
Tɛmplet:Sure | {{Sure}} |
Tɛmplet:Merge done | {{Merge done}} |
Tɛmplet:Marked | {{Marked}} |
Tɛmplet:Pass | {{Pass}} |
Tɛmplet:Aye | {{Aye}} |
Yes | {{Yes check}} |
Tɛmplet:Y& | {{Y&}} |
{{Yeac}} | |
Tɛmplet:Yeag | {{Yeag}} |
Cross marks | |
{{Xmark}} | |
Tɛmplet:Expired | {{Expired}} |
Tɛmplet:Deleted | {{Deleted}} |
{{Not done}} | |
Tɛmplet:Not done empty request | {{Not done empty request}} |
Tɛmplet:Not done unclear | {{Not done unclear}} |
Tɛmplet:Not done not likely | {{Not done not likely}} |
Tɛmplet:Stale-small | {{Stale-small}} |
Tɛmplet:Smallrejected | {{Smallrejected}} |
Tɛmplet:X mark | {{X mark}} |
{{Nay}} | |
No | {{No mark}} |
Tɛmplet:Not done-t | {{Not done-t}} |
Tɛmplet:Fail | {{Fail}} |
Tɛmplet:N& | {{N&}} |
Tɛmplet:X mark-n | {{X mark-n}} |
Tɛmplet:Xed box | {{Xed box}} |
Tɛmplet:Cancelled | {{Cancelled}} |
Deleted | {{Deleted-image}} |
Tɛmplet:Already declined | {{Already declined}} |
Tɛmplet:Opblocked | {{Opblocked}} |
Tɛmplet:User-blocked | {{User-blocked}} |
Tɛmplet:Notabug | {{Notabug}} |
Tɛmplet:Notfixed | {{Notfixed}} |
Tɛmplet:Won't fix | {{Won't fix}} |
Tɛmplet:Withdraw | {{Withdraw}} |
Tɛmplet:Nojoy | {{Nojoy}} |
Tɛmplet:Unrelated | {{Unrelated}} |
Tɛmplet:Off-topic talk | {{Off-topic talk}} |
Tɛmplet:Nayc | {{Nayc}} |
Tɛmplet:Nayg | {{Nayg}} |
Black check marks | |
Tɛmplet:Already done | {{Already done}} |
Tɛmplet:Resolved1 | {{Resolved1}} |
{{Check mark-n}} | |
Tɛmplet:Checked | {{Checked}} |
Tɛmplet:Checked box | {{Checked box}} |
Yellow check marks | |
Tɛmplet:Half done | {{Half done}} |
Tɛmplet:Partly done | {{Partly done}} |
Blue check marks | |
Tɛmplet:Semi-done | {{Semi-done}} |
Tɛmplet:Go ahead | {{Go ahead}} |
Tɛmplet:Fixed | {{Fixed}} |
Tɛmplet:Fixed by reporter | {{Fixed by reporter}} |
Tɛmplet:Bug pending | {{Bug pending}} |
Tɛmplet:Bug resolved | {{Bug resolved}} |
Tɛmplet:Blockedandtagged | {{Blockedandtagged}} |
Blocked without tags Italic text | {{Blockedwithouttags}} |
Tɛmplet:Socks tagged | {{Socks tagged}} |
Tɛmplet:No tags | {{No tags}} |
Tɛmplet:Ipbedone | {{Ipbedone}} |
Tɛmplet:IPblock | {{IPblock}} |
Tɛmplet:Pblock | {{Pblock}} |
Tɛmplet:Psblock | {{Psblock}} |
Tɛmplet:Rblock | {{Rblock}} |
Tɛmplet:Action and close | {{Action and close}} |
Tɛmplet:Blockedtaggedclosing | {{Blockedtaggedclosing}} |
Minus sign | |
Tɛmplet:Close | {{Close}} |
Tɛmplet:Denied | {{Denied}} |
Tɛmplet:Disagree | {{Disagree}} |
Tɛmplet:Unapproved | {{Unapproved}} |
Tɛmplet:NotBug | {{NotBug}} |
Tɛmplet:Duplicate bug | {{Duplicate bug}} |
Tɛmplet:Invalid | {{Invalid}} |
Tɛmplet:Declined | {{Declined}} |
Tɛmplet:No action | {{No action}} |
Tɛmplet:Nocomment | {{Nocomment}} |
Tɛmplet:Unnecessary | {{Unnecessary}} |
Tɛmplet:Nc | {{Nc}} |
Tɛmplet:Removed | {{Removed}} |
Tɛmplet:Closing without action | {{Closing without action}} |
Tɛmplet:Failed-ga | {{Failed-ga}} |
Plus sign | |
Tɛmplet:Added | {{Added}} |
Tɛmplet:Posted | {{Posted}} |
Tɛmplet:Works for me | {{Works for me}} |
Tɛmplet:Passed | {{Passed}} |
Tɛmplet:Likely | {{Likely}} |
Tɛmplet:Highly likely | {{Highly likely}} |
Tɛmplet:Endorse | {{Endorse}} |
Tɛmplet:Decline | {{Decline}} |
Tɛmplet:Decline-IP | {{Decline-IP}} |
Tɛmplet:Cu-endorsed | {{Cu-endorsed}} |
Tɛmplet:Cudecline | {{Cudecline}} |
Tɛmplet:Delisted | {{Delisted}} |
Tɛmplet:Inconclusive | {{Inconclusive}} |
Tɛmplet:N/A icon | {{N/A icon}} |
Neutral sign | |
Tɛmplet:Bug closed | {{Bug closed}} |
Tɛmplet:Bug new | {{Bug new}} |
Tɛmplet:GA2ndopinion | {{GA2ndopinion}} |
Purple turn-right | |
Tɛmplet:Deferred | {{Deferred}} |
Tɛmplet:Deferabusefilter | {{Deferabusefilter}} |
Tɛmplet:Deferblack | {{Deferblack}} |
Tɛmplet:Defermetablack | {{Defermetablack}} |
Tɛmplet:Deferspam | {{Deferspam}} |
Tɛmplet:Deferspambot | {{Deferspambot}} |
Tɛmplet:Deferwhite | {{Deferwhite}} |
Simple clock | |
Tɛmplet:PendingRequest | {{PendingRequest}} |
Tɛmplet:GAOnHold | {{GAOnHold}} |
Tɛmplet:On hold | {{On hold}} |
Tɛmplet:OnHoldUntil | {{OnHoldUntil}} |
Information mark | |
Tɛmplet:NeedsDiscussion | {{NeedsDiscussion}} |
Tɛmplet:A note | {{A note}} |
Tɛmplet:Administrator note | {{Administrator note}} |
Tɛmplet:Bug assigned | {{Bug assigned}} |
Exclamation | |
Tɛmplet:High priority | {{High priority}} |
Tɛmplet:N.b. | {{N.b.}} |
Tɛmplet:Urgent | {{Urgent}} |
Tɛmplet:Investigating | {{Investigating}} |
Tɛmplet:Bang | {{Bang}} |
Tɛmplet:Archive now | {{Archive now}} |
Tɛmplet:Bureaucrat note | {{Bureaucrat note}} |
Tɛmplet:CUnote | {{CUnote}} |
Tɛmplet:Bug acknowledged | {{Bug acknowledged}} ({{Ack}} ) |
Tɛmplet:Bug confirmed | {{Bug confirmed}} |
Tɛmplet:Comment | {{Comment}} |
Tɛmplet:Remind | {{Remind}} |
Tɛmplet:Remark | {{Remark}} |
Tɛmplet:Clerk-Note | {{Clerk-Note}} |
Tɛmplet:Clerk-Note-bot | {{Clerk-Note-bot}} |
Tɛmplet:Renamer note | {{Renamer note}} |
Tɛmplet:Coordinator-note | {{Coordinator-note}} |
Tɛmplet:Stale GAN | {{Stale GAN}} |
Warning | {{Warnsign}} |
Question mark | |
Tɛmplet:Suggestion | {{Suggestion}} |
Tɛmplet:Maybe-t | {{Maybe-t}} |
Tɛmplet:Maybe-i | {{Maybe-i}} |
{{Qmark}} | |
Tɛmplet:Question mark | {{Question mark}} |
Tɛmplet:InfoNeeded | {{InfoNeeded}} |
Tɛmplet:Not done for now | {{Not done for now}} |
Tɛmplet:Not sure | {{Not sure}} |
Tɛmplet:Not sure2 | {{Not sure2}} |
Tɛmplet:Question | {{Question}} |
Tɛmplet:Question | {{Question|label=foo}} |
Tɛmplet:MoreInfo | {{MoreInfo}} |
Tɛmplet:Bug feedback | {{Bug feedback}} |
Tɛmplet:Idkc | {{Idkc}} |
Bulb | |
Tɛmplet:Bulb | {{Bulb}} |
Tɛmplet:Bulb2 | {{Bulb2}} |
Tɛmplet:Idea | {{Idea}} |
Tɛmplet:NewProposal | {{NewProposal}} |
Thumb sign | |
Tɛmplet:Thumbs down | {{Thumbs down}} |
Tɛmplet:Thumbs up | {{Thumbs up}} |
Tɛmplet:(y) | {{(y)}} |
Tɛmplet:(n) | {{(n)}} |
Tɛmplet:Great | {{Great}} |
Tɛmplet:Like | {{Like}} |
Tɛmplet:Dislike | {{Dislike}} |
Others mali niŋ
Tɛmplet:ToDo | {{ToDo}} |
Tɛmplet:Undone | {{Undone}} |
Tɛmplet:Uploaded | {{Uploaded}} |
Tɛmplet:Withdrawn | {{Withdrawn}} |
Tɛmplet:Working | {{Working}} |
Tɛmplet:WPcrystalball | {{WPcrystalball}} |
Tɛmplet:Completed | {{Completed}} |
Tɛmplet:Sblock | {{Sblock}} |
Tɛmplet:Possible | {{Possible}} |
Tɛmplet:Impossible | {{Impossible}} |
Tɛmplet:Possilikely | {{Possilikely}} |
Tɛmplet:Unlikely | {{Unlikely}} |
Tɛmplet:Replaced | {{Replaced}} |
Tɛmplet:Duck | {{Duck}} |
Tɛmplet:Duck2 | {{Duck2}} |
Tɛmplet:Megaphoneduck | {{Megaphoneduck}} |
Tɛmplet:Megaphoneduck | {{Megaphoneduck|ultimate}} |
Tɛmplet:Clerk Request | {{Clerk Request}} |
Tɛmplet:Relisted | {{Relisted}} |
Tɛmplet:Nosleepers | {{Nosleepers}} |
Tɛmplet:Behaviour | {{Behaviour}} |
Tɛmplet:GlobalLocksRequested | {{GlobalLocksRequested}} |
Tɛmplet:StaleIP | {{StaleIP}} |
Tɛmplet:8ball | {{8ball}} |
Tɛmplet:Crystalball | {{Crystalball}} |
CheckUser is not for fishing | {{Fishing}} |
Tɛmplet:Pixiedust | {{Pixiedust}} |
Tɛmplet:Shrug | {{Shrug}} |
Tɛmplet:Lenny | {{Lenny}} |
Tɛmplet:Table flip | {{Table flip}} |
Multi-sign templates mali niŋ
The following templates implement several icons:
- {{AIV}} – used by Wikipedia:Administrator intervention against vandalism
- {{AN3}} - used by Wikipedia:Administrators' noticeboard and its subpages
- {{BOTREQ}} - used by Wikipedia:Bot requests
- {{CPC}} - used by Wikipedia:Copyright problems
- {{CUI}} - used by CheckUsers
- {{EFFP}} – used by Wikipedia:Edit filter/False positives
- {{EFR}} – used by Wikipedia:Edit filter/Requested
- {{EP}} – used for servicing requests in edit-protected areas
- {{RFPP}} – used by Wikipedia:Requests for page protection
- {{RFPC}}, {{RFPNPR}}, {{RFPPM}}, {{RFPR}} – used by subpages of Wikipedia:Requests for permissions
- {{UAA}} – used by Wikipedia:Usernames for administrator attention
- {{UND}} – used by Wikipedia:Requests for undeletion
- {{Smiley}} – used for informal communication purposes
- {{Article history}}
Others mali niŋ
- Template:Check mark templates, for templates like these but without text
- Template:Icon, a template that creates an inline icon/image that is used in metapages
- Wikipedia:List of discussion templates, a more linear table of essentially the same set of templates
- Template:Resolved/See also, the smaller family of thread-level hatnote templates, similar to the above but with a box around them; any template above can be converted to one of those with {{Resbox}}
- Template:Table cell templates/doc, the family of table-specific templates that work only in tables
- Category:Image with comment templates
- Category:Resolution templates