Template:FAC/archive/doc

Usage
This template attempts to generate a wikilink target for an archive of the FAC discussion for the current page. The result is blank on failure; on success, it has the form &lt;suffix&gt;.

The first unnamed parameter optionally identifies the archive suffix. A second optional unnamed parameter specifies an article name to use instead of.
 * If the parameter is an integer, the wikilink target is a section of the archive page, naming the article.
 * If the parameter is not an integer, the wikilink target is just as specified, with no section unless explicitly included in the parameter.
 * If the parameter is blank or omitted, and there is an archive page whose suffix is the name of the article, the link is to that archive page.
 * Otherwise the result is blank.

Although this is categorized as a subtemplate of FAC, it is meant to be available for general use and as of this writing is also used by FA.

Examples
Suppose the template is called from  (which can be simulated using  ).