Difference between revisions of "Template:Like/doc"
imported>Samo0980 m |
imported>Nøkkenbuer m (→See also: removed pointless entry to this very page in "See also") |
||
| (7 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
{{documentation subpage}} | {{documentation subpage}} | ||
| Line 20: | Line 19: | ||
{{tlx|1=like|2=icon=fb}} → {{like|icon=fb}} | {{tlx|1=like|2=icon=fb}} → {{like|icon=fb}} | ||
| − | :'' | + | :''[[Facebook]] icon'' |
<br/> | <br/> | ||
| Line 68: | Line 67: | ||
* [[Template:Thumbs up]] | * [[Template:Thumbs up]] | ||
* [[Template:-n]] | * [[Template:-n]] | ||
| − | |||
* [[Template:++]] | * [[Template:++]] | ||
* [[Wikipedia:Arguments to avoid in deletion discussions#I like it]] | * [[Wikipedia:Arguments to avoid in deletion discussions#I like it]] | ||
| Line 74: | Line 72: | ||
{{Done/See also}} | {{Done/See also}} | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!--Categories below this line, please; interwikis at Wikidata--> | <!--Categories below this line, please; interwikis at Wikidata--> | ||
[[Category:Image with comment templates]] | [[Category:Image with comment templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 21:08, 4 April 2018
| This is a documentation subpage for Template:Like. It contains usage information, categories and other content that is not part of the original template page. |
Contents
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:++
- Wikipedia:Arguments to avoid in deletion discussions#I like it
- Wikipedia 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.
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:
- {{AIV}} – used by Wikipedia:Administrator intervention against vandalism
- {{EP}} – used for servicing requests in edit-protected areas
- {{RFPP}} – used by Wikipedia:Requests for page protection
- {{UAA}} – used by Wikipedia:Usernames for administrator attention
- {{Smiley}} – used for informal communication purposes
Others
- Template:Icon/doc, inline icon templates by shape and color
- 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