Difference between revisions of "Template:InvertName"
From The Doctor Who Cuttings Archive
Jump to navigationJump to searchJohn Lavalie (talk | contribs) |
John Lavalie (talk | contribs) |
||
Line 2: | Line 2: | ||
Var temp = {{#var:temp}} | 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 12:57, 20 October 2013
Var temp = {{{author}}}
var temp = -1 {{{author}}}, {{{author}