Template:About user/doc: Difference between revisions
Jump to navigation
Jump to search
Dat Hack3r (talk | contribs) Created documentation. |
Dat Hack3r (talk | contribs) Added {{High priority}} because this template is original to this Wiki (i.e., it was not pulled from Wikipedia). |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{High priority}} | ||
If the link is incorrect, you can manually specify the correct page name: {{Tlx|About user| | {{Tlx|About user}} makes the important distinction between a Wiki page about an OWOT user and a user page. To use it, [[MW:Transclusion|transclude]] the template at the top of Wiki pages about OWOT users and user pages, and it will automatically create a clarifying hatnote. | ||
; On a Wiki page : {{Tlx|About user}} → {{About user}} | |||
; On a user page : {{Tlx|About user}} → {{Hatnote|This is the [https://www.mediawiki.org/wiki/Help:User_page user page] of the user on this Wiki. For the page about the OWOT user, see [[{{PAGENAME}}]].}} | |||
If the link is incorrect, you can manually specify the correct page name: | |||
; On a Wiki page : {{Tlx|About user|Owot}} → {{About user|Owot}} | |||
; On a user page : {{Tlx|About user|Owot}} → {{Hatnote|This is the [https://www.mediawiki.org/wiki/Help:User_page user page] of the user on this Wiki. For the page about the OWOT user, see [[Owot]].}} | |||
== TemplateData == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Page name", | |||
"description": "The page name of the article or the user page to link to if the default link is incorrect", | |||
"example": "Owot", | |||
"type": "wiki-page-name", | |||
"default": "By default, this template will link to the article or user page with the same base page name (i.e., excluding namespace) as the page it is on." | |||
} | |||
}, | |||
"description": "This template creates a clarifying hatnote to distinguish between a Wiki page about an OWOT user and the corresponding user page on the Wiki.", | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
Latest revision as of 14:25, 1 December 2024
| This template is a high priority for maintenance as it is original to the OWOT Wiki and used in articles. As such, this template may contain bugs and it should be a top priority of template maintainers to quickly fix any issues that arise with it. Discuss breaking changes on the talk page before implementing them. |
{{About user}} makes the important distinction between a Wiki page about an OWOT user and a user page. To use it, transclude the template at the top of Wiki pages about OWOT users and user pages, and it will automatically create a clarifying hatnote.
- On a Wiki page
{{About user}}→- On a user page
{{About user}}→
If the link is incorrect, you can manually specify the correct page name:
- On a Wiki page
{{About user|Owot}}→- On a user page
{{About user|Owot}}→
TemplateData
This template creates a clarifying hatnote to distinguish between a Wiki page about an OWOT user and the corresponding user page on the Wiki.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page name | 1 | The page name of the article or the user page to link to if the default link is incorrect
| Page name | optional |