Doctor Who Cuttings Archive

Difference between revisions of "Template:InvertName"

From The Doctor Who Cuttings Archive
Jump to navigationJump to search
Line 1: Line 1:
 
{{#vardefine:temp | {{{author}}} }}
 
{{#vardefine:temp | {{{author}}} }}
Var temp = {{#var:temp}}
 
 
{{#vardefine:pos | {{#rpos:{{#var:temp}} | }} }}
 
{{#vardefine:pos | {{#rpos:{{#var:temp}} | }} }}
var temp = {{#var:pos}}
 
 
{{#if: {{#expr: {{#var:pos}} > 0}}  
 
{{#if: {{#expr: {{#var:pos}} > 0}}  
 
     | {{#vardefine:lastName  | {{#sub: {{#var:temp}} | {{#expr: {{#var:pos}} + 1 }} }} }}
 
     | {{#vardefine:lastName  | {{#sub: {{#var:temp}} | {{#expr: {{#var:pos}} + 1 }} }} }}

Revision as of 13:03, 20 October 2013


{{{author}}}, {{{author}}