Difference between revisions of "Template:Uniform"
From Scouts Canada Wiki
(Created page with "<div style="width: {{#expr:{{{scale|1}}}*200 round 0}}px; height: {{#expr:{{{scale|1}}}*350 round 0}}px; margin: 0 auto; padding: 0; border:1px #ccc solid;"> <!-- background i...") |
|||
Line 2: | Line 2: | ||
<!-- background image | <!-- background image | ||
--><div style="position: relative; left: {{#expr:{{{scale|1}}}*0 round 0}}px; top: {{#expr:{{{scale|1}}}*0 round 0}}px; width: {{#expr:{{{scale|1}}}*200 round 0}}px; height: {{#expr:{{{scale|1}}}*350 round 0}}px; padding: 0;"><!-- | --><div style="position: relative; left: {{#expr:{{{scale|1}}}*0 round 0}}px; top: {{#expr:{{{scale|1}}}*0 round 0}}px; width: {{#expr:{{{scale|1}}}*200 round 0}}px; height: {{#expr:{{{scale|1}}}*350 round 0}}px; padding: 0;"><!-- | ||
− | -->[[File: | + | -->[[File:{{#ifeq:{{{gender|}}}|female|Female|Male}} BG.png|{{#expr:{{{scale|1}}}*200 round 0}}x{{#expr:{{{scale|1}}}*350 round 0}}px]] |
− | + | <!-- Body | |
− | + | --><div style="position: absolute; left: {{#expr:{{{scale|1}}}*7 round 0}}px; top: {{#expr:{{{scale|1}}}*68 round 0}}px; width: {{#expr:({{{scale|1}}}*190 round 0) - 1}}px; height: {{#expr:({{{scale|1}}}*150 round 0) - 1}}px; background-color: #{{{color_body}}};">{{#if: {{{pattern_body|}}}|[[File:{{#ifeq:{{{gender|}}}|female|Female|Male}} Shirt {{{pattern_body}}}.png|{{#expr:{{{scale|1}}}*190 round 0}}px|top|link=|alt=]]}}</div> | |
− | --><div style="position: absolute; left: {{#expr:{{{scale|1}}}*7 round 0}}px; top: {{#expr:{{{scale|1}}}*68 round 0}}px; width: {{#expr:({{{scale|1}}}*190 round 0) - 1}}px; height: {{#expr:({{{scale|1}}}*150 round 0) - 1}}px; background-color: #{{{color_body}}};">{{#if: {{{pattern_body|}}}|[[File: | + | <!-- Head |
− | + | --><div style="position: absolute; left: {{#expr:{{{scale|1}}}*55 round 0}}px; top: {{#expr:{{{scale|1}}}*5 round 0}}px; width: {{#expr:{{{scale|1}}}*115 round 0}}px; height: {{#expr:{{{scale|1}}}*79 round 0}}px; background-color: #{{{color_head}}};">{{#if: {{{pattern_head|}}}|[[File:{{#ifeq:{{{gender|}}}|female|Female|Male}} Head {{{pattern_head}}}.png|{{#expr:{{{scale|1}}}*115 round 0}}px|top|link=|alt=]]}}</div> | |
− | + | <!-- Legs | |
− | <!-- | + | --><div style="position: absolute; left: {{#expr:{{{scale|1}}}*42 round 0}}px; top: {{#expr:{{{scale|1}}}*162 round 0}}px; width: {{#expr:{{{scale|1}}}*100 round 0}}px; height: {{#expr:{{{scale|1}}}*155 round 0}}px; background-color: #{{if empty|{{{color_legs|}}}|FFF}};">{{#if: {{{pattern_legs|}}}|[[File:{{#ifeq:{{{gender|}}}|female|Female|Male}} Pant {{{pattern_body}}}.png|{{#expr:{{{scale|1}}}*100 round 0}}px|top|link=|alt=]]}}</div> |
− | --><div style="position: absolute; left: {{#expr:{{{scale|1}}}* | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | <!-- Legs | + | |
− | --><div style="position: absolute; left: {{#expr:{{{scale|1}}}* | + | |
− | + | ||
− | + | ||
</div></div> | </div></div> |
Revision as of 16:11, 2 November 2017
[[File:{{#ifeq:|female|Female|Male}} BG.png|{{#expr:1*200 round 0}}x{{#expr:1*350 round 0}}px]]
{{#if: |[[File:{{#ifeq:|female|Female|Male}} Shirt {{{pattern_body}}}.png|{{#expr:1*190 round 0}}px|top|link=|alt=]]}}
{{#if: |[[File:{{#ifeq:|female|Female|Male}} Head {{{pattern_head}}}.png|{{#expr:1*115 round 0}}px|top|link=|alt=]]}}
{{#if: |[[File:{{#ifeq:|female|Female|Male}} Pant {{{pattern_body}}}.png|{{#expr:1*100 round 0}}px|top|link=|alt=]]}}