Template:Episodename

From AndroWiki
(Difference between revisions)
Jump to: navigation, search
m
(using new magic word)
 
(8 intermediate revisions by one user not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{2}}}
+
<includeonly>{{#urldecode:{{#switch: {{{2}}}
 
| de =
 
| de =
 
  {{#switch: {{{1}}}
 
  {{#switch: {{{1}}}
Line 112: Line 112:
 
   | 5x21 = Das Herz der Reise (1)
 
   | 5x21 = Das Herz der Reise (1)
 
   | 5x22 = Das Herz der Reise (2)
 
   | 5x22 = Das Herz der Reise (2)
   | #default = [http://en.androwiki.st-city.net/index.php test]
+
   | unknown ([{{fullurl:Template:Episodename|action=edit}} add])
 
   }}
 
   }}
 
|
 
|
Line 118: Line 118:
 
   | 1x01 = Under The Night
 
   | 1x01 = Under The Night
 
   | 1x02 = An Affirming Flame  
 
   | 1x02 = An Affirming Flame  
   | 1x03 = To Loose The Faithful Lightning
+
   | 1x03 = To Loose The Fateful Lightning
 
   | 1x04 = D Minus Zero
 
   | 1x04 = D Minus Zero
 
   | 1x05 = Double Helix
 
   | 1x05 = Double Helix
Line 226: Line 226:
 
   | 5x21 = The Heart Of The Journey (1)
 
   | 5x21 = The Heart Of The Journey (1)
 
   | 5x22 = The Heart Of The Journey (2)
 
   | 5x22 = The Heart Of The Journey (2)
   | #default = [http://en.androwiki.st-city.net/index.php?title{{=}}Template:Episodename&action{{=}}edit add]
+
   | unknown ([{{fullurl:Template:Episodename|action=edit}} add])
 
  }}
 
  }}
}}</includeonly><noinclude>
+
}} }}</includeonly><noinclude>
 
==Usage==
 
==Usage==
 
'''Universal'''
 
'''Universal'''
Line 240: Line 240:
 
{{Episodename|1x01}}
 
{{Episodename|1x01}}
 
</pre>
 
</pre>
returns "{{episodename|1xx01}}".
+
returns "{{episodename|1x01}}".
  
  
Line 248: Line 248:
 
{{Episodename|1x01|de}}
 
{{Episodename|1x01|de}}
 
</pre>
 
</pre>
returns "{{episodename|1xx01|de}}".
+
returns "{{episodename|1x01|de}}".
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[de:Vorlage:Folgenname]]
 
[[de:Vorlage:Folgenname]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:41, 28 March 2012

Usage

Universal

{{episodename|"season id"x"episode id"|"language (default is en)"}}


Example (First episode - english)

{{Episodename|1x01}}

returns "Under The Night".


Example (First episode - german)

{{Episodename|1x01|de}}

returns "Die lange Nacht".

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages