svitek-tc16/en
Z thewoodcraft.org
Two auxiliary templates have been created to speed up and facilitate the preparation of the coup page for translation.
- The auxiliary template
{{S}}
is able to generate an active link to the future page of the translation on the coup page, which also conveys a second attribute to it as a parameter.
- The message number is always the first one. The second one should be the text to be inserted directly on the page that is being created. Sometimes it may be an entire paragraph, but in the case of a coup name it will not be more than a few words.
- When the created page is saved with the help of the template
{{S}}
, you can replace its code by means of the substitution template{{P}}
.
- This accepts one attribute only, i.e. the message number. Simply use P instead of S, and the translation will appear - or at least a text highlighted in yellow to notify of a text that needs to be translated. And you can perform the substitution. Instead of
{{subst:P|0|…
there will be{{subst:P|0|…
. After saving, the entire template code will be replaced with the template{{svitek}}
which will insert the translated text. - You will see in the preview if it works and if the correct message number is used. With the help of the template
{{P}}
you can therefore check whether the message in translation with the number you have used already exists. Forgetting about the template substitution is not a problem. All you need to do is open the page for editing again, fill in the missing string and save it again.
The use of these templates is best explained by the short video showing how the coup name 1L1 was prepared for translation. Among others, it demonstrates how to work with the template
{{TBC}}
. (Poznamenal Keny)