Template

User SUL Box/doc

< Template:User SUL Box
Revision as of 20:55, 20 August 2021 by WikiLucas00 (talk | contribs) (1 revision imported: Import SUL Box template from Meta)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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}} where Language is the language of your main account (default: your current interface language) and Project 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 the username 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}} » :
Wikimedia logo family complete-2023.svgThis user has created a global account. This user's main account is on Wikipedia (English).
  • « {{User SUL Box|fr}} » :
Wikimedia logo family complete-2023.svgThis user has created a global account. This user's main account is on Wikipedia (French).
  • « {{User SUL Box|2=q}} » :
Wikimedia logo family complete-2023.svgThis user has created a global account. This user's main account is on Wikiquote (English).
  • « {{User SUL Box|1=fr|2=n}} » :
Wikimedia logo family complete-2023.svgThis 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>