Template:Like/doc: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (clean up, replaced: Wikipedia → Sarkarverse (5)) |
||
Line 2: | Line 2: | ||
=== Basic Usage === | === Basic Usage === | ||
{{tlx|like}} | {{tlx|like}} → {{like}} | ||
=== Parameters === | === Parameters === | ||
; Custom text | ; Custom text | ||
{{tlx|1=like|2=I learned something today}} | {{tlx|1=like|2=I learned something today}} → {{like|I learned something today}} | ||
:''When no parameter name is specified, custom text is assumed'' | :''When no parameter name is specified, custom text is assumed'' | ||
Line 12: | Line 12: | ||
; Icon | ; Icon | ||
{{tlx|1=like|2=icon=wiki}} | {{tlx|1=like|2=icon=wiki}} → {{like|icon=wiki}} | ||
:''Default icon'' | :''Default icon'' | ||
{{tlx|1=like|2=icon=old}} | {{tlx|1=like|2=icon=old}} → {{like|icon=old}} | ||
:''Legacy icon'' | :''Legacy icon'' | ||
{{tlx|1=like|2=icon=fb}} | {{tlx|1=like|2=icon=fb}} → {{like|icon=fb}} | ||
:''"Fb" icon'' | :''"Fb" icon'' | ||
Line 24: | Line 24: | ||
; Username | ; Username | ||
{{tlx|1=like|2=username=ExampleUser}} | {{tlx|1=like|2=username=ExampleUser}} → {{like|username=ExampleUser}} | ||
; Num (User Likes) | ; Num (User Likes) | ||
{{tlx|1=like|2=num=1}} | {{tlx|1=like|2=num=1}} → {{like|num=1}} | ||
{{tlx|1=like|2=num=2}} | {{tlx|1=like|2=num=2}} → {{like|num=2}} | ||
{{tlx|1=like|2=num=3}} | {{tlx|1=like|2=num=3}} → {{like|num=3}} | ||
:''Etc...'' | :''Etc...'' | ||
=== Supported parameter combinations === | === Supported parameter combinations === | ||
; Custom text | ; Custom text | ||
{{tlx|1=like|2=I learned something yesterday|3=icon=old}} | {{tlx|1=like|2=I learned something yesterday|3=icon=old}} → {{like|I learned something yesterday|icon=old}} | ||
:''Custom text + icon'' | :''Custom text + icon'' | ||
{{tlx|1=like|2=loves|3=num=1}} | {{tlx|1=like|2=loves|3=num=1}} → {{like|loves|num=1}} | ||
:''When combined with Num (User likes), custom text replace the verb "like"'' | :''When combined with Num (User likes), custom text replace the verb "like"'' | ||
{{tlx|1=like|2=love|3=num=3}} | {{tlx|1=like|2=love|3=num=3}} → {{like|love|num=3}} | ||
:''For plural users, remember to change your verb accordingly'' | :''For plural users, remember to change your verb accordingly'' | ||
; Icon | ; Icon | ||
{{tlx|1=like|2=icon=old|3=username=ExampleUser}} | {{tlx|1=like|2=icon=old|3=username=ExampleUser}} → {{like|icon=old|username=ExampleUser}} | ||
:''icon + username'' | :''icon + username'' | ||
{{tlx|1=like|2=icon=old|3=num=1}} | {{tlx|1=like|2=icon=old|3=num=1}} → {{like|icon=old|num=1}} | ||
:''icon + num (user likes)'' | :''icon + num (user likes)'' | ||
Line 59: | Line 59: | ||
; 3 parameter combination | ; 3 parameter combination | ||
{{tlx|1=like|2=loves|3=icon=old|4=num=1}} | {{tlx|1=like|2=loves|3=icon=old|4=num=1}} → {{like|loves|icon=old|num=1}} | ||
:''You can combine Custom Text, Icon, and Num (User likes)'' | :''You can combine Custom Text, Icon, and Num (User likes)'' | ||
Line 67: | Line 67: | ||
=== See also === | === See also === | ||
* [[ | * [[Sarkarverse:Arguments to avoid in deletion discussions#I like it]] | ||
* [[ | * [[Sarkarverse:What Sarkarverse is not#Sarkarverse is not a blog, Web hosting service, social networking service, or memorial site|Sarkarverse is not a social network]] | ||
<includeonly> | <includeonly> |
Latest revision as of 03:47, 21 December 2013
![]() | 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. |
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
- Sarkarverse:Arguments to avoid in deletion discussions#I like it
- Sarkarverse is not a social network