Difference between revisions of "Template:Nachkommen"

From FollowTheScore
Jump to: navigation, search
(New page: {{#if:{{{2|}}}|{{#ifeq:{{#sub:{{{2}}}|0|1}}|*|edge "{{{1}}}" to "{{#sub:{{{2}}}|1}} " {type Fokus}|edge "{{{1}}}" to "{{{2}}}" {}|}}|}} {{#if:{{{3|}}}|{{#ifeq:{{#sub:{{{3}}}|0|1}}|*|edge "...)
 
Line 1: Line 1:
{{#if:{{{2|}}}|{{#ifeq:{{#sub:{{{2}}}|0|1}}|*|edge "{{{1}}}" to "{{#sub:{{{2}}}|1}} " {type Fokus}|edge "{{{1}}}" to "{{{2}}}" {}|}}|}}
+
{{#vardefine:v|{{#replace:{{{1|}}}|/^\s*(.*)\s*$/|\1}}}}
{{#if:{{{3|}}}|{{#ifeq:{{#sub:{{{3}}}|0|1}}|*|edge "{{{1}}}" to "{{#sub:{{{3}}}|1}} " {type Fokus}|edge "{{{1}}}" to "{{{3}}}" {}|}}|}}
+
{{#vardefine:n|{{#replace:{{{2|}}}|/^\s*(.*)\s*$/|\1}}}}{{#if:{{#var:n}}|{{#ifeq:{{#sub:{{#var:n}}|0|1}}|*|edge "{{#var:v}}" to "{{#sub:{{#var:n}}|1}}" {type Fokus}|edge "{{#var:v}}" to "{{#var:n}}" {}|}}|}}
{{#if:{{{4|}}}|{{#ifeq:{{#sub:{{{4}}}|0|1}}|*|edge "{{{1}}}" to "{{#sub:{{{4}}}|1}} " {type Fokus}|edge "{{{1}}}" to "{{{4}}}" {}|}}|}}
+
{{#vardefine:n|{{#replace:{{{3|}}}|/^\s*(.*)\s*$/|\1}}}}{{#if:{{#var:n}}|{{#ifeq:{{#sub:{{#var:n}}|0|1}}|*|edge "{{#var:v}}" to "{{#sub:{{#var:n}}|1}}" {type Fokus}|edge "{{#var:v}}" to "{{#var:n}}" {}|}}|}}
{{#if:{{{5|}}}|{{#ifeq:{{#sub:{{{5}}}|0|1}}|*|edge "{{{1}}}" to "{{#sub:{{{5}}}|1}} " {type Fokus}|edge "{{{1}}}" to "{{{5}}}" {}|}}|}}
+
{{#vardefine:n|{{#replace:{{{4|}}}|/^\s*(.*)\s*$/|\1}}}}{{#if:{{#var:n}}|{{#ifeq:{{#sub:{{#var:n}}|0|1}}|*|edge "{{#var:v}}" to "{{#sub:{{#var:n}}|1}}" {type Fokus}|edge "{{#var:v}}" to "{{#var:n}}" {}|}}|}}
 +
{{#vardefine:n|{{#replace:{{{5|}}}|/^\s*(.*)\s*$/|\1}}}}{{#if:{{#var:n}}|{{#ifeq:{{#sub:{{#var:n}}|0|1}}|*|edge "{{#var:v}}" to "{{#sub:{{#var:n}}|1}}" {type Fokus}|edge "{{#var:v}}" to "{{#var:n}}" {}|}}|}}

Revision as of 14:57, 27 September 2007

{{#vardefine:v|{{#replace:|/^\s*(.*)\s*$/|\1}}}} {{#vardefine:n|{{#replace:|/^\s*(.*)\s*$/|\1}}}}edge "{{#var:v}}" to "{{#var:n}}" {} {{#vardefine:n|{{#replace:|/^\s*(.*)\s*$/|\1}}}}edge "{{#var:v}}" to "{{#var:n}}" {} {{#vardefine:n|{{#replace:|/^\s*(.*)\s*$/|\1}}}}edge "{{#var:v}}" to "{{#var:n}}" {} {{#vardefine:n|{{#replace:|/^\s*(.*)\s*$/|\1}}}}edge "{{#var:v}}" to "{{#var:n}}" {}