Actions

Template

DrawLine

From Sonic Retro

Revision as of 19:20, 1 January 2022 by BSonirachi (talk | contribs) (Text replacement - "Category:Sonic Retro templates" to "Category:Templates")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Segaretro-round.svg This template has been manually copied from Sega Retro, specifically Template:DrawLine
Technical restrictions prevent this template from being shared across multiple wikis. In the medium term, any changes should be made to the Sega Retro variant first, before manually copying the contents back here. As this is not an automatic process, this version of the template might also be out of date.

Template to draw a line.

This isn't an intelligent, HTML5/Javascript/whatever line where you define two points and line is drawn between them, because that method is incompatible with wikicode. This is an html span block of height 0 with a 1px border being rotated with CSS. Therefore:

{{DrawLine
| x1=
| y1=
| w=
| angle=
| colour=
| dashed=
| thickness=
}}