Difference between revisions of "Template:EAR/doc"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
m (moved Template:Ear/doc to Template:EAR/doc: to match main page name)
imported>SMcCandlish
(cleanup/update)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
  
=== Usage ===
+
== Usage ==
 
* {{tlx|ear|''status''|''message'' &#126;&#126;&#126;&#126;}}
 
* {{tlx|ear|''status''|''message'' &#126;&#126;&#126;&#126;}}
 
* {{tlx|ear|''status''|2&#x3D;''message'' &#126;&#126;&#126;&#126;}} (''necessary'' when your message or signature includes the <code>=</code> character)
 
* {{tlx|ear|''status''|2&#x3D;''message'' &#126;&#126;&#126;&#126;}} (''necessary'' when your message or signature includes the <code>=</code> character)
Line 17: Line 17:
 
* <small>(new!)</small> stuck (short form: ''stu'')
 
* <small>(new!)</small> stuck (short form: ''stu'')
  
====Examples====
+
===Examples===
 
* {{tlx|ear|r|Foo. &#126;&#126;&#126;&#126;}}: {{ear|r|Foo. &#126;&#126;&#126;&#126;}}
 
* {{tlx|ear|r|Foo. &#126;&#126;&#126;&#126;}}: {{ear|r|Foo. &#126;&#126;&#126;&#126;}}
 
* {{tlx|ear|a|Foo. &#126;&#126;&#126;&#126;}}: {{ear|a|Foo. &#126;&#126;&#126;&#126;}}
 
* {{tlx|ear|a|Foo. &#126;&#126;&#126;&#126;}}: {{ear|a|Foo. &#126;&#126;&#126;&#126;}}
Line 26: Line 26:
 
* {{tlx|ear|stu|Foo. &#126;&#126;&#126;&#126;}}: {{ear|stu|Foo. &#126;&#126;&#126;&#126;}}
 
* {{tlx|ear|stu|Foo. &#126;&#126;&#126;&#126;}}: {{ear|stu|Foo. &#126;&#126;&#126;&#126;}}
  
=====Special case=====
+
====Special case====
 
*{{n}} {{tlx|ear|a|Foo bar baz <nowiki>[http://en.wikipedia.org/w/index.php?title=Main_Page&diff=139993 foo bar baz!]</nowiki>. &#126;&#126;&#126;&#126;}}: {{ear|a|Foo bar baz [http://en.wikipedia.org/w/index.php?title=Main_Page&diff=139993 foo bar baz!]. &#126;&#126;&#126;&#126;}}
 
*{{n}} {{tlx|ear|a|Foo bar baz <nowiki>[http://en.wikipedia.org/w/index.php?title=Main_Page&diff=139993 foo bar baz!]</nowiki>. &#126;&#126;&#126;&#126;}}: {{ear|a|Foo bar baz [http://en.wikipedia.org/w/index.php?title=Main_Page&diff=139993 foo bar baz!]. &#126;&#126;&#126;&#126;}}
 
*{{y}} {{tlx|ear|a|2&#x3D;Foo bar baz <nowiki>[http://en.wikipedia.org/w/index.php?title=Main_Page&diff=139993 foo bar baz!]</nowiki>. &#126;&#126;&#126;&#126;}}: {{ear|a|2=Foo bar baz [http://en.wikipedia.org/w/index.php?title=Main_Page&diff=139993 foo bar baz!]. &#126;&#126;&#126;&#126;}}
 
*{{y}} {{tlx|ear|a|2&#x3D;Foo bar baz <nowiki>[http://en.wikipedia.org/w/index.php?title=Main_Page&diff=139993 foo bar baz!]</nowiki>. &#126;&#126;&#126;&#126;}}: {{ear|a|2=Foo bar baz [http://en.wikipedia.org/w/index.php?title=Main_Page&diff=139993 foo bar baz!]. &#126;&#126;&#126;&#126;}}
  
===Notes===
+
==Notes==
 
This template was created to expand on {{tlx|resolved}}, {{tlx|unresolved}}, etc. for some specialized purposes that were proposed at [[WT:EAR]] in April and May of 2009. While some of the parameters cause identical behavior to the templates above, this template was created so as to permit easy unification of the icon styles used on [[WP:EAR]], as well as to avoid taking up multiple simple template names (such as "answered", "cant").
 
This template was created to expand on {{tlx|resolved}}, {{tlx|unresolved}}, etc. for some specialized purposes that were proposed at [[WT:EAR]] in April and May of 2009. While some of the parameters cause identical behavior to the templates above, this template was created so as to permit easy unification of the icon styles used on [[WP:EAR]], as well as to avoid taking up multiple simple template names (such as "answered", "cant").
  
Line 37: Line 37:
 
Please be careful when making changes to this template, and especially avoid ''removing'' possible parameters as it may badly break earlier uses of the template. A default case which displays an error may be a good solution to avoid having items previously tagged one way showing up as resolved when changes to this template occur.
 
Please be careful when making changes to this template, and especially avoid ''removing'' possible parameters as it may badly break earlier uses of the template. A default case which displays an error may be a good solution to avoid having items previously tagged one way showing up as resolved when changes to this template occur.
  
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
==See also==
 +
{{Resolved/See also}}
  
</includeonly>
+
<includeonly>
 +
<!-- ADD CATEGORIES BELOW THIS LINE -->
 +
[[Category:Resolution templates|{{PAGENAME}}]]
 +
[[Category:Image with comment templates|{{PAGENAME}}]]
 +
 
 +
<!-- ADD INTERWIKIS BELOW THIS LINE -->

Revision as of 18:21, 27 September 2011

Usage

  • {{ear|status|message ~~~~}}
  • {{ear|status|2=message ~~~~}} (necessary when your message or signature includes the = character)

Both parameters should be specified for this template; while it will work without the second parameter specified, it is considered poor form on most noticeboards to not include a reason, or to at least sign and datestamp it. At Wikipedia:Editor assistance/Requests (WP:EAR) at least, such timestamps are used for determining when to archive a thread.

Possible status types:

  • resolved (short form: r)
  • answered (short form: a)
  • unclear (short form: unc)
  • unresolved (short form: unr)
  • stale (short form: s)
  • (new!) moved (short form: m)
  • (new!) stuck (short form: stu)

Examples

Special case

  • Template:N {{ear|a|Foo bar baz [http://en.wikipedia.org/w/index.php?title=Main_Page&diff=139993 foo bar baz!]. ~~~~}}:
    20x20px Answered
  • Template:Y {{ear|a|2=Foo bar baz [http://en.wikipedia.org/w/index.php?title=Main_Page&diff=139993 foo bar baz!]. ~~~~}}:
    20x20px Answered – Foo bar baz foo bar baz!. ~~~~

Notes

This template was created to expand on {{resolved}}, {{unresolved}}, etc. for some specialized purposes that were proposed at WT:EAR in April and May of 2009. While some of the parameters cause identical behavior to the templates above, this template was created so as to permit easy unification of the icon styles used on WP:EAR, as well as to avoid taking up multiple simple template names (such as "answered", "cant").

Changing the icons is a snap. The icons currently in here are just a group of possibilities which use the current templates' icons and maintain a stylistic similarity with the new ones.

Please be careful when making changes to this template, and especially avoid removing possible parameters as it may badly break earlier uses of the template. A default case which displays an error may be a good solution to avoid having items previously tagged one way showing up as resolved when changes to this template occur.

See also

Template:Resolved/See also