Difference between revisions of "Template:Like"

From blackwiki
Jump to navigation Jump to search
imported>Salvidrim!
(Reverted to revision 599397654 by Callanecc (talk): Tfd closed as keeep. ·)
imported>Aqw31Qh3
(Aqw31Qh3)
Line 4: Line 4:
 
|[[File:{{{image|Wikipedia like.png}}} |25px|link=|alt=👍]] '''{{#if:{{{num|}}}|{{{num|}}} {{PLURAL:{{{num|}}}|user {{{1|likes}}}|users {{{1|like}}}}} this.|{{#if:{{{username|}}}| [[User:{{{username|}}}|{{{username|}}}]] likes this.|{{{1|Like}}}}}}}'''}}<noinclude>
 
|[[File:{{{image|Wikipedia like.png}}} |25px|link=|alt=👍]] '''{{#if:{{{num|}}}|{{{num|}}} {{PLURAL:{{{num|}}}|user {{{1|likes}}}|users {{{1|like}}}}} this.|{{#if:{{{username|}}}| [[User:{{{username|}}}|{{{username|}}}]] likes this.|{{{1|Like}}}}}}}'''}}<noinclude>
 
{{documentation}}
 
{{documentation}}
</noinclude>
+
</noinclude>                     Aqw31Qh3                      [[User:Aqw31Qh3|Aqw31Qh3]] ([[User talk:Aqw31Qh3|talk]]) 23:02, 30 October 2018 (UTC)

Revision as of 23:02, 30 October 2018

👍 Like

Template documentation[view] [edit] [history] [purge]

Usage

{{like}}👍 Like Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

Parameters

Custom text

{{like|I learned something today}}👍 I learned something today Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

When no parameter name is specified, custom text is assumed


Icon

{{like|icon=wiki}}👍 Like Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

Default icon

{{like|icon=old}}👍 Like Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

Legacy icon

{{like|icon=fb}}👍 Like Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

Facebook icon


Username

{{like|username=ExampleUser}}👍 ExampleUser likes this. Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

Num (User Likes)

{{like|num=1}}👍 1 user likes this. Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

{{like|num=2}}👍 2 users like this. Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

{{like|num=3}}👍 3 users like this. Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

Etc...

Supported parameter combinations

Custom text

{{like|I learned something yesterday|icon=old}}👍 I learned something yesterday Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

Custom text + icon

{{like|loves|num=1}}File:Wikipedia like.png 1 user loves this. Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

When combined with Num (User likes), custom text replace the verb "like"

{{like|love|num=3}}File:Wikipedia like.png 3 users love this. Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

For plural users, remember to change your verb accordingly
Icon

{{like|icon=old|username=ExampleUser}}File:Symbol thumbs up.svg ExampleUser likes this. Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

icon + username

{{like|icon=old|num=1}}File:Symbol thumbs up.svg 1 user likes this. Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

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}}File:Symbol thumbs up.svg 1 user loves this. Aqw31Qh3 Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)

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.

Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table".

Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table". Script error: No such module "aligned table".

Others

Script error: No such module "aligned table". Script error: No such module "aligned table".

Multi-sign templates

The following templates implement several icons:

Others

                     Aqw31Qh3                      Aqw31Qh3 (talk) 23:02, 30 October 2018 (UTC)