This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date. |
User:Space/Template:DrawLine
This page is currently being developed by one or more editors being led by Space. Please refer to the talk page to learn about and/or contribute to the completion of this page. You can also contact the leader on their discussion page. |
Usage
{{User:Space/Template:DrawLine|x1|y1|x2|y2|width in px|valid css color code or name}}
Planned to be used for trade lanes in Template:System Map.
Result
{{User:Space/Template:DrawLine|200|200|300|100|3|purple}}{{User:Space/Template:DrawLine|100|0|0|100|3|pink}}{{User:Space/Template:DrawLine|0|100|100|0|3|yellow}}{{User:Space/Template:DrawLine|0|0|100|0|3|#00BFFF}}{{User:Space/Template:DrawLine|7000|-10000|800|1300|40|red}} (and a bunch of newlines)
<div style="position:relative;
left:200px;
bottom:200px;
transform-origin: 100% 0%;
transform:rotate(Expression error: Unclosed bracket.deg);
-webkit-transform-origin: 100% 0%;
-webkit-transform:rotate(Expression error: Unclosed bracket.deg);
-ms-transform-origin: 100% 0%;
-ms-transform:rotate(Expression error: Unclosed bracket.deg);
-moz-transform-origin: 100% 0%;
-moz-transform:rotate(Expression error: Unclosed bracket.deg);
-o-transform-origin: 100% 0%;
-o-transform:rotate(Expression error: Unclosed bracket.deg);
width: 141.42135623731px;
height: 3px;
background: purple;">
atan<div style="position:relative;
left:100px;
bottom:0px;
transform-origin: 100% 0%;
transform:rotate(Expression error: Unclosed bracket.deg);
-webkit-transform-origin: 100% 0%;
-webkit-transform:rotate(Expression error: Unclosed bracket.deg);
-ms-transform-origin: 100% 0%;
-ms-transform:rotate(Expression error: Unclosed bracket.deg);
-moz-transform-origin: 100% 0%;
-moz-transform:rotate(Expression error: Unclosed bracket.deg);
-o-transform-origin: 100% 0%;
-o-transform:rotate(Expression error: Unclosed bracket.deg);
width: 141.42135623731px;
height: 3px;
background: pink;">
atan<div style="position:relative;
left:0px;
bottom:100px;
transform-origin: 100% 0%;
transform:rotate(Expression error: Unclosed bracket.deg);
-webkit-transform-origin: 100% 0%;
-webkit-transform:rotate(Expression error: Unclosed bracket.deg);
-ms-transform-origin: 100% 0%;
-ms-transform:rotate(Expression error: Unclosed bracket.deg);
-moz-transform-origin: 100% 0%;
-moz-transform:rotate(Expression error: Unclosed bracket.deg);
-o-transform-origin: 100% 0%;
-o-transform:rotate(Expression error: Unclosed bracket.deg);
width: 141.42135623731px;
height: 3px;
background: yellow;">
atan<div style="position:relative;
left:0px;
bottom:0px;
transform-origin: 100% 0%;
transform:rotate(Expression error: Unclosed bracket.deg);
-webkit-transform-origin: 100% 0%;
-webkit-transform:rotate(Expression error: Unclosed bracket.deg);
-ms-transform-origin: 100% 0%;
-ms-transform:rotate(Expression error: Unclosed bracket.deg);
-moz-transform-origin: 100% 0%;
-moz-transform:rotate(Expression error: Unclosed bracket.deg);
-o-transform-origin: 100% 0%;
-o-transform:rotate(Expression error: Unclosed bracket.deg);
width: 100px;
height: 3px;
background: #00BFFF;">
atan<div style="position:relative;
left:7000px;
bottom:-10000px;
transform-origin: 100% 0%;
transform:rotate(Expression error: Unclosed bracket.deg);
-webkit-transform-origin: 100% 0%;
-webkit-transform:rotate(Expression error: Unclosed bracket.deg);
-ms-transform-origin: 100% 0%;
-ms-transform:rotate(Expression error: Unclosed bracket.deg);
-moz-transform-origin: 100% 0%;
-moz-transform:rotate(Expression error: Unclosed bracket.deg);
-o-transform-origin: 100% 0%;
-o-transform:rotate(Expression error: Unclosed bracket.deg);
width: 12889.142717807px;
height: 40px;
background: red;">
atan
atan