Difference between revisions of "Template:Scenario Task Translation"

 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<!-- translated version of Scenario Task. accepts Base Page and Language -->
+
<!-- translated version of Scenario Task. accepts Base Page and Language -->{{ #vardefine: Language|{{{Language}}} }}{{ #set: Base Page={{{Base Page}}} }} {{ #set: Language={{{Language}}} }} {{ #set: Scenario Task Description={{{Scenario Task Description}}} }}
{{Translated Text|Scenario|{{{Language}}} }}: {{Translated Scenarios|{{{Base Page}}}|{{{Language}}} }}
+
{{ #ifeq: {{{Language}}}|fa|<div class="l-rtl">}}
 +
{{:Scenario/{{{Language}}} }}: {{ #ask: [[{{{Base Page}}}]]|?Scenario Task Type|format=template|template=Translated Scenarios|mainlabel=- }}
  
{{{Translated Text}}}
+
{{{Scenario Task Description}}}
  
{{Translated Text|From Here|{{{Language}}} }}
+
{{ #ask: [[Scenario Task Parent::{{{Base Page}}}]]|format=template|template=Translated Subtasks|link=none|intro={{:From Here/{{{Language}}} }} … }}
  
 
{{Translated Subtasks|{{{Base Page}}}|{{{Language}}} }}
 
{{Translated Subtasks|{{{Base Page}}}|{{{Language}}} }}
 +
{{ #ifeq: {{{Language}}}|fa|</div>}}
 +
[[Category:Scenario Task Translation]]
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
[[Category:Scenario System]]
 
[[Category:Scenario System]]
 
</noinclude>
 
</noinclude>

Latest revision as of 17:12, 19 November 2015