Nodyn:Cyfieithwyd/doc
Dyma is-ddalen dogfennaeth ar gyfer Nodyn:Cyfieithwyd. Mae'n cynnwys gwybodaeth defnydd, categorïau, dolenni rhyngiaith a chynnwys eraill sydd ddim yn rhan o nodyn dudalen wreiddiol. |
Defnyddir y nodyn hwn i roi gwybodaeth am gynnwys a fewnforwyd i'r Wicipedia Cymraeg o Wicipedia mewn iaith arall. (See here for rationale.)
Defnydd
golyguAr dudalen sgwrs erthygl (neu unrhyw dudalen) sy'n cynnwys cyfieithiad, mewnosodwch y canlynol:
{{cyfieithwyd|CôdIaithGwreiddiol|TeitlTudalenGwreiddiol|fersiwn=123456789|fersiwngosod=987654321|adran=enw}}
Maes | Angenrheidiol? | Defnydd |
---|---|---|
1 (first parameter) |
ydy | The language code of the source page, for example de for German, fr for French, or another from meta:List of Wikipedias.
|
2 (second parameter) |
ydy | The exact name of the source page. (This will become a link, so non-English characters must be retained. Do not transliterate the title.) |
3 (third parameter) |
style="background:#F99;vertical-align:middle;text-align:center;" class="table-no"|Na | Additional pertinent information, in sentence form. This will be inserted at the end of the standard text. |
fersiwn |
Nodyn:Optional | The version identifier of the revision of the source page from which the translation was derived. (To find this, select the history of the source page, and click on the date that corresponds to that revision. The resulting page will have a URL that ends with a number, e.g. ...oldid=123456789 . That number is the version identifier.)
|
fersiwngosod |
Nodyn:Optional | The version identifier of the revision of the target page into which the translation was placed. (Follow the same procedure as for fersiwn , but with the target page.)
|
adran |
Nodyn:Optional | If the inserted translation is contained in one section of the target page, insert its name here. (A direct link to that section will be created.) |
small |
Na | This template defaults to a small message box (equivalent to small=yes ). If you have good reason to use a full-sized talk page banner instead, small=no will generate one.[Note 1]
|
nocat |
Na | Set this parameter to nocat=true only when transcluding the template as an example.[Note 2] (For example, it is used on this documentation page to prevent this page from being categorized as a translation.) Further information is available at Wikipedia:Category suppression.
|
In the preceding table, the first and second (unnamed) parameters are required in order to comply with Wikimedia projects' licencing terms (e.g. CC-BY-SA). The version
and insertversion
parameters are (strongly) recommended, because they allow readers to identify the exact source and target revisions, without searching through the revision histories.
This template can be used more than once, if several translations were inserted (from several revisions of one article, several articles and/or several Wikipedias). Group the {{translated page}} templates in chronological order, with the newest (i.e. largest insertversion
, when used) on top. Arrange the {{translated page}} boxes with other low-priority items, just before the first topic on the talk page. Even if a section of the talk page talks about the translation, avoid placing {{translated page}} there, because the template should not be moved when the section is archived.
Note that this template is a self reference, and therefore should be placed on talk pages and not used directly in articles.
Wikipedia:Template namespace has a general introduction to the use of templates.
Unless nocat=true
is set, pages will be automatically categorised into Category:Translated pages, or the appropriate sub-category. Mainspace pages where this template has been accidentally placed (instead of on the associated talk page) are categorised into Category:Pages with incorrect translated page tag.
- Right-to-left character sets
When translating from a language with a right-to-left character set, it may be necessary to place the page name last. Use 2= and, if desired, 3= to re-order parameters.
Esiamplau
golyguThe following code would produce the message boxes at right, from top to bottom:
This erthygl was edited to contain a total or partial translation of Antoni Gaudí o the Catalaneg Wikipedia. Consult the history of the original page to see a list of its authors. |
This erthygl was edited to contain a total or partial translation of ICE 1 o the Almaeneg Wikipedia. Consult the history of the original page to see a list of its authors. (This notice applies to version 210289191 and subsequent versions of this page.) |
This erthygl was edited to contain a total or partial translation of אלי_קנר o the Hebraeg (modern) Wikipedia. Consult the history of the original page to see a list of its authors. Example translation from Hebrew |
{{cyfieithwyd|ca|Antoni Gaudí|adran=Gweithiau|nocat=true}}
{{cyfieithwyd|de|ICE 1| version=45565777|insertversion=210289191}}
{{cyfieithwyd|he|3=Example translation from Hebrew|2=אלי_קנר}}
See also
golygu- {{Expand language}}, which has several sub-templates such as {{Expand Spanish}}, {{Expand German}}, etc.
- {{Rough translation}}, for a translation which may likely contain errors and needs attention
- {{Cleanup-translation}}, for requesting help from someone with dual fluency
- {{Proofreader needed}}, for requesting a proofread
- Wikipedia:Copying within Wikipedia
Notes
golygu