Module:About/doc: Difference between revisions

Content deleted Content added
m +{{high-use|99 000+}}
Tactica (talk | contribs)
m Requires Module:Pagetype too, unfortunately.
 
(9 intermediate revisions by 8 users not shown)
Line 1:
{{documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{high-userisk|99 000109000+ }}
{{Module rating|protected}}
{{Lua|Module:Hatnote|Module:Hatnote list|Module:Pagetype}}
 
This module implements the {{tl|about}} [[Wikipedia:Hatnote|hatnote]] template.
Line 10 ⟶ 13:
**<code>aboutForm</code> 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 <code>'This %s is about %s. '</code>.
**<code>sectionString</code> Gives the page type string for when the named argument <code>section</code> is specified. Defaults to <code>'section'</code>.
**<code>pageTypeStrings</code> Gives the page type string when provided by namespace. Defaults to <code>{[0] = 'article', [14] = 'category'}</code>.
**<code>defaultPageType</code> Gives the page type string when neither the <code>section</code> argument nor the namespace provide the page type. Defaults to <code>'page'</code>.
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandboxSandbox other| |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Hatnote modules]]