Changes
setting up wiki translation system based on the OLPC wiki version
|}
|}
</div><includeonly>{{#ifeq: {{{status|xx}}} | {{translation/wanted/lang-{{{lang}}}}} | {{Translation/no translation/lang-{{{lang}}} | source = {{{source}}} }} [[Category:{{#ifexist:Template:Translation/wanted/lang-{{{lang}}}|{{translation/wanted/lang-{{{lang}}}}}|Translations wanted/lang-{{{lang}}} }}]] {{ {{#if:{{NAMESPACE}}||:}}{{{source}}} }} | {{#ifeq:{{{status|}}} | {{translation/incomplete/lang-{{{lang}}}}} | {{#ifexist:Template:translation/translation-incomplete/lang-{{{lang}}}|{{translation/translation-incomplete/lang-{{{lang}}}}}|{{translation/translation-incomplete/lang-en}} }}[[Category:Ongoing translations/lang-{{{lang}}}]] | [[Category:Translations lang-{{{lang}}}]]}} }}</includeonly><noinclude>
</div><includeonly>{{#ifeq: {{{status|xx}}} | {{translation/wanted/lang-{{{lang}}}}} | {{Translation/no translation/lang-{{{lang}}} | source = {{{source}}} }} [[Category:{{#ifexist:Template:Translation/wanted/lang-{{{lang}}}|{{translation/wanted/lang-{{{lang}}}}}|Translations wanted/lang-{{{lang}}} }}]] {{ {{#if:{{NAMESPACE}}||:}}{{{source}}} }} | {{#ifeq:{{{status|}}} | {{translation/incomplete/lang-{{{lang}}}}} | {{#ifexist:Template:translation/translation-incomplete/lang-{{{lang}}}|{{translation/translation-incomplete/lang-{{{lang}}}}}|{{translation/translation-incomplete/lang-en}} }}[[Category:Ongoing translations/lang-{{{lang}}}]] | [[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.<font size="-1">
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.
== Usage ==
== Usage ==
<nowiki>{{</nowiki> Translation
<nowiki>{{</nowiki> Translation
| lang = <-- 2/3 character language-code of the translation—ie: <tt>en, es, ...</tt> -->
| lang = <-- 2/3 character language-code of the translation—ie: <tt>en, es, ...</tt> -->
| source = <-- Source page name—ie: "The OLPC Wiki" (sans quotes) -->
| source = <-- Source page name—ie: "The Sugar Labs Wiki" (sans quotes) -->
| version = <-- Version ID# of the edition being translated or last updated -->
| version = <-- Version ID# of the edition being translated or last updated -->
| ''source_display'' = <-- OPTIONAL - display string to the source link above
| ''source_display'' = <-- OPTIONAL - display string to the source link above
== Samples ==
== Samples ==
<nowiki>{{</nowiki> Translation | lang = es | source = The OLPC Wiki | version = 30534 <nowiki>}}</nowiki>
<nowiki>{{</nowiki> Translation | lang = es | source = The Sugar Labs Wiki | version = 30534 <nowiki>}}</nowiki>
{{ Translation | lang = es | source = The OLPC Wiki | version = 30534 }}
{{ Translation | lang = es | source = The Sugar Labs Wiki | version = 30534 }}
<nowiki>{{</nowiki> Translation | lang = es | source = The OLPC Wiki | version = 30534
<nowiki>{{</nowiki> Translation | lang = es | source = The Sugar Labs Wiki | version = 30534
| source_display = original
| source_display = original
| version_display = versión traducida
| version_display = versión traducida
| diff_display = últimos cambios <nowiki>}}</nowiki>
| diff_display = últimos cambios <nowiki>}}</nowiki>
{{ Translation | lang = es | source = The OLPC Wiki | version = 30534
{{ Translation | lang = es | source = The Sugar Labs Wiki | version = 30534
| source_display = original | version_display = versión traducida | diff_display = últimos cambios }}
| source_display = original | version_display = versión traducida | diff_display = últimos cambios }}
[[Category:Language support]]
[[Category:Translation]]
</noinclude>
</noinclude>