Difference between revisions of "Template:Accessibility dispute/sandbox/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>AussieLegend
(creating documentation subpage for enhanced template)
 
blackwiki>AussieLegend
(→‎Usage: added documentation (not complete))
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
 
== Usage ==
Place this template at the top of an article, section or template with apparent accessibility issues. The template takes one unnamed parameter:
+
Place this template at the top of an article, section or template with apparent accessibility issues. The most basic format for this template is:
 +
<nowiki>{{Accessibility dispute|date=</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki>
 +
The template may be [[Help:Substitution|substed]], which will automatically add the date. The format for this use is:
 +
<nowiki>{{subst:Accessibility dispute}}</nowiki>
  
* {{Tlx|Accessibility dispute|Talk thread}} – link to the particular thread on the talk page which deals with the dispute.
+
== Parameters ==
* {{Tlx|Accessibility dispute|Talk thread|section}} – says "this '''section'''{{'}}s accessibility" rather than "this article's".
+
The template takes a number of parameters to enhance its functionality.
  
 +
=== ''date'' ===
 +
The date parameter is generally used to indicate when the template was added to a page. If the date parameter is omitted, a [[Wikipedia:Bot policy|bot]] will add it later.
 +
 +
=== ''reason'' ===
 +
A description of specific issues that resulted in the template being added may be included using this parameter. For example, adding {{para|reason|column scopes are missing}} will result in the template displaying:
 +
 +
{{Accessibility dispute/sandbox|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}|reason=column scopes are missing}}
 +
 +
=== ''talk'' ===
 +
This parameter modifies the link to the article's talk page such that the template will now link to a specific discussion on the talk page. For example, if {{para|talk|Accessibility issues}}, the template will link to the thread on the article's talk page titled "Accessibility issues"
 +
 +
== Categorisation ==
 
This template places pages in [[:Category:Articles with accessibility problems]].
 
This template places pages in [[:Category:Articles with accessibility problems]].
  

Revision as of 16:06, 15 November 2015

Usage

Place this template at the top of an article, section or template with apparent accessibility issues. The most basic format for this template is:

{{Accessibility dispute|date=November 2025}}

The template may be substed, which will automatically add the date. The format for this use is:

{{subst:Accessibility dispute}}

Parameters

The template takes a number of parameters to enhance its functionality.

date

The date parameter is generally used to indicate when the template was added to a page. If the date parameter is omitted, a bot will add it later.

reason

A description of specific issues that resulted in the template being added may be included using this parameter. For example, adding |reason=column scopes are missing will result in the template displaying:

talk

This parameter modifies the link to the article's talk page such that the template will now link to a specific discussion on the talk page. For example, if |talk=Accessibility issues, the template will link to the thread on the article's talk page titled "Accessibility issues"

Categorisation

This template places pages in Category:Articles with accessibility problems.