Template:CroppedPips2Collar: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><div style="position: relative; width: {{{1}}}px; overflow: hidden"><div style="position: relative; left: -{{#expr: {{#switch: {{{4|}}}|TOS=0|120}}-({{{1}}}/2)}}px;">{{Pips2Collar|{{{2}}}|{{{3}}}|{{{4|}}}}}</div></div></includeonly><noinclude>
<includeonly><div style="position: relative; width: {{{1}}}px; overflow: hidden"><div style="position: relative; left: -{{#expr: {{#switch: {{{4|}}}|TOS=144|120}}-({{{1}}}/2)}}px;">{{#switch: {{{4|}}}|TOS={{FlagPips2Collar|{{{2}}}|{{{3}}}|{{{4|}}}}}|{{Pips2Collar|{{{2}}}|{{{3}}}|{{{4|}}}}}}}</div></div></includeonly><noinclude>
Create a cropped version of the [[Template:Pips2Collar]]. Just specify desired width of the crop:
Create a cropped version of the [[Template:Pips2Collar]]. Just specify desired width of the crop:


Navigation menu