Revision as of 11:28, 4 May 2011 view source110.139.190.67 (talk)No edit summary← Previous edit | Latest revision as of 18:00, 23 November 2024 view source MusikBot II (talk | contribs)Bots, Interface administrators, Administrators102,946 editsm Changed protection settings for "Template:Like": High-risk template or module: 2501 transclusions (more info) ( (indefinite) (indefinite)) | ||
(67 intermediate revisions by 38 users not shown) | |||
Line 1: | Line 1: | ||
{{#switch:{{lc:{{{icon|}}}}} | |||
⚫ | < |
||
|old = <span style="display:inline-block;padding:0 .5em;line-height:1.80em;border:1px solid;border-radius:3px;text-align:center;">] {{#if:{{{num|}}}|{{{num|}}} {{PLURAL:{{{num|}}}|user {{{1|likes}}}|users {{{1|like}}}}} this.|{{#if:{{{username|}}}| ] likes this.|{{{1|Like}}}}}}}</span> | |||
] | |||
⚫ | |fb = <span style="display:inline-block;padding:0 .5em;line-height:1.80em;cursor:pointer;font-weight:bold; font-family:'Helvetica',Arial,sans-serif; border-radius:3px; background:#1877f2; text-align:center;">] <span style="color:#fff;">{{#if:{{{num|}}}|{{{num|}}} {{PLURAL:{{{num|}}}|user {{{1|likes}}}|users {{{1|like}}}}} this.|{{#if:{{{username|}}}| ] likes this.|{{{1|Like}}}}}}}</span></span> | ||
|] '''{{#if:{{{num|}}}|{{{num|}}} {{PLURAL:{{{num|}}}|user {{{1|likes}}}|users {{{1|like}}}}} this.|{{#if:{{{username|}}}| ] likes this.|{{{1|Like}}}}}}}'''}}<noinclude> | |||
{{documentation}} | |||
</noinclude> | </noinclude> |
Latest revision as of 18:00, 23 November 2024
Like
Template documentation[view] [edit] [history] [purge]This template is used on approximately 2,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
{{like}}
→ Like
Parameters
- Custom text
{{like|I learned something today}}
→ I learned something today
- When no parameter name is specified, custom text is assumed
- Icon
{{like|icon=wiki}}
→ Like
- Default icon
{{like|icon=old}}
→ Like
- Legacy icon
{{like|icon=fb}}
→ Like
- Facebook icon
- Username
{{like|username=ExampleUser}}
→ ExampleUser likes this.
- Num (User Likes)
{{like|num=1}}
→ 1 user likes this.
{{like|num=2}}
→ 2 users like this.
{{like|num=3}}
→ 3 users like this.
- Etc...
Supported parameter combinations
- Custom text
{{like|I learned something yesterday|icon=old}}
→ I learned something yesterday
- Custom text + icon
{{like|loves|num=1}}
→ 1 user loves this.
- When combined with Num (User likes), custom text replace the verb "like"
{{like|love|num=3}}
→ 3 users love this.
- For plural users, remember to change your verb accordingly
- Icon
{{like|icon=old|username=ExampleUser}}
→ ExampleUser likes this.
- icon + username
{{like|icon=old|num=1}}
→ 1 user likes this.
- icon + num (user likes)
- Username
- Username can be combined with Icon, as above. You can't use this parameter together with custom text or num (user likes).
- Num (User Likes)
- Num can be combined with Custom Text and Icon, as above. You can't use this parameter together with Username.
- 3 parameter combination
{{like|loves|icon=old|num=1}}
→ 1 user loves this.
- You can combine Custom Text, Icon, and Num (User likes)
See also
- Template:Dislike
- Template:Agree
- Template:Thumbs up
- Template:-n
- Template:++
- Misplaced Pages:Arguments to avoid in deletion discussions#I like it
- Misplaced Pages is not a social network
Inline icon templates by shape and color
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}} |
CY | {{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}} |
Y | {{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}} |
Sure! | {{Sure}} |
Revoked | {{Revoked}} |
Y Merger complete. | {{Merge done}} |
✓ | {{Marked}} |
✓ Pass | {{Pass}} |
Y | {{Aye}} |
Yes | {{Yes check}} |
✓ | {{Y&}} |
Y | {{Yeac}} |
Yg | {{Yeag}} |
Cross marks | |
N | {{Xmark}} |
N This offer has expired | {{Expired}} |
N Deleted | {{Deleted}} |
Not done | {{Not done}} |
Not done – empty request | {{Not done empty request}} |
Not done – please clarify | {{Not done unclear}} |
N Not done and not likely to be done | {{Not done not likely}} |
N Stale | {{Stale-small}} |
Rejected | {{Smallrejected}} |
N | {{X mark}} |
N | {{Nay}} |
No | {{No mark}} |
✗ Not done | {{Not done-t}} |
✗ Fail | {{Fail}} |
✗ | {{N&}} |
N | {{X mark-n}} |
{{Xed box}} | |
Cancelled | {{Cancelled}} |
Prohibited | {{Prohib}} |
Deleted | {{Deleted-image}} |
Already declined | {{Already declined}} |
Blocked | {{Opblocked}} |
User blocked | {{User-blocked}} |
Not a bug | {{Notabug}} |
Not fixed | {{Notfixed}} |
Won't fix | {{Won't fix}} |
I withdraw my nomination | {{Withdraw}} |
No technical evidence | {{Nojoy}} |
Unrelated | {{Unrelated}} |
Off-topic | {{Off-topic talk}} |
N | {{Nayc}} |
Ng | {{Nayg}} |
Black check marks | |
Already done | {{Already done}} |
Resolved | {{Resolved1}} |
Y | {{Check mark-n}} |
{{Checked}} | |
{{Checked box}} |
Yellow check marks | |
Half done | {{Half done}} |
Partly done | {{Partly done}} |
Blue check marks | |
Semi-done | {{Semi-done}} |
Go ahead | {{Go ahead}} |
Fixed | {{Fixed}} |
Fixed by reporter | {{Fixed by reporter}} |
Pending | {{Bug pending}} |
Resolved | {{Bug resolved}} |
Blocked and tagged | {{Blockedandtagged}} |
Blocked without tags | {{Blockedwithouttags}} |
Tagged | {{Socks tagged}} |
No tags | {{No tags}} |
IP block exemption granted | {{Ipbedone}} |
IP blocked | {{IPblock}} |
Proxy blocked | {{Pblock}} |
Proxies blocked | {{Psblock}} |
Range blocked | {{Rblock}} |
Requested actions completed, closing | {{Action and close}} |
Blocked and tagged. Closing. | {{Blockedtaggedclosing}} |
Minus sign | |
Closed | {{Close}} |
Denied | {{Denied}} |
Disagree | {{Disagree}} |
Not approved | {{Unapproved}} |
Not bug | {{NotBug}} |
Duplicate bug | {{Duplicate bug}} |
Invalid | {{Invalid}} |
Declined | {{Declined}} |
No action | {{No action}} |
No comment | {{Nocomment}} |
Unnecessary | {{Unnecessary}} |
No comment with respect to IP address(es) | {{Nc}} |
Removed | {{Removed}} |
Pulled | {{Pulled}} |
Closing without action | {{Closing without action}} |
Failed | {{Failed-ga}} |
Plus sign | |
Added | {{Added}} |
Posted | {{Posted}} |
Works for me | {{Works for me}} |
Passed | {{Passed}} |
Likely | {{Likely}} |
Highly likely | {{Highly likely}} |
Endorsed | {{Endorsed+}} |
Clerk endorsed | {{Endorse}} |
Clerk declined | {{Decline}} |
Check declined – Checkusers will not link accounts to IPs, per the privacy policy. | {{Decline-IP}} |
Endorsed by a checkuser | {{Cu-endorsed}} |
Check declined by a checkuser | {{Cudecline}} |
Delisted | {{Delisted}} |
Inconclusive | {{Inconclusive}} |
Not Applicable | {{N/A icon}} |
Neutral sign | |
Closed | {{Bug closed}} |
New: | {{Bug new}} |
Second opinion requested | {{GA2ndopinion}} |
= | {{equc}} |
Purple turn-right | |
Deferred | {{Deferred}} |
Defer to Abuse filter | {{Deferabusefilter}} |
Defer to Local blacklist | {{Deferblack}} |
Defer to Global blacklist | {{Defermetablack}} |
Defer to WPSPAM | {{Deferspam}} |
Defer to XLinkBot | {{Deferspambot}} |
Defer to Whitelist | {{Deferwhite}} |
Simple clock | |
Pending approval | {{PendingRequest}} |
GA on hold | {{GAOnHold}} |
On hold | {{On hold}} |
On hold until | {{OnHoldUntil}} |
clock | {{cloc}} |
Clock | |
Proposal on hold | {{ProposalOnHold}} |
Reviewing request. | {{Reviewing request}} |
Awaiting administrative action | {{Awaitingadmin}} |
C | {{Await}} |
Later | {{Later}} |
Pending | {{Tobedone}} |
Discussion ongoing... | {{Discussing}} |
Doing... | {{Doing}} |
] is doing... | {{Isdoing}} |
Started | {{Started}} |
In progress | {{In progress}} |
Checking... | {{Checking}} |
Reviewing... | {{Reviewing}} |
Information mark | |
Needs discussion | {{NeedsDiscussion}} |
Note: | {{A note}} |
Administrator note | {{Administrator note}} |
Assigned | {{Bug assigned}} |
RM created | {{RM created}} |
Exclamation | |
High Priority | {{High priority}} |
* | {{N.b.}} |
Urgent: | {{Urgent}} |
Investigating... | {{Investigating}} |
{{Bang}} | |
Requesting immediate archiving... | {{Archive now}} |
Bureaucrat note: | {{Bureaucrat note}} |
Checkuser note: | {{CUnote}} |
Acknowledged | {{Bug acknowledged}} ({{Ack}} ) |
Confirmed | {{Bug confirmed}} |
Comment: | {{Comment}} |
Remind | {{Remind}} |
Remark: | {{Remark}} |
Clerk note: | {{Clerk note}} |
Robot clerk note: | {{Clerk note bot}} |
Renamer note: | {{Renamer note}} |
Coordinator note: | {{Coordinator-note}} |
This review has not received any comments in two weeks. | {{Stale GAN}} |
Warning | {{Warning sign}} |
Caution | {{Caution sign}} |
Question mark | |
Suggestion | {{Suggestion}} |
? Maybe | {{Maybe-t}} |
Maybe | {{Maybe-i}} |
? | {{Qmark}} |
? | {{Question mark}} |
{{InfoNeeded}} | |
Not done for now | {{Not done for now}} |
Not sure | {{Not sure}} |
Not sure. | {{Not sure2}} |
Question: | {{Question}} |
foo: | {{Question|label=foo}} |
Additional information needed | {{MoreInfo}} |
Feedback required | {{Bug feedback}} |
? | {{Idkc}} |
Bulb | |
B | {{Bulb}} |
B | {{Bulb2}} |
Idea: | {{Idea}} |
New proposal | {{NewProposal}} |
Smile | |
Thank you | {{Thank you}} |
Thank you very much! | {{Thank you very much}} |
You're welcome! | {{You're welcome}} |
Sorry! | {{Sorry}} |
Thanks | {{Thank}} |
Thank you | {{WikiThanks}} |
No problem! | {{No problem}} |
Thumb sign | |
{{Thumbs down}} | |
{{Thumbs up}} | |
{{(y)}} | |
{{(n)}} | |
Great! | {{Great}} |
Like | {{Like}} |
Dislike | {{Dislike}} |
Others
ω Awaiting | {{Awaiting}} |
{{Buttinsky}} | |
Comment. | {{Commentvote}} |
Dupe | {{Bug dupe}} |
Merged | {{Clerk-Note-merged}} |
New bug | {{NewBug}} |
Bug fixed | {{BugFixed}} |
Duplicate proposal | {{DuplicateProposal}} |
Just curious... | {{Justcurious}} |
Proposal out of scope | {{ProposalOutOfScope}} |
Moved to Commons | {{Moved to commons}} |
Orz... | {{Orz}} |
( Peanut gallery comment) | {{Peanut}} |
Possibly | {{Possibly}} |
I have read the above message. I will reply when I have a moment. | {{Read}} |
Received | {{Received}} |
Redflag | {{Redflag}} |
Redundant | {{Redundant symbol}} |
Reopened | {{Reopened}} |
@Example: | {{Reply to}} |
Reverted | {{Reverted}} |
rimshot | {{Rimshot}} |
Review | {{Twomanrule}} |
Review – This section is under review or has been partially reviewed by | {{UnderReview}} |
Facepalm | {{Facepalm}} |
Running with scissors is too dangerous for Misplaced Pages! | {{Scissors}} |
Self-trout | {{Self-trout}} |
Self-whale... for when a trout just isn't enough | {{Self-whale}} |
Sent | {{Sent}} |
per snowball clause | {{Snow}} |
SUL Check | {{SULcheck}} |
ToDo | {{ToDo}} |
Undone | {{Undone}} |
Uploaded | {{Uploaded}} |
Request withdrawn | {{Withdrawn}} |
Working | {{Working}} |
Misplaced Pages is not a crystal ball. | {{WPcrystalball}} |
Completed | {{Completed}} |
Blocked but awaiting tags | {{Sblock}} |
Possible | {{Possible}} |
Not possible | {{Not possible}} |
Possilikely (a mix between possible and likely) | {{Possilikely}} |
Unlikely | {{Unlikely}} |
Replaced | {{Replaced}} |
Looks like a duck to me | {{Duck}} |
{{Duck2}} | |
Sounds like a duck quacking into a megaphone to me | {{Megaphoneduck}} |
1.75x amplified ultimate quack of ultimate destiny | {{Megaphoneduck|ultimate}} |
Clerk assistance requested: | {{Clerk Request}} |
Relisted | {{Relisted}} |
No sleepers immediately visible | {{Nosleepers}} |
Behavioural evidence needs evaluation | {{Behaviour}} |
Global lock(s) requested | {{GlobalLocksRequested}} |
Stale | {{StaleIP}} |
The CheckUser Magic 8-Ball says: | {{8ball}} |
CheckUser is not a crystal ball | {{Crystalball}} |
CheckUser is not for fishing | {{Fishing}} |
CheckUser is not magic pixie dust | {{Pixiedust}} |
¯\_(ツ)_/¯ | {{Shrug}} |
( ͡° ͜ʖ ͡°) | {{Lenny}} |
(╯°□°)╯︵ ┻━┻ | {{Table flip}} |
Multi-sign templates
The following templates implement several icons:
- {{AIV}} – used by Misplaced Pages:Administrator intervention against vandalism
- {{AN3}} - used by Misplaced Pages:Administrators' noticeboard and its subpages
- {{BOTREQ}} - used by Misplaced Pages:Bot requests
- {{CPC}} - used by Misplaced Pages:Copyright problems
- {{CUI}} - used by CheckUsers
- {{EFFP}} – used by Misplaced Pages:Edit filter/False positives
- {{EFR}} – used by Misplaced Pages:Edit filter/Requested
- {{EP}} – used for servicing requests in edit-protected areas
- {{RFPP}} – used by Misplaced Pages:Requests for page protection
- {{RFPC}}, {{RFPNPR}}, {{RFPPM}}, {{RFPR}} – used by subpages of Misplaced Pages:Requests for permissions
- {{UAA}} – used by Misplaced Pages:Usernames for administrator attention
- {{UND}} – used by Misplaced Pages:Requests for undeletion
- {{Smiley}} – used for informal communication purposes
- {{Article history}}
Others
- 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
- Misplaced Pages: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
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Category: