Template:Translation rtl: Difference between revisions
Jump to navigation
Jump to search
(template for RTL scripts) |
m (tweaking) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{| width="100%" cellpadding="0" cellspacing="0" style="background-color:#3b9fca; color:white" |
{| width="100%" cellpadding="0" cellspacing="0" style="background-color:#3b9fca; color:white" |
||
|- |
|- |
||
| <!-- width=75% --> align= |
| <!-- width=75% --> align=right | <font size="1">{{:Template:Translation/translation of/lang-{{{lang}}}}} '''[[{{{source}}}|{{{source_display|{{{source}}}}}}]]'''</font> |
||
| <!-- width=25% --> align= |
| <!-- width=25% --> align=left | <font size="1">'''<span class="plainlinks">[{{fullurl:{{{source}}}|oldid={{{version}}}}} {{{version_display|{{:Template:Translation/original/lang-{{{lang}}}}}}}}]</span>'''</font> |
||
|- |
|- |
||
| align= |
| align=right | {{:{{{source}}}/translations}} |
||
| align= |
| align=left | <font size="1">'''<span class="plainlinks">[{{fullurl:{{{source}}}|diff=current&oldid={{{version}}}}} {{{diff_display|{{:Template:Translation/changes/lang-{{{lang}}}}}}}}]</span>'''</font> |
||
|- |
|- |
||
|} |
|} |
||
</div><includeonly>[[Category:Translations lang-{{{lang}}}]]</includeonly><noinclude> |
</div><includeonly>[[Category:Translations lang-{{{lang}}}]]</includeonly><noinclude> |
||
This template (in conjunction with [[Template:Translations]]—note the plural—and the <tt>source/translations</tt> page) are used to better keep track of the [[:Category:Translated Pages]] and the [[translating]] effort to lower the language barrier of the project. |
This template (in conjunction with [[Template:Translations]]—note the plural—and the <tt>source/translations</tt> page) are used to better keep track of the [[:Category:Translated Pages]] and the [[translating]] effort to lower the language barrier of the project. |
||
{| align="right" style="color:white;" |
|||
|- |
|||
| style="background:#0093d0;" | raw || style="background:#76aac4;" | light || style="background:#3b9fca;" | mid |
|||
|- |
|||
| style="background:#76aac4;" | #76aac4 || style="background:#3b9fca;" | #3b9fca || style="background:#0093d0;" | #0093d0 |
|||
|- style="color:black;" |
|||
| style="background:#3b9fca;" | #3b9fca || style="background:#0093d0;" | #0093d0 || style="background:#76aac4;" | #76aac4 |
|||
|}</font> |
|||
NOTE: The (blue) color scheme is based on the 'arrow' used for the ''Community'' in the [http://www.laptop.org laptop.org] site. A sample of colors used or thought about can be seen on the right, with further explorations found in the [[Sandbox#Translation & multilingual boxes|Sandbox]]. Comments about them are welcome. |
|||
== Usage == |
== Usage == |
||
Line 44: | Line 34: | ||
<nowiki>{{</nowiki> Translation rtl | lang = ar | source = The OLPC Wiki | version = 30534 |
<nowiki>{{</nowiki> Translation rtl | lang = ar | source = The OLPC Wiki | version = 30534 |
||
| source_display = original |
| source_display = original |
||
| version_display = |
| version_display = translated version |
||
| diff_display = |
| diff_display = latest changes <nowiki>}}</nowiki> |
||
{{ Translation rtl | lang = ar | source = The OLPC Wiki | version = 30534 |
{{ Translation rtl | lang = ar | source = The OLPC Wiki | version = 30534 |
||
| source_display = original | version_display = |
| source_display = original | version_display = translated version | diff_display = latest changes }} |
||
[[Category:Language support]] |
[[Category:Language support]] |
Latest revision as of 14:54, 23 May 2007
{{:Template:Translation/translation of/lang-{{{lang}}}}} [[{{{source}}}|{{{source}}}]] | [{{fullurl:{{{source}}}|oldid={{{version}}}}} {{:Template:Translation/original/lang-{{{lang}}}}}] |
{{:{{{source}}}/translations}} | [{{fullurl:{{{source}}}|diff=current&oldid={{{version}}}}} {{:Template:Translation/changes/lang-{{{lang}}}}}] |
This template (in conjunction with Template:Translations—note the plural—and the source/translations page) are used to better keep track of the Category:Translated Pages and the translating effort to lower the language barrier of the project.
Usage
{{ Translation rtl | lang = <-- 2/3 character language-code of the translation—ie: en, es, ... --> | source = <-- Source page name—ie: "The OLPC Wiki" (sans quotes) --> | version = <-- Version ID# of the edition being translated or last updated --> | source_display = <-- OPTIONAL - display string to the source link above default = value of source --> | version_display = <-- OPTIONAL - display string for the translated version link default = "original" --> | diff_display = <-- OPTIONAL - display string for the differences to current link default = "diff" --> }}
- NOTE
- the version parameter is the number displayed in the source page in the [ID# xxxxx] of the language-navigation blue bar. Keeping this number updated to the LAST version you 'translated' or 'updated' will ease updating the page when following the diff link in your page, as it will show those changes in the original from your last update.
Samples
{{ Translation rtl | lang = ar | source = The OLPC Wiki | version = 30534 }}
ترجمة The OLPC Wiki | الأصل |
english | عربي | پښتو | български | deutsch | español | français | kreyòl ayisyen | italiano | 日本語 | 한국어 | монгол | Bahasa Melayu | नेपाली | norsk | português | română | русский | kinyarwanda | türkçe | 中文 | 繁體中文 |
التغييرات |
{{ Translation rtl | lang = ar | source = The OLPC Wiki | version = 30534 | source_display = original | version_display = translated version | diff_display = latest changes }}
ترجمة original | translated version |
english | عربي | پښتو | български | deutsch | español | français | kreyòl ayisyen | italiano | 日本語 | 한국어 | монгол | Bahasa Melayu | नेपाली | norsk | português | română | русский | kinyarwanda | türkçe | 中文 | 繁體中文 |
latest changes |