Template:Like

From blackwiki
Revision as of 23:03, 30 October 2018 by imported>72 (Reverted edits by Aqw31Qh3 (talk) to last version by Salvidrim!)
Jump to navigation Jump to search

File:Wikipedia like.png Like

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

Usage

{{like}}File:Wikipedia like.png Like

Parameters

Custom text

{{like|I learned something today}}File:Wikipedia like.png I learned something today

When no parameter name is specified, custom text is assumed


Icon

{{like|icon=wiki}}File:Wikipedia like.png Like

Default icon

{{like|icon=old}}👍 Like

Legacy icon

{{like|icon=fb}}File:Facebook like thumb.png Like

Facebook icon


Username

{{like|username=ExampleUser}}👍 ExampleUser likes this.

Num (User Likes)

{{like|num=1}}File:Wikipedia like.png 1 user likes this.

{{like|num=2}}File:Wikipedia like.png 2 users like this.

{{like|num=3}}File:Wikipedia like.png 3 users like this.

Etc...

Supported parameter combinations

Custom text

{{like|I learned something yesterday|icon=old}}File:Symbol thumbs up.svg 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}}File:Wikipedia like.png 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}}File:Symbol thumbs up.svg 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}}File:Symbol thumbs up.svg 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.

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