Template:Crewshipimage: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(Created page with "<includeonly><div style="position: relative; width: 100px; height: 80px; overflow: hidden">{{ #if: {{{3|}}} |[[File:{{{2}}}|{{{3|}}}|link={{{1}}}]] |[[File:{{{2}}}|100px|link=...")
 
m (Protected "Template:Crewshipimage" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="position: relative; width: 100px; height: 80px; overflow: hidden">{{
<includeonly><div style="position: relative; width: 100px; height: 114px; overflow: hidden">{{
#if: {{{3|}}}
#if: {{{3|}}}
|[[File:{{{2}}}|{{{3|}}}|link={{{1}}}]]
|<div style="position: relative; left: -{{{5}}}px; top: -{{{4}}}px;">[[File:{{{2}}}|{{{3|}}}|link={{{1}}}]]</div>
|[[File:{{{2}}}|100px|link={{{1}}}]]
|[[File:{{{2}}}|100px|link={{{1}}}]]
}}</includeonly><noinclude>Creates a ship placeholder image in [[Template:Crew]] at width of 100px if no crop base width is specified in [[Template:Crew]].
}}</div></includeonly><noinclude>Creates a ship placeholder image for [[Template:Shiptile]] in [[Template:Crew]] at width of 100px if no crop base width is specified in [[Template:Crew]].
[[Category:Wiki System Templates]]
[[Category:Wiki System Templates]]
</noinclude>
</noinclude>

Latest revision as of 21:04, 30 April 2016

Creates a ship placeholder image for Template:Shiptile in Template:Crew at width of 100px if no crop base width is specified in Template:Crew.