Doctor Who Cuttings Archive

Difference between revisions of "Template:InvertName"

From The Doctor Who Cuttings Archive
Jump to navigationJump to search
Line 4: Line 4:
 
     | {{#vardefine:lastName  | {{#sub: {{#var:temp}} | {{#expr: pos + 1 }} }} }}
 
     | {{#vardefine:lastName  | {{#sub: {{#var:temp}} | {{#expr: pos + 1 }} }} }}
 
       {{#vardefine:firstName | {{#sub: {{#var:temp}} | 0 | {{#expr: pos - 1 }} }} }}
 
       {{#vardefine:firstName | {{#sub: {{#var:temp}} | 0 | {{#expr: pos - 1 }} }} }}
       lastName, firstName
+
       {{#var:lastName)), {{#var:firstName}}
 
     | {{#var:temp}}
 
     | {{#var:temp}}
 
}}
 
}}

Revision as of 12:48, 20 October 2013


{{#if: Expression error: Unrecognized word "pos".

    | 
      
      {{{author}}}