Difference between revisions of "Template:Like"
imported>Hurricanefan25 (+) |
imported>Meco (Nominating for deletion (third time)) |
||
| Line 1: | Line 1: | ||
| + | {{#ifeq:{{NAMESPACE}}|Template | ||
| + | |{{Ombox | ||
| + | | type = delete | ||
| + | | image = none | ||
| + | | small = no | ||
| + | | text = <div>'''This [[Help:Template|template]] ''([[Template:{{ucfirst:{{PAGENAME}}}}|{{ucfirst:{{PAGENAME}}}}]])'' is being considered for deletion in accordance with Wikipedia's [[Wikipedia:Deletion policy|deletion policy]].'''<p>Please discuss this matter at [[Wikipedia:Templates for discussion#Template:{{ucfirst:{{PAGENAME}}}}|'''this template's entry''']] at templates for discussion to help reach a consensus. | ||
| + | ---- | ||
| + | ''<small class="plainlinks" style="line-height:1.3em;">[[Wikipedia:Maintenance|Maintenance]] use only:<br>1. [{{fullurl:Wikipedia:Templates for discussion/Log/{{#time: Y F j}}|action=edit&editintro=Wikipedia:Templates_for_discussion/editnotice§ion=1}} Edit the TfD log] to create the discussion entry.<br>2. Please consider notifying the [{{fullurl:{{FULLPAGENAME}}|action=history}} author(s)] by placing <span class="nowrap">{{tlx|Tfdnotice|{{PAGENAME}}|{{#ifeq:{{PAGENAME}}|{{PAGENAME}}||{{{page}}}}}|subst=yes}} <nowiki>~~~~</nowiki></span> on their talk page(s).</small>''</div> | ||
| + | }}{{category handler | ||
| + | | all = [[Category:Templates for deletion|{{PAGENAME}}]] | ||
| + | | nocat = | ||
| + | | category2 = ¬ | ||
| + | }} | ||
| + | |{{#switch:{{lc:{{{type}}}}} | ||
| + | <!-- Tiny version, used if type=tiny --> | ||
| + | |tiny = | ||
| + | <span style="padding: 0; font-size: xx-small; color: #000000; background-color: #f9f9f9;">'''[[Wikipedia:Templates for discussion#Template:{{ucfirst:{{PAGENAME}}}}|‹See Tfd›]]'''</span> | ||
| + | <!-- Regular inline version, used if type=inline --> | ||
| + | |inline = | ||
| + | <span style="padding: 0; font-size: xx-small; color: #000; border: 1px solid #aaa; background-color: #f9f9f9;">‹The [[Help:Template|template]] ''[[Template:{{ucfirst:{{PAGENAME}}}}|{{ucfirst:{{PAGENAME}}}}]]'' is being [[Wikipedia:Templates for discussion#Template:{{ucfirst:{{PAGENAME}}}}|considered for deletion]].›</span> | ||
| + | <!-- Sidebar version, used if type=sidebar--> | ||
| + | |infobox|box|sidebar= | ||
| + | <div class="boilerplate metadata plainlinks" id="tfd" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; text-align: center; position: relative; float: right; border-bottom: 1px solid #AAAAAA; width: {{px||27em}}">‹ The [[Help:Template|template]] {{#if:|(''[[Template:{{ucfirst:{{{1}}}}}|{{{1}}}]]'')|}} is being [[Wikipedia:Templates for discussion#Template:{{ucfirst:{{PAGENAME}}}}|considered for deletion]]. ›</div> | ||
| + | <!-- No transclusion, used if type=disabled--> | ||
| + | |disabled= | ||
| + | <!-- Default version, used in all other cases --> | ||
| + | |#default = <div class="boilerplate metadata plainlinks" id="tfd" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; text-align: center; border-bottom:1px solid #AAAAAA;">‹ The [[Help:Template|template]] below {{#if:|(''[[Template:{{{1}}}|{{{1}}}]]'')|}} is being considered for deletion. See [[Wikipedia:Templates for discussion#Template:{{ucfirst:{{PAGENAME}}}}|templates for discussion]] to help reach a consensus.›</div> | ||
| + | }} | ||
| + | }} | ||
<span style="display:inline-block;padding:0 .5em;line-height:1.75em;border:1px solid #CAD4E7; font-family:'Lucida Grande',Tahoma,Verdana,sans-serif; {{border-radius|3px}} background:#ECEEF5; text-align:center;">[[File:{{{image|Facebook like thumb.png}}}|text-top|link=|alt=👍]] <span style="color:#3B5998;">{{#if:{{{num|}}}|{{{num|}}} {{PLURAL:{{{num|}}}|user {{{1|likes}}}|users {{{1|like}}}}} this.|{{#if:{{{username|}}}|[[User:{{{username|}}}|{{{username|}}}]] likes this.|{{{1|Like}}}}}}}</span></span><noinclude> | <span style="display:inline-block;padding:0 .5em;line-height:1.75em;border:1px solid #CAD4E7; font-family:'Lucida Grande',Tahoma,Verdana,sans-serif; {{border-radius|3px}} background:#ECEEF5; text-align:center;">[[File:{{{image|Facebook like thumb.png}}}|text-top|link=|alt=👍]] <span style="color:#3B5998;">{{#if:{{{num|}}}|{{{num|}}} {{PLURAL:{{{num|}}}|user {{{1|likes}}}|users {{{1|like}}}}} this.|{{#if:{{{username|}}}|[[User:{{{username|}}}|{{{username|}}}]] likes this.|{{{1|Like}}}}}}}</span></span><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 15:53, 22 April 2012
This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
File:Facebook like thumb.png Like
Contents
Usage
{{like}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
Like
Parameters
- Custom text
{{like|I learned something today}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
I learned something today
- When no parameter name is specified, custom text is assumed
- Icon
{{like|icon=wiki}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
Like
- Default icon
{{like|icon=old}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
Like
- Legacy icon
{{like|icon=fb}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
Like
- Facebook icon
- Username
{{like|username=ExampleUser}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
ExampleUser likes this.
- Num (User Likes)
{{like|num=1}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
1 user likes this.
{{like|num=2}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
2 users like this.
{{like|num=3}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
3 users like this.
- Etc...
Supported parameter combinations
- Custom text
{{like|I learned something yesterday|icon=old}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
I learned something yesterday
- Custom text + icon
{{like|loves|num=1}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
1 user loves this.
- When combined with Num (User likes), custom text replace the verb "like"
{{like|love|num=3}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
3 users love this.
- For plural users, remember to change your verb accordingly
- Icon
{{like|icon=old|username=ExampleUser}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
ExampleUser likes this.
- icon + username
{{like|icon=old|num=1}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
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}} → This template (Like) is being considered for deletion in accordance with Wikipedia's deletion policy. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Like}} ~~~~ on their talk page(s). |
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
| The above documentation is transcluded from Template:Like/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |