Difference between revisions of "Template:Uniform"

From Scouts Canada Wiki
Jump to: navigation, search
 
Line 8: Line 8:
 
--><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>
 
--><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
 
<!-- 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}}}*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_pant}}}.png|{{#expr:{{{scale|1}}}*100 round 0}}px|top|link=|alt=]]}}</div>
 
</div></div>
 
</div></div>
 +
 +
<noinclude>
 +
{{documentation
 +
|syntax=pattern_head, pattern_body, pattern_pant as well as color_head, color_body, etc.}}
 +
</noinclude>

Latest revision as of 16:14, 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_pant}}}.png|{{#expr:1*100 round 0}}px|top|link=|alt=]]}}


Template Documentation.png Documentation of the Uniform template


This page is the documentation page of the template Uniform.
Your description goes here. Be sure to describe when/when not to use your template.


Additional information:
Found in: Scouts Canada Wiki
Syntax:
{{pattern_head, pattern_body, pattern_pant as well as color_head, color_body, etc.}}
Help page: Template:Documentation