Difference between revisions of "Template:Like/doc"
Jump to navigation
Jump to search
(→Basic Usage: http://www.youtube.com/channel/UCpggsYfECnMZUOElcYMHy-w) |
imported>Killiondude m (Reverted edits by 90.25.3.177 (talk) to last version by CapnZapp) |
||
| Line 3: | Line 3: | ||
=== Basic Usage === | === Basic Usage === | ||
{{tlx|like}} → {{like}} | {{tlx|like}} → {{like}} | ||
| − | |||
=== Parameters === | === Parameters === | ||
Revision as of 17:58, 18 January 2014
| 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
Basic 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
- "Fb" 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)
Related Templates
- Template:Dislike
- as well as several templates from the Image with comment templates category, including Template:Agree and Template:Thumbs up
See also