Difference between revisions of "Template:Infobox WorldScouting/uniform/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--  
+
<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;">
  Add your experimental template code here
+
<!-- background image
--><noinclude>
+
--><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:WikiProject Scouting uniform template {{#ifeq:{{{gender|}}}|female|female|male}} background.svg|{{#expr:{{{scale|1}}}*200 round 0}}x{{#expr:{{{scale|1}}}*350 round 0}}px]]
 +
{{#ifeq:{{{gender|}}}|female
 +
|<!-- Body (female)
 +
--><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:WikiProject Scouting uniform template female {{{pattern_body}}}{{{skintone|}}}.svg|{{#expr:{{{scale|1}}}*190 round 0}}px|top|link=|alt=]]}}</div>
 +
<!-- Head (female)
 +
--><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:WikiProject Scouting uniform template female {{{pattern_head}}}{{{skintone|}}}.svg|{{#expr:{{{scale|1}}}*115 round 0}}px|top|link=|alt=]]}}</div>
 +
<!-- Legs (female)
 +
--><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:WikiProject Scouting uniform template female {{{pattern_legs}}}{{#ifeq:{{{pattern_legs|}}}|trousers||{{{skintone|}}}}}.svg|{{#expr:{{{scale|1}}}*100 round 0}}px|top|link=|alt=]]}}</div>
  
{{Scouting uniform
+
|<!-- Body (male)
|alt          = description...
+
--><div style="position: absolute; left: {{#expr:{{{scale|1}}}*4 round 0}}px; top: {{#expr:{{{scale|1}}}*28 round 0}}px; width: {{#expr:({{{scale|1}}}*180 round 0) - 1}}px; height: {{#expr:({{{scale|1}}}*200 round 0) - 1}}px; background-color: #{{{color_body}}};">{{#if: {{{pattern_body|}}}|[[File:WikiProject Scouting uniform template male {{{pattern_body}}}{{{skintone|}}}.svg|{{#expr:{{{scale|1}}}*180 round 0}}px|top|link=|alt=]]}}</div>
|pattern_head  = campaign hat
+
<!-- Head (male)
|color_head    = D80000
+
--><div style="position: absolute; left: {{#expr:{{{scale|1}}}*80 round 0}}px; top: {{#expr:{{{scale|1}}}*3 round 0}}px; width: {{#expr:({{{scale|1}}}*70 round 0) - 1}}px; height: {{#expr:({{{scale|1}}}*76 round 0) - 2}}px; background-color: #{{{color_head}}};">{{#if: {{{pattern_head|}}}|[[File:WikiProject Scouting uniform template male {{{pattern_head}}}{{{skintone|}}}.svg|{{#expr:{{{scale|1}}}*70 round 0}}px|top|link=|alt=]]}}</div>
|pattern_body  = shirt short sleeves
+
<!-- Legs (male)
|color_body    = 00FFFF
+
--><div style="position: absolute; left: {{#expr:{{{scale|1}}}*40 round 0}}px; top: {{#expr:({{{scale|1}}}*147 round 0)+1}}px; width: {{#expr:({{{scale|1}}}*103 round 0) - 1}}px; height: {{#expr:({{{scale|1}}}*155 round 0) - 1}}px; background-color: #{{if empty|{{{color_legs|}}}|FFF}};">{{#if: {{{pattern_legs|}}}|<div style="position:relative; left:0px; top:-1px; width: {{#expr:({{{scale|1}}}*103 round 0) - 1}}px; height: {{#expr:{{{scale|1}}}*155 round 0}}px;">[[File:WikiProject Scouting uniform template male {{{pattern_legs}}}{{#ifeq:{{{pattern_legs|}}}|trousers||{{{skintone|}}}}}.svg|{{#expr:{{{scale|1}}}*103 round 0}}px|top|link=|alt=]]</div>}}</div>
|pattern_legs  = shorts
 
|color_legs    = D80000
 
|title        = A Scout test
 
}}
 
 
 
{{clear}}
 
 
 
{{Scouting uniform
 
|alt          = description...
 
|pattern_head  = beret
 
|color_head    = BD33A4
 
|pattern_body  = shirt long sleeves
 
|color_body    = 8DB600
 
|pattern_legs  = trousers
 
|color_legs    = FFEF00
 
|title        = Another Scout test
 
}}
 
 
 
{{Scouting uniform
 
|alt          = description...
 
|pattern_head  = baseball cap
 
|color_head   = FF5050
 
|pattern_body  = shirt long sleeves
 
|color_body    = FF5050
 
|pattern_legs  = trousers
 
|color_legs    = FF50FF
 
|title        = Another Scout test 2
 
}}
 
 
 
{{Scouting uniform
 
|alt          = description...
 
|pattern_head = barehead
 
|color_head    = 505050
 
|pattern_body  = shirt long sleeves
 
|color_body    = 505050
 
|pattern_legs  = trousers
 
|color_legs    = 505050
 
|title        = Another Scout test 3
 
}}
 
 
 
{{Scouting uniform
 
|alt          = description...
 
|pattern_head  = sailor cap
 
|color_head    = 9090FF
 
|pattern_body  = shirt long sleeves
 
|color_body    = 9090FF
 
|pattern_legs  = trousers
 
|color_legs    = FFFFFF
 
|title        = Another Scout test 4
 
}}
 
 
 
{{clear}}
 
 
 
{{Template:Scouting uniform
 
|alt          = description...
 
|pattern_head  = baseball cap
 
|color_head    = 00008B
 
|pattern_body  = shirt short sleeves
 
|color_body    = 00008B
 
|pattern_legs  = trousers
 
|color_legs    = 00008B
 
|title        = Cub Scout
 
}}
 
 
 
{{Template:Scouting uniform
 
|alt          = description...
 
|pattern_head  = baseball cap
 
|color_head    = 808000
 
|pattern_body  = shirt short sleeves
 
|color_body    = D2B48C
 
|pattern_legs  = trousers
 
|color_legs    = 808000
 
|title        = Boy Scout
 
}}
 
  
{{Template:Scouting uniform
 
|alt          = description...
 
|pattern_head  = baseball cap
 
|color_head    = 808080
 
|pattern_body  = shirt short sleeves
 
|color_body    = 01796F
 
|pattern_legs  = trousers
 
|color_legs    = 808080
 
|title        = Venturer
 
 
}}
 
}}
 
+
</div></div><noinclude>
{{clear}}
+
{{documentation}}
{{template sandbox notice}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 13:54, 5 December 2016

WikiProject Scouting uniform template male background.svg
<div style="position: absolute; left: 40px; top: 148px; width: 102px; height: 154px; background-color: #Script error: No such module "If empty".;">