Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:Expand Russian

Permanently protected template
From Wikipedia, the free encyclopedia
You can helpexpand this article with text translated from the corresponding article in Russian.Click [show] for important translation instructions.
  • Machine translation, likeDeepL orGoogle Translate, is a useful starting point for translations, but translators must revise errors as necessary and confirm that the translation is accurate, rather than simply copy-pasting machine-translated text into the English Wikipedia.
  • Consideradding a topic to this template: there are already 1,277 articles in themain category, and specifying|topic= will aid in categorization.
  • Do not translate text that appears unreliable or low-quality. If possible, verify the text with references provided in the foreign-language article.
  • Youmust providecopyright attribution in theedit summary accompanying your translation by providing aninterlanguage link to the source of your translation. A model attribution edit summary isContent in this edit is translated from the existing Russian Wikipedia article at [[:ru:Exact name of the Russian article]]; see its history for attribution.
  • You may also add the template{{Translated page|ru|Exact name of Russian article}} to thetalk page.
  • For more guidance, seeWikipedia:Translation.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used onapproximately 4,600 pages and changes may be widely noticed. Test changes in the template's/sandbox or/testcases subpages, or in your ownuser subpage. Consider discussing changes on thetalk page before implementing them.
This template may have notransclusions. This is because it is substituted by a tool or script, it is used as part of a short-term or less active Wikipedia process, or for some other reason.

This template may be used to mark articles that have counterparts in Russian Wikipedia that are better than in English Wikipedia. These articles may be improved bytranslating content from the original Russian.

Usage

To mark an article, tag it with

{{Expand Russian|Russian article title|date=July 2025}}

This template adds articles to the categoryCategory:Articles needing translation from Russian Wikipedia. See#Categorization below.

The template should be placed atop the article pagealong with other maintenance templates.

Parameters

All parameters are optional:

  • |1=ARTICLE – title of the article on Russian Wikipedia. This defaults to the article linked to the English article via Wikidata.
  • |section=yes – changes notice to "This section may be expanded..." (default: 'article')
  • |fa=yes – used to tag articles that arefeatured articles in Russian; used in category name generation.
  • |topic=TOPIC – a topic code used in category name generation.
  • |date=July 2025 – set by bot if omitted.

Topics and categorization

This template categorizes articles into categories. Basic categorization is into: ⟶Category:Articles needing translation from Russian Wikipedia. Usage of parametersfa andtopic define subcategories, as follows:

Topic codes are expanded into fuller descriptors in the category name; for example: codegeo becomesGeography, and codegov becomesGovernment and politics.

Topics recognized by Expand Russian and the categories they are associated with include:

Topic codeTopic name
and category
Articles in
category
bioBiography1,993
cultCulture297
geoGeography398
govGovernment and politics240
histHistory120
milMilitary225
scitechScience and technology74
sportSports29
structBuilding and structure132
transpTransport193
 Main category(11 C) 1,277

Adding a new topic and subcategory

click show to view details on adding new topics and subcategories

This section provides information about categorization in the{{Expand language}} suite of templates, and explains how to make a new subcategory available for use in a particular language template by use of a topic code. Editors may then employ the topic code in the{{Expand Russian}} template as shorthand for categorizing the article in which it appears into a subcategory associated with that topic code. If you've done this before, and just need a refresher, seeQuickstart. Otherwise, skip to thegory details below.

Quickstart

