Difference between revisions of "Template:Infobox WorldScouting/uniform/sandbox"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Frietjes |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
-->[[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]] | -->[[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 | {{#ifeq:{{{gender|}}}|female | ||
| − | |||
|<!-- Body (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> | + | --><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) | <!-- 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 | + | --><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) | <!-- 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: #{{{color_legs}}};">{{#if: {{{pattern_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:WikiProject Scouting uniform template female {{{pattern_legs}}}{{#ifeq:{{{pattern_legs|}}}|trousers||{{{skintone|}}}}}.svg|{{#expr:{{{scale|1}}}*100 round 0}}px|top|link=|alt=]]}}</div> |
|<!-- Body (male) | |<!-- Body (male) | ||
| − | --><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| | + | --><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> |
<!-- Head (male) | <!-- Head (male) | ||
| − | --><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| | + | --><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> |
<!-- Legs (male) | <!-- Legs (male) | ||
| − | --><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: #{{{color_legs}}};">{{#if: {{{pattern_legs| | + | --><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> |
}} | }} | ||
Latest revision as of 13:54, 5 December 2016
| This is the template sandbox page for Template:Infobox WorldScouting/uniform (diff). See also the companion subpage for test cases. |
Usage
See {{Infobox WorldScouting}}
See also
- Commons:Category:Scouting uniform templates
- File:Polish Scout Organizacja Harcerska "Rodło" uniform.svg
- File:Polish_Scout_Organizacja_Harcerska_"Rodło"_Brownie_uniform.svg
- Wikipedia:WikiProject Scouting/Article incubator/Template:Infobox WorldScouting uniform
- List of colors
| The above documentation is transcluded from Template:Infobox WorldScouting/uniform/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |