Template:Mtdetails
Jump to navigation
Jump to search
this displays the relationship, linking the partner via the NGOB template
we need to break on "with" and encapsulate what is after "with" with NGOB template
Really all this template does is spit out a UNIX time sequenced (faux random) 0-9
ok what we are going to do her is pass the randten var to this template and then let it spit out a relationship status based on that
{{#sub:string|start|length}} {{#sub:{{{1}}}|start|0}} {{#sub:{{{1}}}|0|end}}
debug expr
{{{1}}} : {{#pos:{{{1}}}|with|14}} : {{#expr: 4+ {{#pos:{{{1}}}|with|14}}}} : {{NGOB|{{#sub:{{{1}}}|{{#expr: 4+ {{#pos:{{{1}}}|with|14}}}}|0}}}} : {{#sub:{{{1}}}|0|{{#expr: 4+ {{#pos:{{{1}}}|with|14}}}}}} {{NGOB|{{#sub:{{{1}}}|{{#expr: 4+ {{#pos:{{{1}}}|with|14}}}}|0}}}}