Misplaced Pages

Template:Like: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
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|}}}}}
<div style="display:inline-block;padding:0 .5em;line-height:2.25em;border:1px solid #CAD4E7; font-family:'Lucida Grande',Tahoma,Verdana,sans-serif; {{border-radius|3px}} background:#ECEEF5; text-align:center;">]&thinsp;<span style="color:#3B5998;">{{{1|Like}}}</span></div><noinclude>
|old = <span style="display:inline-block;padding:0 .5em;line-height:1.80em;border:1px solid;border-radius:3px;text-align:center;">]&nbsp;{{#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;">]&nbsp;<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]
WarningThis 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

This list:

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}}
check Partially implemented {{PImplemented}}
 Resolved {{Resolved mark}}
Accepted {{Accepted}}
Agree {{Agree}}
Approved {{Approved}}
Checked {{Checked2}}
 Verified {{Verified}}
Conditional yesCY {{Conditional yes}}
 Confirmed {{Confirmed}}
 Confirmed with respect to the named user(s). no No comment with respect to IP address(es). {{Confirmed-nc}}
 Technically indistinguishable {{Tallyho}}
checkY {{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}}
  checkMerger complete. {{Merge done}}
{{Marked}}
✓ Pass {{Pass}}
Green tickY {{Aye}}
 Yes {{Yes check}}
{{Y&}}
Green checkmarkY {{Yeac}}
Gray check markYg {{Yeag}}
Cross marks
☒N {{Xmark}}
☒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}}
Red XN {{Nay}}
 No {{No mark}}
✗ Not done {{Not done-t}}
 Fail {{Fail}}
{{N&}}
NoN {{X mark-n}}
X'ed box {{Xed box}}
Cancelled {{Cancelled}}
 Prohibited {{Prohib}}
 Deleted {{Deleted-image}}
Red X Already declined {{Already declined}}
Red X Blocked {{Opblocked}}
Red X User blocked {{User-blocked}}
Red X Not a bug {{Notabug}}
Red X Not fixed {{Notfixed}}
Red X Won't fix {{Won't fix}}
Red X I withdraw my nomination {{Withdraw}}
Red X No technical evidence {{Nojoy}}
Red X Unrelated {{Unrelated}}
Red X Off-topic {{Off-topic talk}}
Red X symbolN {{Nayc}}
Gray X symbolNg {{Nayg}}
Black check marks
 Already done {{Already done}}
 Resolved {{Resolved1}}
YesY {{Check mark-n}}
Checked {{Checked}}
checked box {{Checked box}}
Yellow check marks
 Half done {{Half done}}
 Partly done {{Partly done}}
Blue check marks
checkmark Semi-done {{Semi-done}}
checkmark 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}}
no Disagree {{Disagree}}
no Not approved {{Unapproved}}
no Not bug {{NotBug}}
no Duplicate bug {{Duplicate bug}}
no Invalid {{Invalid}}
no Declined {{Declined}}
no No action {{No action}}
no No comment {{Nocomment}}
no Unnecessary {{Unnecessary}}
no No comment with respect to IP address(es) {{Nc}}
minus Removed {{Removed}}
minus Pulled {{Pulled}}
no Closing without action {{Closing without action}}
no Failed {{Failed-ga}}
Plus sign
plus 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}}
Gray equals sign= {{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}}
Magenta clockclock {{cloc}}
Clock
Orange clock Proposal on hold {{ProposalOnHold}}
 Reviewing request. {{Reviewing request}}
Pink clock Awaiting administrative action {{Awaitingadmin}}
ClockC {{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
information Needs discussion {{NeedsDiscussion}}
information Note: {{A note}}
information Administrator note {{Administrator note}}
 Assigned {{Bug assigned}}
information RM created {{RM created}}
Exclamation
 High Priority {{High priority}}
Nota bene* {{N.b.}}
 Urgent: {{Urgent}}
 Investigating... {{Investigating}}
exclamation mark  {{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}}
red-outlined triangle containing exclamation point Warning {{Warning sign}}
red-outlined triangle containing exclamation point Caution {{Caution sign}}
Question mark
question mark Suggestion {{Suggestion}}
? Maybe {{Maybe-t}}
question mark Maybe {{Maybe-i}}
Question? {{Qmark}}
Question? {{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}}
Blue question mark? {{Idkc}}
Bulb
Light bulb iconB {{Bulb}}
Flashing bulbB {{Bulb2}}
Idea: {{Idea}}
light bulb New proposal {{NewProposal}}
Smile
Thank you {{Thank you}}
 Thank you very much! {{Thank you very much}}
Smiley You're welcome! {{You're welcome}}
Smiley Sorry! {{Sorry}}
 Thanks {{Thank}}
Thank you {{WikiThanks}}
Smiley No problem! {{No problem}}
Thumb sign
Thumbs down icon {{Thumbs down}}
Thumbs up icon {{Thumbs up}}
Thumbs up icon {{(y)}}
Thumbs down icon {{(n)}}
thumbs up Great! {{Great}}
👍 Like {{Like}}
 Dislike {{Dislike}}

Others

ω Awaiting {{Awaiting}}
{{Buttinsky}}
 Comment. {{Commentvote}}
 Dupe {{Bug dupe}}
Merged {{Clerk-Note-merged}}
bug   New bug {{NewBug}}
  Bug fixed {{BugFixed}}
copy   Duplicate proposal {{DuplicateProposal}}
confused face icon Just curious... {{Justcurious}}
shuffling arrows Proposal out of scope {{ProposalOutOfScope}}
 Moved to Commons {{Moved to commons}}
Orz... {{Orz}}
( Peanut gallery comment) {{Peanut}}
 Possibly {{Possibly}}
eye I have read the above message. I will reply when I have a moment. {{Read}}
Yes Received {{Received}}
flag Redflag {{Redflag}}
trash Redundant {{Redundant symbol}}
recycle Reopened {{Reopened}}
@Example: {{Reply to}}
arrow Reverted {{Reverted}}
rimshot {{Rimshot}}
lens Review {{Twomanrule}}
lens Review – This section is under review or has been partially reviewed by {{UnderReview}}
Facepalm Facepalm {{Facepalm}}
scissors Running with scissors is too dangerous for Misplaced Pages! {{Scissors}}
trout Self-trout {{Self-trout}}
trout Self-whale... for when a trout just isn't enough {{Self-whale}}
Yes Sent {{Sent}}
per snowball clause {{Snow}}
SUL Check {{SULcheck}}
 ToDo {{ToDo}}
eraser 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}}
minus 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}}
Redirect arrow Global lock(s) requested {{GlobalLocksRequested}}
 Stale {{StaleIP}}
magic eight ball The CheckUser Magic 8-Ball says: {{8ball}}
crystal ball CheckUser is not a crystal ball {{Crystalball}}
fish 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:

Others

The above documentation is transcluded from Template:Like/doc. (edit | history)
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: