Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:By/doc: Difference between revisions

Template page
m +link
m expansion
Line 30: Line 30:
*{{t2|F}}
*{{t2|F}}
*{{t2|Attrib}}
*{{t2|Attrib}}
*{{t2|Attribs}}
*{{t2|Original}}
*{{t2|Original}}
*{{t2|Own based}}
*{{t2|Own based}}
Line 45: Line 46:
|2    = nl</code> ''or'' <code>br
|2    = nl</code> ''or'' <code>br
|2d  = to force a final line feed; otherwise same line continuation ''may'' follow  
|2d  = to force a final line feed; otherwise same line continuation ''may'' follow  
|2def = nothing
|2stat=optional-
|2stat=optional-
|3    = mc=
|3    = ns
|3d  = set to <code>mc=y</code> if used for [[#Meta categories]]
|3d  = "no space" - suppress leading space
|3def = space
|3stat=optional-
|3stat=optional-
|4    = mc=
|4d  = set to <code>mc=y</code> if used for [[#Meta categories]]
|4stat=optional-
}}
}}
See also the explanations in the [[Template talk:I18n/by|Comparison table]].  
See also the explanations in the [[Template talk:I18n/by|Comparison table]].  

Revision as of 12:57, 26 April 2018

Returns the word "by" in the language setting of the user's interface.

Usage

{{By}}

Template parameters

ParameterDescriptionDefaultStatus
1This optional parameter can be used to specify a user.

The value of that parameter is used as an argument for the template U
except when it starts with either "&", "<", "[" or "{" — it will be used as-it-is
e.g. wikilinks; other user name templates like {{Ut}}, {{Uw}}; or &#8202;


This option is useful for other templates who display file names, e.g.

emptyoptional
nl or brto force a final line feed; otherwise same line continuation may follownothingoptional
ns"no space" - suppress leading spacespaceoptional
mc=set to mc=y if used for #Meta categoriesemptyoptional

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

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) See also the explanations in the Comparison table.

Meta categories

It's a problem that the English "by" has different translation depending on the semantics.

Deutsch: Je nach der Bedeutung muss "by" in von (jemandem), durch (jemanden) oder nach (einem Kriterium) übersetzt werden.

Die Vorlage differenziert in

  • "durch" (Standard)
  • "von" (wenn ein Benutzername folgt)
  • "nach" (wenn der Parameter mc= [für "Metakategorie"] gesetzt ist)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.