Difference between revisions of "About/Documentation"

(Added documentation page for about)
 
m
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
 
Should be placed at the top of an article. Links to pages of similar titles or concepts that the reader may be looking for.
 
Should be placed at the top of an article. Links to pages of similar titles or concepts that the reader may be looking for.
 +
==Usage==
 +
{{T|about|the about template}}<br>
 +
{{T|about|the about template|other templates}}<br>
 +
{{T|about|the about template|other templates|Special:UnusedTemplates}}
 +
 
==Parameters==
 
==Parameters==
{{bullet}} '''(unnamed parameter)''': Text explaining what the article is about.
+
{{parameter|1|Text explaining what the article is about.}}
{{bullet}} '''(unnamed parameter)''': The uses of the similar article that the reader may be looking for. This is usually kept blank if there is more than one similar article.
+
{{parameter|use1|The uses of the similar article that the reader may be looking for.|other uses|Usually kept blank if there is more than one similar article.}}
{{bullet}} '''page''': The name of the page that the reader may be looking for. Links to a documentation page for articles of the same name by default.
+
{{parameter|page1|The name of the page that the reader may be looking for.|<nowiki>{{PAGENAME}} disambiguation</nowiki>}}
==Usage==
+
{{parameter|use2|The uses of a second similar article that the reader may be looking for.|another use}}
<pre>{{about|the about template}}
+
{{parameter|page2|The name of the second page that the reader may be looking for.}}
{{about|the about template|other templates}}
+
 
{{about|the about template|other templates|Special:UnusedTemplates}}</pre>
+
==Errors==
 +
'''No about text provided. Add a name parameter.'''
 +
<includeonly>[[Category:General Wiki Templates]]</includeonly>

Latest revision as of 18:25, 19 August 2023

Description[edit]

Should be placed at the top of an article. Links to pages of similar titles or concepts that the reader may be looking for.

Usage[edit]

{{about|<the about template>}}
{{about|<the about template>|<other templates>}}
{{about|<the about template>|<other templates>|<Special:UnusedTemplates>}}

Parameters[edit]

Arrow.png1: Text explaining what the article is about.
Required.
Arrow.pnguse1: The uses of the similar article that the reader may be looking for.
Optional. Defaults to 'other uses'.
Notes: Usually kept blank if there is more than one similar article.
Arrow.pngpage1: The name of the page that the reader may be looking for.
Optional. Defaults to '{{PAGENAME}} disambiguation'.
Arrow.pnguse2: The uses of a second similar article that the reader may be looking for.
Optional. Defaults to 'another use'.
Arrow.pngpage2: The name of the second page that the reader may be looking for.
Required.

Errors[edit]

No about text provided. Add a name parameter.