Template:User alternative user page: Difference between revisions
Appearance
Content deleted Content added
Updated. |
remove unneeded parameter |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Userbox |
{{Userbox |
||
| border-c = #8888aa |
| border-c = #8888aa |
||
| id = [[ |
| id = [[File:System-users.svg|45px]] |
||
| id-c = orange |
| id-c = orange |
||
| info = This user has an alternative {{#if:{{{link|}}}|[{{{link|}}} user page]|[[Wikipedia:User page|user page]]}} on {{#if:{{{wiki name|}}}|{{{wiki name|}}}|another}} wiki. |
| info = This user has an alternative {{#if:{{{link|}}}|[{{{link|}}} user page]|[[Wikipedia:User page|user page]]}} on {{#if:{{{wiki name|}}}|{{{wiki name|}}}|another}} wiki. |
||
| info-c = skyblue |
| info-c = skyblue |
||
| nocat = {{{nocat|}}} |
|||
}}<noinclude> |
}}<noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
⚫ | |||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"link": { |
|||
"description": "Link to your other user page", |
|||
"example": "https://en.wikipedia.org/wiki/User:Empire_AS", |
|||
"type": "url", |
|||
"suggested": true |
|||
}, |
|||
"nocat": { |
|||
"description": "Don't want to be added to categories?", |
|||
"type": "boolean", |
|||
"autovalue": "no", |
|||
"suggested": true |
|||
}, |
|||
"wiki name": { |
|||
"description": "The name of wiki where you have other user page", |
|||
"example": "Urdu Wikipedia, Wikidata, Wikimedia Commons", |
|||
"type": "boolean", |
|||
"required": true |
|||
} |
|||
}, |
|||
"description": "Template to show your other user pages", |
|||
"paramOrder": [ |
|||
"link", |
|||
"wiki name", |
|||
"nocat" |
|||
] |
|||
} |
|||
⚫ |
Latest revision as of 09:33, 10 September 2020
This user has an alternative user page on another wiki. |
Usage
[edit]{{User alternative user page|link=link to other user page|wiki name=wiki name}}
Where "link" is the link of your other user page. The second parameter is "wiki name" means the other wiki where your alternative user page is available. (eg; wikimedia, wikidata, Urdu Wikipedia, French wikipedia)
Example:
{{User alternative user page|link=https://ur.wikipedia.org/wiki/%D8%B5%D8%A7%D8%B1%D9%81:Empire_AS|wiki name=[[Urdu Wikipedia|Urdu]]}}
It will create:
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:User alternative user page in articles based on its TemplateData.
TemplateData for User alternative user page
Template to show your other user pages
Parameter | Description | Type | Status | |
---|---|---|---|---|
link | link | Link to your other user page
| URL | suggested |
wiki name | wiki name | The name of wiki where you have other user page
| Boolean | required |