Template:Trans: Difference between revisions

m
Add hyphen if {{{2}}} exists
m (Using {{#if: to detech 2nd parameter }})
m (Add hyphen if {{{2}}} exists)
Line 1:
<div class="examplemeta translation">'''Translation of''': [[{{PAGENAME}}#{{{1}}}|{{{1}}}{{#if:{{{2|}}}|- {{{2}}} }}]]</div><noinclude>
 
Sometimes examples are translated directly from other examples by multi-lingual users. This is a template to help people see where examples came from when they were translated directly from other languages. Of course the idea of RC is that all of the examples on a page do exactly the same thing in the same way, but this is not always possible. Examples that differ in this way may still be able to be translated back and forth. Some examples need to use fundamentally different methods to do things where certain things aren't available in a language (GUIs, data structures, etc.) or languages aren't similar in a way that relates to the task. These examples probably cannot be translated between each other.