Difference between revisions of "Template:Like/doc"

From blackwiki
Jump to navigation Jump to search
(Replaced content with 'Ban')
imported>Bongwarrior
m (Reverted edits by 166.182.3.160 (talk) to last version by Killiondude)
Line 1: Line 1:
Ban
+
{{documentation subpage}}
 +
 
 +
=== Basic Usage ===
 +
{{tlx|like}} → {{like}}
 +
 
 +
=== Parameters ===
 +
; Custom text
 +
{{tlx|1=like|2=I learned something today}} → {{like|I learned something today}}
 +
:''When no parameter name is specified, custom text is assumed''
 +
 
 +
<br>
 +
 
 +
; Icon
 +
{{tlx|1=like|2=icon=wiki}} &rarr; {{like|icon=wiki}}
 +
:''Default icon''
 +
 
 +
{{tlx|1=like|2=icon=old}} &rarr; {{like|icon=old}}
 +
:''Legacy icon''
 +
 
 +
{{tlx|1=like|2=icon=fb}} &rarr; {{like|icon=fb}}
 +
:''"Fb" icon''
 +
 
 +
<br>
 +
 
 +
; Username
 +
{{tlx|1=like|2=username=ExampleUser}} &rarr; {{like|username=ExampleUser}}
 +
 
 +
; Num (User Likes)
 +
{{tlx|1=like|2=num=1}} &rarr; {{like|num=1}}
 +
 
 +
{{tlx|1=like|2=num=2}} &rarr; {{like|num=2}}
 +
 
 +
{{tlx|1=like|2=num=3}} &rarr; {{like|num=3}}
 +
:''Etc...''
 +
 
 +
=== Supported parameter combinations ===
 +
; Custom text
 +
{{tlx|1=like|2=I learned something yesterday|3=icon=old}} &rarr; {{like|I learned something yesterday|icon=old}}
 +
:''Custom text + icon''
 +
 
 +
{{tlx|1=like|2=loves|3=num=1}} &rarr; {{like|loves|num=1}}
 +
:''When combined with Num (User likes), custom text replace the verb "like"''
 +
 
 +
{{tlx|1=like|2=love|3=num=3}} &rarr; {{like|love|num=3}}
 +
:''For plural users, remember to change your verb accordingly''
 +
 
 +
; Icon
 +
{{tlx|1=like|2=icon=old|3=username=ExampleUser}} &rarr; {{like|icon=old|username=ExampleUser}}
 +
:''icon + username''
 +
 
 +
{{tlx|1=like|2=icon=old|3=num=1}} &rarr; {{like|icon=old|num=1}}
 +
:''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
 +
{{tlx|1=like|2=loves|3=icon=old|4=num=1}} &rarr; {{like|loves|icon=old|num=1}}
 +
:''You can combine Custom Text, Icon, and Num (User likes)''
 +
 
 +
=== Related Templates ===
 +
* [[Template:Dislike]]
 +
* as well as several templates from the [[:Category:Image with comment templates|Image with comment templates]] category, including [[Template:Agree]] and [[Template:Thumbs up]]
 +
 
 +
=== See also ===
 +
* [[Wikipedia:Arguments to avoid in deletion discussions#I like it]]
 +
* [[Wikipedia:What Wikipedia is not#Wikipedia is not a blog, Web hosting service, social networking service, or memorial site|Wikipedia is not a social network]]
 +
 
 +
<includeonly>
 +
<!-- Categories go below; interwikis are maintained in [[d:Q3925932]] -->
 +
[[Category:Image with comment templates]]
 +
</includeonly>

Revision as of 06:48, 9 June 2014

Basic Usage

{{like}}25px Like

Parameters

Custom text

{{like|I learned something today}}25px I learned something today

When no parameter name is specified, custom text is assumed


Icon

{{like|icon=wiki}}25px Like

Default icon

{{like|icon=old}}16px Like

Legacy icon

{{like|icon=fb}}16px Like

"Fb" icon


Username

{{like|username=ExampleUser}}25px ExampleUser likes this.

Num (User Likes)

{{like|num=1}}25px 1 user likes this.

{{like|num=2}}25px 2 users like this.

{{like|num=3}}25px 3 users like this.

Etc...

Supported parameter combinations

Custom text

{{like|I learned something yesterday|icon=old}}16px I learned something yesterday

Custom text + icon

{{like|loves|num=1}}25px 1 user loves this.

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

{{like|love|num=3}}25px 3 users love this.

For plural users, remember to change your verb accordingly
Icon

{{like|icon=old|username=ExampleUser}}16px ExampleUser likes this.

icon + username

{{like|icon=old|num=1}}16px 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}}16px 1 user loves this.

You can combine Custom Text, Icon, and Num (User likes)

Related Templates

See also