Template
Difference between revisions of "User SUL Box/doc"
< Template:User SUL Box
WikiLucas00 (talk | contribs) m (1 revision imported: Import SUL Box template from Meta) |
|
(No difference)
|
Latest revision as of 20:55, 20 August 2021
Lua error in package.lua at line 80: module 'strict' not found.
Parameters
- The code is:
{{User SUL Box|[1=]Language|[2=]Project|[3=]username}}
whereLanguage
is the language of your main account (default: your current interface language) andProject
is the project of your main account (default: Wikipedia). The template assumes that the name of the current page is your username, but you may optionally provide a different username by using theusername
parameter. - The template appears in your current interface language if a subtemplate in that language has been created. Otherwise, it appears in English.
Examples
- «
{{User SUL Box}}
» :
This user has created a global account. This user's main account is on Wikipedia (English). |
- «
{{User SUL Box|fr}}
» :
This user has created a global account. This user's main account is on Wikipedia (French). |
- «
{{User SUL Box|2=q}}
» :
This user has created a global account. This user's main account is on Wikiquote (English). |
- «
{{User SUL Box|1=fr|2=n}}
» :
This user has created a global account. This user's main account is on Wikinews (French). |
To create a new language subtemplate
- Place the subtemplate at
[[Template:User SUL Box/''langcode'']]
.
TemplateData
<templatedata> { "params": { "1": { "label": "Language", "default": "current interface language" }, "2": { "label": "Project", "default": "Wikipedia" }, "3": { "label": "Username" }, "text_align": { "label": "text align", "example": "right" } } } </templatedata>