Difference between revisions of "Template:ProfileLogic2"
From NorCon MUSH
| (22 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | |-valign="top" | + | <includeonly>|-valign="top" |
| − | {{#ifeq: {{{2}}}| | | {{!}} '''Status''' {{!}}{{!}} {{{2}}} }} | + | {{#ifeq: {{{2}}}| | | {{!}} '''Status''' {{!}}{{!}} {{{2}}}{{#set:Status={{{2}}}}} }} |
|-valign="top" | |-valign="top" | ||
{{#ifeq: {{{4}}} | {{{3}}} | | {{!}}'''Owner:''' {{!}}{{!}} {{{4}}} }} | {{#ifeq: {{{4}}} | {{{3}}} | | {{!}}'''Owner:''' {{!}}{{!}} {{{4}}} }} | ||
| Line 6: | Line 6: | ||
|colspan=2 style="text-align:center; padding: 5px; font-size: larger; background-color:{{#ifexist: Template:{{{11}}}|{{ {{{11}}} }}|<nowiki>#000000</nowiki>}}; border: {{#ifexist: Template:{{{11}}}2|{{ {{{11}}}2 }}|<nowiki>#000000</nowiki>}} 2px solid; box-shadow: 0 1px 10px rgba(0,0,0,0.1); color:{{{fgcolor|#FFFFFF}}};"{{!}} | |colspan=2 style="text-align:center; padding: 5px; font-size: larger; background-color:{{#ifexist: Template:{{{11}}}|{{ {{{11}}} }}|<nowiki>#000000</nowiki>}}; border: {{#ifexist: Template:{{{11}}}2|{{ {{{11}}}2 }}|<nowiki>#000000</nowiki>}} 2px solid; box-shadow: 0 1px 10px rgba(0,0,0,0.1); color:{{{fgcolor|#FFFFFF}}};"{{!}} | ||
|} | |} | ||
| − | + | {{#set:Gender={{uc:{{{12}}}}}}} | |
| − | {{#ifeq: {{{8}}} | | | {{#ifeq: {{{8|}}}|0| | | + | {{#ifeq: {{{8}}} | | | {{#ifeq: {{{8|}}}|0| |==At a Glance == |
{{{!}}class="table table-striped" style="max-width: 730px; background-color:#FFFFFF !important;" | {{{!}}class="table table-striped" style="max-width: 730px; background-color:#FFFFFF !important;" | ||
! Age | ! Age | ||
| Line 15: | Line 15: | ||
! Eyes | ! Eyes | ||
{{!}}- | {{!}}- | ||
| − | {{!}}~{{#expr:trunc {{#expr:{{#expr:{{#expr: {{#time: U | now }}-{{{8}}}}}/31449600}}*3}}}} turns | + | {{!}}~{{#expr:trunc {{#expr:{{#expr:{{#expr: {{#time: U | now }}-{{{8}}}}}/31449600}}*3}}}} turns {{#set:Age={{#pad:{{#expr:trunc {{#expr:{{#expr:{{#expr: {{#time: U | now }}-{{{8}}}}}/31449600}}*3}}}}|2|0|left}}}} |
| − | {{!}}{{{9}}} | + | {{!}}{{{9}}} {{#ifeq: {{{9}}}|||{{#set:Feet={{#explode:{{#replace:{{{9}}}|.|'}}|'|0}}' {{#ifeq:{{#replace:{{#explode:{{#replace:{{{9}}}|.|'}}|'|1}}|"|}}||0|{{#replace:{{#explode:{{#replace:{{{9}}}|.|'}}|'|1}}|"|}}}}"}} {{#set:Inches={{#expr:{{#expr: {{#explode:{{#replace:{{{9}}}|.|'}}|'|0}}*12}}+{{#ifeq:{{#replace:{{#explode:{{#replace:{{{9}}}|.|'}}|'|1}}|"|}}||0|{{#replace:{{#explode:{{#replace:{{{9}}}|.|'}}|'|1}}|"|}}}}}}}}}} |
| − | {{!}}{{{10}}} | + | {{!}}{{{10}}} {{#ifeq: {{{10}}}|||{{#set:Build={{ucfirst:{{{10}}}}}}}}} |
| − | {{!}}{{{6}}} | + | {{!}}{{{6}}} {{#ifeq: {{{6}}}|||{{#set:Hair={{lc:{{{6}}}}}}}}} |
{{!}}{{{7}}} | {{!}}{{{7}}} | ||
{{!}}} }} }} | {{!}}} }} }} | ||
| Line 25: | Line 25: | ||
{{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{5}}}|* |<nowiki>* </nowiki>}}|%r|<br>}}|%R|<br>}}|%t|}}|%b|}} | {{#replace:{{#replace:{{#replace:{{#replace:{{#replace:{{{5}}}|* |<nowiki>* </nowiki>}}|%r|<br>}}|%R|<br>}}|%t|}}|%b|}} | ||
| − | }} | + | }}</includeonly> |