Template:About user: Difference between revisions
Jump to navigation
Jump to search
Dat Hack3r (talk | contribs) Added capacity to manually specify links. |
Dat Hack3r (talk | contribs) m Fixed an error. |
||
| Line 1: | Line 1: | ||
{{#ifeq: {{NAMESPACE}} | User | {{Hatnote|This is the [https://www.mediawiki.org/wiki/Help:User_page user page] of a user on the Wiki. For the page about the user on OWOT, see [[{{#if: {{{1}}} | {{{1}}} | {{PAGENAME}} }}]].}} | {{Hatnote|This page is about the user on OWOT. For the [https://www.mediawiki.org/wiki/Help:User_page user page] of the user on the Wiki, see [[User:{{#if: {{{1}}} | {{{1}}} | {{PAGENAME}} }}]]}} }}<noinclude> | {{#ifeq: {{NAMESPACE}} | User | {{Hatnote|This is the [https://www.mediawiki.org/wiki/Help:User_page user page] of a user on the Wiki. For the page about the user on OWOT, see [[{{#if: {{{1|}}} | {{{1|}}} | {{PAGENAME}} }}]].}} | {{Hatnote|This page is about the user on OWOT. For the [https://www.mediawiki.org/wiki/Help:User_page user page] of the user on the Wiki, see [[User:{{#if: {{{1|}}} | {{{1|}}} | {{PAGENAME}} }}]].}} }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 15:24, 2 April 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 |