Here is a summary of the steps to add a newsubcategory and a new topic code to the table forTemplate:Expand Russian (details follow):

  • determine which missingtopic code you wish to add (e.g., 'bio'; see col 1 of thetopic table)
  • find thetopic name for the topic (e.g., 'Biography'; see col. 2 of theTopics table)
  • derive the subcategory name from thetopic name and the language name ("Russian", in this case) (e.g.,Biography articles needing translation from Russian Wikipedia (click the topic name in col. 2 of thetable for an example; e.g.,Category:Biography articles needing translation from Russian Wikipedia)
  • create the Category page for Russian using that name, and categorize it underCategory:Articles needing translation from Russian Wikipedia
  • Adjust the#switch statement inTemplate:Expand Russian template to include:|topic code =Topic name; for example:
    | bio = Biography (model after the#switch inTemplate:Expand French if needed)
  • To use the new code, go to an article needing categorization into the new subcat, and add:
    {{Expand Russian|topic=topic code|date=July 2025}} to the top of the article.
Background

A topic code is just an abbreviation or word, likebio for "Biography", orsport for "Sports". Associating a topic code with a subcategory name, and enabling its use to categorize articles on which the{{Expand LanguageName}} appears has two main requirements:

  • Creation of a category page with the appropriate subcategory name for the topic code
  • Ensuring that the wikicode of the particular{{Expand LanguageName}} template associates the topic code with the right subcategory name.

The{{Expand language}} suite of templates automatically categorizes pages on which it appears intoCategory:Articles needing translation fromLanguageName Wikipedia. For many languages, this category may grow too large, andsubcategorization is needed. The suite of Expand language templates supports subcategorization into a number of pre-defined subcategories, and provides an easy way of indicating subcategorization by using the|topic= param in the template, instead of having to know about a complex set of category naming or remember the category names. This page explains how to do that.

Categorizing articles needing translation

Adding a new topic goes hand in hand with creating a new subcategory in which to categorize articles needing expansion. The top level (and sometimes only) category for articles needing expansion for a given language follows this pattern:

Category:Articles needing translation fromLanguageName Wikipedia

But the top level category can often grow to many hundreds or thousands of articles and that's too much for one category. In order to facilitate a better and more useful categorization, the{{Expand language}} suite of templates supports subcategorization into a number of subcategories using the|topic= parameter of the language-specific templates, such as{{Expand French}} or{{Expand German}}. Tentopic codes are defined, such asbio (for 'Biography') andmil (for 'Military'): when used as the value of the|topic= parameter, they imply (but do not automatically create) a subcategory of a specific name. For example:

{{Expand Russian|topic=bio}}

would categorize the article in which it appears into subcategory ⟶Category:Biography articles needing translation from Russian Wikipedia .

Topic codes and topic names

The rows in thetopic code table show what subcategories already exist under the top level category for a given language; for example, for Russian, the topic code table ishere. The existing subcategories can be found by clicking (or mousing over) the topic names in column two of the table.

There are ten predefined topic codes that are conventionally available for addition to, and use by, any of the ExpandLanguageName templates. They are:bio,cult,geo,gov,hist,mil,sci,sport,struct, andtransp. Each code is recognized by param|topic= in the ExpandLanguageName template, which will categorize the page on which it appears into a subcategory based on the associated topic name, e.g.,bioBiography, and so forth).

Creating a new subcategory
  1. choose atopic code from thetopic code table and determine thetopic name from column 2 of the table (e.g.,bio ⟶ Biography)
  2. define the subcategory name as a function of topic name and language name, using this pattern:
    Topic name articles needing translation fromLanguage name Wikipedia
    Example: for topic nameBiography and Russian we have: Biography articles needing translation from Russian Wikipedia
  3. create the category, e.g.,Category:Biography articles needing translation from Russian Wikipedia
    Add the following text, and save the page:
{{Transcat|language=Russian|topic=bio}}{{CatAutoTOC}}
Enable subcategorization in the ExpandLanguageName template

Creating a new subcategory is independent of the Expand language template, and one could always categorize an article into the subcategory the way any article is categorized, simply by adding the category between brackets to the end of the article. But to make subcategorization easier, the specific Expand language template for a given language will categorize the article into a subcategory automatically, if the correct association between topic code and topic name appears in the wikicode of the template.

Edit the specific Expand language template for the given language; for example, for Russian: editTemplate:Expand Russian

The association between topic code and topic name for a given language, and by extension between the topic code and the subcategory name, occurs in the wikicode of the specific language name templates, in particular, in the assignment of|topic=, which usually occurs within a#switch statement which picks one of a number of topic codes and assigns it to the topic name. Some languages have no support for topic codes, for example,{{Expand Chinese}}; others have full support, like{{Expand French}}, and others have something in between. To enable|topic= to be used to categorize the article on which it appears into the associated subcategory requires this code to be set up correctly; if the wikicode does not already have it, you can copy the#switch statement that assigns the value of|topic= fromTemplate:Expand French.

Classify articles into the new subcategory

To classify articles into the new subcategory, use a specific Expand language template with the|topic= param.

  • Edit the article and find the{{Expand Russian}} template
  • Paste|topic=bio into the template call; it can go anywhere, but after the name is good, e.g.:
    {{Expand Russian|John Doe|topic=bio|date=July 2025}}
  • Add an edit summary e.g., "Added topic=bio to Expand template."; Preview as needed, and Publish.
Creating non-standard subcategories and topic codes

Topic codes that are not among the standard ten may be created for specific languages and associated with new subcategories as needed. Define a topic code, a topic name corresponding to the variable part of the subcategory name, and add it to the template#switch statement.

To add the new code to the topic table in the doc page, create a /topics subpage, e.g.,Template:Expand Russian/topics in which the row for the topics table is defined. If the file exists, it is transcluded at the end of the table. For an example, see|topic=commune in the{{Expand French}} template.

This is a more advanced type of operation which requires some basic knowledge of template writing, so it may be easier to do this by adding anEdit request on the Talk page of the template concerned. In the Edit request, specify the topic code and subcategory name you wish to add. For example, you could say, "Please add new topic codemtn to{{Expand Nepali}} which should categorize articles containing{{Expand Nepali|topic=mtn}} into subcategory 'Mountain articles needing translation from Nepali Wikipedia' using the topic codemtn." You can create the subcategory yourself, following theinstructions above.

See also

The abovedocumentation istranscluded fromTemplate:Expand Russian/doc.(edit |history)
Editors can experiment in this template'ssandbox(edit |diff) and testcases(create) pages.
Add categories to the/doc subpage.Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Expand_Russian&oldid=1218263016"
Categories:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp