සැකිල්ල:පුළුල් කරන්න චීන/doc
This is a documentation subpage for සැකිල්ල:පුළුල් කරන්න චීන. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
මෙම සැකිල්ල පිටු බොහෝ ගණනක භාවිතා වන නිසා සිදුකරන වෙනස් කිරීම් බොහෝ ස්ථානවලට බලපානු ඇත. ඔබ සිදුකිරීමට අදහස් කරන වෙනස්කම් මෙම සැකිල්ලට අදාළ /sandbox හෝ /testcases උපපිටුවල, හෝ ඔබගේ පරිශීලක උපපිටුවේ පළමුව සිදුකොට පරීක්ෂාකර බලන්න. එම වෙනස්කම් සිදුකිරීමට ප්රථම අදාළ සාකච්ඡා පිටුවේ ඒ පිළිබඳව සංවාදයක් ගොඩනැගීමට කාරුණික වන්න.
Transclusion count updated automatically (ප්රලේඛනය වෙතට යොමුවන්න). |
This template may have no transclusions, 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 Chinese Wikipedia that are better than in English Wikipedia. These articles may be improved by translating content from the original Chinese.
Usage
සංස්කරණයTo mark an article, tag it with
{{Expand Chinese|Chinese article title|date=නොවැම්බර් 2024}}
This template adds articles to the category Category:Articles needing translation from Chinese Wikipedia. See #Categorization below.
The template should be placed atop the article page .
Parameters
සංස්කරණයAll parameters are optional:
|1=ARTICLE
– title of the article on Chinese 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')|date=නොවැම්බර් 2024
– set by bot if omitted.
Topics and categorization
සංස්කරණයThis template categorizes articles into categories. Basic categorization is into: ⟶ Category:Articles needing translation from Chinese Wikipedia. Usage of parameters fa
and topic
define subcategories.
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 Chinese}} 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, see Quickstart. Otherwise, skip to the gory details below. Here is a summary of the steps to add a new subcategory and a new topic code to the table for Template:Expand Chinese (details follow):
A topic code is just an abbreviation or word, like bio for "Biography", or sport for "Sports". Associating a topic code with a subcategory name, and enabling its use to categorize articles on which the
The {{Expand language}} suite of templates automatically categorizes pages on which it appears into 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:
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
would categorize the article in which it appears into subcategory ⟶ Category:Biography articles needing translation from Chinese Wikipedia . The rows in the topic code table show what subcategories already exist under the top level category for a given language; for example, for Chinese, the topic code table is here. 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 Expand LanguageName templates. They are: bio, cult, geo, gov, hist, mil, sci, sport, struct, and transp. Each code is recognized by param
{{Transcat|language=Chinese|topic=bio}}
{{CatAutoTOC}} 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 Chinese: edit Template:Expand Chinese 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 To classify articles into the new subcategory, use a specific Expand language template with the
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 Chinese/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 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 an Edit 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 code mtn to {{Expand Nepali}} which should categorize articles containing |
See also
සංස්කරණය- WP:CWW, policy which governs copying and translating articles from other language Wikipedias
- WP:TFOLWP, describes required attribution when adding translated content to an article
- Wikipedia:Translation, general info
- Help:Translation, a how-to page about how to copy and translate text from a Wikipedia foreign language article into English.
- Wikipedia:Pages needing translation into English
- {{Expand language}}, parent template
- {{Translated page}}, may be added to the Talk page to provide supplemental translation attribution
- {{Proofreader needed}}, may be added to the article page to request assistance after translation from a given language
- Random article needing expansion from Chinese Wikipedia
- Category:Articles needing translation from Chinese Wikipedia
- Category:Wikipedia articles needing cleanup after translation from Chinese
- Category:Wikipedia translation templates
- Wikipedia:WikiProject Intertranswiki, WikiProject for translating content from non-English Wikipedias
- Wikipedia:WikiProject Languages, general WikiProject for languages
See also
සංස්කරණය- {{Chinese script}}