Difference between revisions of "About/Documentation"

m (added correct spacing between bullet points)
m
 
(9 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.}}
 
+
{{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}} '''(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|page1|The name of the page that the reader may be looking for.|<nowiki>{{PAGENAME}} disambiguation</nowiki>}}
 +
{{parameter|use2|The uses of a second similar article that the reader may be looking for.|another use}}
 +
{{parameter|page2|The name of the second page that the reader may be looking for.}}
  
{{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.
+
==Errors==
==Usage==
+
'''No about text provided. Add a name parameter.'''
<pre>{{about|the about template}}
+
<includeonly>[[Category:General Wiki Templates]]</includeonly>
{{about|the about template|other templates}}
 
{{about|the about template|other templates|Special:UnusedTemplates}}</pre>
 

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.