User:Xandoria/Sandbox/Template:XandoTest: Difference between revisions

From Vintage Story Wiki
(Created page with "<includeonly><div style="float:{{#if:{{{float|}}}|{{{float}}}|left}};"><div style="left:0px; top:0px; width:174px; height:241px; position:relative;"> <div style="left:0px; top:0px; width:174px; height:132px;">174px|link=|alt=</div> {{#if:{{{A1|}}}|<div style="left:14px; top:9px; width:40px; height:40px; position:absolute;"> Image:{{#if:{{{A1-image|}}}|{{{A1-image}}}|Grid_{{{A1}}}.png}}|40px|link={{#if:{{{A1-link|}}}|{{{A1-link}}}|{{{A1}}}...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 32: Line 32:
</div>}}
</div>}}
{{#if:{{{OA|}}}|
{{#if:{{{OA|}}}|
<div style="left:78px; top:210px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:78px; top:212px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:{{#expr:-16 * (floor({{{OA|}}}/10) - 1)}}px; top:-11px; width:160px; height:16px; position:absolute;">
<div style="left:{{#expr:-16 * (floor({{{OA|}}}/10) - 1)}}px; top:-11px; width:160px; height:16px; position:absolute;">
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}|{{#if:{{{Output_name|}}}|{{{Output_name}}}}}]]
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}|{{#if:{{{Output_name|}}}|{{{Output_name}}}}}]]
</div>
</div>
</div>
</div>
<div style="left:90px; top:210px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:90px; top:212px; width:16px; height:16px; position:absolute; overflow:hidden;">
<div style="left:{{#expr:-16 * (({{{OA|}}} - 1) mod 10)}}px; top:-11px; width:160px; height:16px; position:absolute;">
<div style="left:{{#expr:-16 * (({{{OA|}}} - 1) mod 10)}}px; top:-11px; width:160px; height:16px; position:absolute;">
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}|{{#if:{{{Output_name|}}}|{{{Output_name}}}}}]]
[[Image:GridNumbersCSS.png|160px|link={{#if:{{{Output-link|}}}|{{{Output-link}}}|{{{Output}}}}}|alt={{{Output}}}|{{#if:{{{Output_name|}}}|{{{Output_name}}}}}]]

Latest revision as of 09:09, 1 August 2023


[create | history | purge this page]Documentation
This template has no documentation. If you know how to use this template, please create it.