Open main menu

d="m19,95 31-95 31,95-81-59h100"

Documentationviewedithistorypurge
This documentation is transcluded from Template:Pentagram/doc.

Generates the "d" attribute string for a path to draw a pentagram in SVG

Usage

{{Pentagram |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1width: length of the horizontal stroke100optional
2number of decimal fractions: 0 means rounded to integers0optional
3x value horizontal offset0optional
4y value vertical offset0optional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Placement:

within the SVG code.
This is the string for the filled pentagram. A stroke needs an additional "z" command.

Example

{{Pentagram|240}}

renders as:

d="m46,228 74-228 74,228-194-141h240"

See also

Localization

This template is not intended to be localized.