×
Create a new article
Write your page title here:
We currently have 2,528 articles on Polcompball Wiki. Type your article name above or click on one of the titles below and start writing!



Polcompball Wiki

Template:Compass: Difference between revisions

(Created page with "{{#css: .line{line-height:0;font-size:0;display:block;} .quad{width:100px;height:100px;display:inline-block;} #al{background-color:#f9baba;} #ar{background-color:#92d9f8;} #ll{background-color:#c8e4bc;} #lr{background-color:#f5f5a7;} [alt$='{{{icon|Icon.png}}}']{z-index:1;position:relative;bottom:{{{y|-111px}}};right:{{{x|-88px}}};}} <div class="holder">[[File:{{{icon|Icon.png}}}]]<div class="line"><div class="quad" id="al"></div><div class="quad" id="ar"></div></div><di...")
 
No edit summary
Line 1: Line 1:
{{#css:
<div class="compass"><span style="z-index:1;position:relative;{{#expr:-111+{{{y|0}}}}}px;right:{{#expr:-88+{{{x|0}}}}}px;">[[File:{{{icon|Icon.png}}}]]</span><div class="compassline"><div class="compassquad" id="al"></div><div class="compassquad" id="ar"></div></div><div class="compassline"><div class="compassquad" id="ll"></div><div class="compassquad" id="lr"></div></div></div>
.line{line-height:0;font-size:0;display:block;}
.quad{width:100px;height:100px;display:inline-block;}
#al{background-color:#f9baba;}
#ar{background-color:#92d9f8;}
#ll{background-color:#c8e4bc;}
#lr{background-color:#f5f5a7;}
[alt$='{{{icon|Icon.png}}}']{z-index:1;position:relative;bottom:{{{y|-111px}}};right:{{{x|-88px}}};}}
<div class="holder">[[File:{{{icon|Icon.png}}}]]<div class="line"><div class="quad" id="al"></div><div class="quad" id="ar"></div></div><div class="line"><div class="quad" id="ll"></div><div class="quad" id="lr"></div></div></div>

Revision as of 01:07, 8 September 2023