Module:About/doc
This is a documentation subpage for Module:About. It contains usage information, categories and other content that is not part of the original Module page. |
This is a documentation subpage for Module:About. It contains usage information, categories and other content that is not part of the original Module page. |
This Lua module is used on approximately 109,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to this module should first be tested in its /sandbox or /testcases subpages. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
This module is subject to page protection. It is a highly visible module in use by a very large number of pages. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
Uses Lua: |
Usage
- The
about
function implements the {{About }} template directly, using the frame and applying no options. This should probably only be used in {{About }}.
- The
_about
function can be used from Lua to supply a custom arguments list (its first argument) and/or an options table (its second argument). Options include:aboutForm
A string that can be used to substitute the form of the initial "about" message. It should include two substitution points: the first for the page type (e.g. "article"), and the second for the description of what the page is about. It should also include a trailing space for easy concatenation or omission. Defaults to'This %s is about %s. '
.sectionString
Gives the page type string for when the named argumentsection
is specified. Defaults to'section'
.