Template:User at project

[[{{{project}}}::User:{{{user}}}|{{{user}}}]] at [[{{{project}}}::| Wikimedia Commons]]

Template documentation[view · edit · history · purge]
This documentation is transcluded from Template:User at project/doc.

Displays the linked account name and the linked name of another Wikimedia project where the user has an account or a display name with a link to the account page at the other Wikimedia project. Used by {{PD-user-at-project}}

Usage


{{User at project |1= |2= |3= |4= }}

Template parameters

<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

Category:Templates using TemplateData

Displays the linked account name and the linked name of another Wikimedia project where the user has an account or a display name with a link to the account page at the other Wikimedia project. Used by {{tl|PD-user-at-project}}

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
user name1 user

user name at the other project

Userrequired
project2 project

Name or abbreviation of the other Wikimedia project

wikisource/ws/s
Wikisource
wikipedia/wp/w
Wikipedia
wikinews/wn/n
Wikinews
wikiversity/wv/v
Wikiversity
wiktionary/wikt
Wiktionary
wikiquote/wq/q
Wikiquote
wikibooks/wb/b
Wikibooks
wikispecies/species/wsp
Wikispecies
metawikipedia/meta/m
Wikimedia Meta
wikimedia/foundation/wmf
Wikimedia Foundation
incubator/inc
Wikimedia Incubator
mediawiki/mw
MediaWiki
tools
Wikimedia Toolserver
translatewiki
translatewiki.net
commons/c
Wikimedia Commons
-

Suggested values
wikisource wikipedia wikinews wikiversity wiktionary wikiquote wikibooks wikispecies metawikipedia meta wikimedia incubator mediawiki tools translatewiki
Default
commons
Linerequired
language3 language

ISO 639 language code

Default
en
Lineoptional
real name4 realname

real name or name to be displayed

Default
(user name)
Lineoptional
display languagelang

ISO 639 code of the language in which the information should be displayed

Lineoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Relies on:
{{User at project/core}}, {{Projectname}}, {{Language}}

Examples

{{User at project|User name|w|en|Display name}}

renders as:


{{User at project|User name|wiktionary|fr|Display name}}

renders as:

See also

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)

here

  • If your language has the noun preceding the adjective: |your language code = [[{{{4}}}User:{{{1}}}|{{{5}}}]] "at" in your language [[{{{4}}}||{{{2}}} {{{3}}}]]
  • If your language has the adjective preceding the noun: |your language code = [[{{{4}}}User:{{{1}}}|{{{5}}}]] "at" in your language [[{{{4}}}|{{{3}}} {{{2}}}]]
  • For more complex structures, then you will have to figure it out on your own - or ping my talk page Magog the Ogre (talk) 23:24, 16 May 2012 (UTC)
Category:Templates using LangSwitch for internationalisation

Example

Category:Internationalization templates Category:Templates using LangSwitch for internationalisation Category:Templates using TemplateData Category:User templates Category:Username internal link templates