Difference between revisions of "Template:Like/doc"

From blackwiki
Jump to navigation Jump to search
imported>Enterprisey
(→‎See also: Added the "navbox" Template:Done/See also)
imported>Funandtrvl
(updte)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
  
=== Basic Usage ===
+
== Usage ==
 
{{tlx|like}} → {{like}}
 
{{tlx|like}} → {{like}}
  
Line 9: Line 9:
 
:''When no parameter name is specified, custom text is assumed''
 
:''When no parameter name is specified, custom text is assumed''
  
<br>
+
<br/>
  
 
; Icon
 
; Icon
Line 21: Line 21:
 
:''"Fb" icon''  
 
:''"Fb" icon''  
  
<br>
+
<br/>
  
 
; Username
 
; Username
Line 62: Line 62:
 
:''You can combine Custom Text, Icon, and Num (User likes)''
 
:''You can combine Custom Text, Icon, and Num (User likes)''
  
=== Related Templates ===
+
== See also ==
 +
* [[Template:Agree]]
 +
* [[Template:Thumbs up]]
 
* [[Template:Dislike]]
 
* [[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: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]]
 
* [[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]]
 
{{Done/See also}}
 
{{Done/See also}}
  
<includeonly>
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories go below; interwikis are maintained in [[d:Q3925932]] -->
+
<!--Categories below this line, please; interwikis at Wikidata-->
 
[[Category:Image with comment templates]]
 
[[Category:Image with comment templates]]
</includeonly>
+
}}</includeonly>

Revision as of 01:28, 19 August 2014

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)

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