Difference between revisions of "Template:Translate-link"
From Dragon Age Toolset Wiki
m (^-^'') |
m (^-^'') |
||
| Line 70: | Line 70: | ||
|rowspan="3" |<pre>{{Translate-link|Main Page||ru}}</pre><pre>{{Translate-link|Main Page|3=ru}}</pre> | |rowspan="3" |<pre>{{Translate-link|Main Page||ru}}</pre><pre>{{Translate-link|Main Page|3=ru}}</pre> | ||
|If the language of the current page could not be extracted | |If the language of the current page could not be extracted | ||
| − | |See below ''' | + | |See below '''↓''' |
|- | |- | ||
|If the page translated into current language exists (i.e. this page in Russian) | |If the page translated into current language exists (i.e. this page in Russian) | ||
| Line 80: | Line 80: | ||
|rowspan="3" |<pre>{{Translate-link|Main Page|Other name|ru}}</pre> | |rowspan="3" |<pre>{{Translate-link|Main Page|Other name|ru}}</pre> | ||
|If the language of the current page could not be extracted | |If the language of the current page could not be extracted | ||
| − | |See below ''' | + | |See below '''↓''' |
|- | |- | ||
|If the page translated into current language exists (i.e. this page in Russian) | |If the page translated into current language exists (i.e. this page in Russian) | ||
Revision as of 22:58, 7 November 2010
Description
Template allows you to quickly create links to translated page DA Builder Wiki using the language of the current page:
| Source code | Condition | Output |
|---|---|---|
{{Translate-link|Main Page}}
|
If the language of the current page could not be extracted | Translate-link: GETTING_LANGUAGE_ERROR |
| If the page translated into current language exists (i.e. this page in Russian) | Main Page | |
| If the page translated into current language does not exist (i.e. this page in Russian) | Main Page (en) | |
{{Translate-link|Main Page|Other name}}
|
If the language of the current page could not be extracted | Translate-link: GETTING_LANGUAGE_ERROR |
| If the page translated into current language exists (i.e. this page in Russian) | Other name | |
| If the page translated into current language does not exist (i.e. this page in Russian) | Other name (en) | |
{{Translate-link|Main Page||ru}}{{Translate-link|Main Page|3=ru}}
|
If the language of the current page could not be extracted | See below ↓ |
| If the page translated into current language exists (i.e. this page in Russian) | Main Page | |
| If the page translated into current language does not exist (i.e. this page in Russian) | Main Page (en) | |
{{Translate-link|Main Page|Other name|ru}}
|
If the language of the current page could not be extracted | See below ↓ |
| If the page translated into current language exists (i.e. this page in Russian) | Other name | |
| If the page translated into current language does not exist (i.e. this page in Russian) | Other name (en) |