This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date. |
Difference between revisions of "User:Space/Template:DrawLine"
From Discovery Wiki
Jump to navigationJump to searchm |
m (Oh. It's working completely as it should, just not like I expected. There we go! Well, it still won't draw lines downwards using negative y values. Minor details.) |
||
Line 4: | Line 4: | ||
<nowiki>{{User:Space/Template:DrawLine|x1|y1|x2|y2|width in px|valid css color code or name}}</nowiki> | <nowiki>{{User:Space/Template:DrawLine|x1|y1|x2|y2|width in px|valid css color code or name}}</nowiki> | ||
==Result== | ==Result== | ||
− | <pre>{{User:Space/Template:DrawLine|0|0|0|-100|3|#00BFFF}}</pre> | + | <pre>{{User:Space/Template:DrawLine|1|-2|0|100|3|#00BFFF}}{{User:Space/Template:DrawLine|0|0|100|100|3|#00BFFF}}{{User:Space/Template:DrawLine|98|102|100|-100|3|#00BFFF}} (and a bunch of newlines)</pre> |
− | {{User:Space/Template:DrawLine|0|0|0|100|3|#00BFFF}} | + | |
− | {{User:Space/Template:DrawLine| | + | |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{User:Space/Template:DrawLine|1|-2|0|100|3|#00BFFF}}{{User:Space/Template:DrawLine|0|0|100|100|3|#00BFFF}}{{User:Space/Template:DrawLine|98|102|100|-100|3|#00BFFF}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 14:53, 8 April 2013
Usage
{{User:Space/Template:DrawLine|x1|y1|x2|y2|width in px|valid css color code or name}}
Result
{{User:Space/Template:DrawLine|1|-2|0|100|3|#00BFFF}}{{User:Space/Template:DrawLine|0|0|100|100|3|#00BFFF}}{{User:Space/Template:DrawLine|98|102|100|-100|3|#00BFFF}} (and a bunch of newlines)