Difference between revisions of "Template:Translations/Original"

From Sugar Labs
Jump to navigation Jump to search
m
m
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{FULLPAGENAME}}
 +
 +
{{ #ifexist : {{FULLPAGENAME}} | true | false }}
 +
 +
{{ #if: 1 | do if true | do if false }}
 +
 +
<!--
 
<div style="border-top:1px solid #888888; border-bottom:1px solid #888888; margin:0px;">
 
<div style="border-top:1px solid #888888; border-bottom:1px solid #888888; margin:0px;">
 
<table width="100%" cellpadding="0" cellspacing="0" style="background-color:#d0e6f9; color:grey">
 
<table width="100%" cellpadding="0" cellspacing="0" style="background-color:#d0e6f9; color:grey">
 
<tr>
 
<tr>
  <td>&nbsp;&nbsp;
+
  <td>&nbsp;&nbsp;{{{1|{{#ifexist: {{NAMESPACE}}:{{PAGENAME}}/translations
{{#ifexist:{{NAMESPACE}}:{{PAGENAME}}/translations<!--
+
    |{{{{NAMESPACE}}:{{PAGENAME}}/translations|current=ORIGINAL}}
-->|{{{{NAMESPACE}}:{{PAGENAME}}/translations|current=ORIGINAL}}<!--
+
    |{{Translations/Instructions}} }} }}}</td>
-->|{{Translations/Instructions}} }}</td>
 
 
  <td align="right" style="font-size:80%">[[Translating/HowTo|HowTo]]&nbsp;'''[ID#&nbsp;{{REVISIONID}}]'''&nbsp;{{#if:{{{1|}}}||&nbsp;<span class="plainlinks">[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}/translations|action=edit}} <tt>'''+/-'''</tt>]&nbsp;&nbsp;</span>}}
 
  <td align="right" style="font-size:80%">[[Translating/HowTo|HowTo]]&nbsp;'''[ID#&nbsp;{{REVISIONID}}]'''&nbsp;{{#if:{{{1|}}}||&nbsp;<span class="plainlinks">[{{fullurl:{{NAMESPACE}}:{{PAGENAME}}/translations|action=edit}} <tt>'''+/-'''</tt>]&nbsp;&nbsp;</span>}}
 
</td>
 
</td>
Line 12: Line 18:
 
</div>
 
</div>
 
<includeonly>[[Category:Translated]]</includeonly>
 
<includeonly>[[Category:Translated]]</includeonly>
<noinclude><!--
+
<noinclude>
 +
-->
 +
<!--
  
 
The reason why there's an HTML TABLE (instead of a wiki table) was because when a sub-page containing '|' characters was included, they were interpreted / parsed as table cell parameters, resulting in the first 'translated page' lost... or interpreted as invalid cell parameters.
 
The reason why there's an HTML TABLE (instead of a wiki table) was because when a sub-page containing '|' characters was included, they were interpreted / parsed as table cell parameters, resulting in the first 'translated page' lost... or interpreted as invalid cell parameters.

Latest revision as of 10:53, 2 July 2008

Template:Translations/Original

{{ #ifexist : Template:Translations/Original | true | false }}

do if true


Usage

1. To mark a page for translation, include the Template:Translations on the top of the page to be translated.

{{Translations}}

2. Save the page.

3. When the page reloads, the translation bar will have instructions to create the translation page

Please copy/paste "{{Translations/List | source=Template:Translations/Instructions | origlang=en | translated={{{translated}}} | xx | }}" (where xx is ISO 639 language code for your translation) to Template:Translations/Instructions/translations<//small>
english | español