Template:Path text SVG

From Wikimedia Commons, the free media repository
(Redirected from Template:Path text)
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Path text SVG/doc.

This template marks SVG images whose file size may be abnormally large because most or all of its text has been converted to paths rather than using the more conventional <text> element.

This template should not be used for:

The template automatically sets the following categories: Path text SVG

Usage

{{Path text SVG}}

Or use the shorthand
{{TextSVG|… parameters as described …}}

Template parameters

ParameterDescriptionDefaultStatus
1Stylestyle informationborder:2px solid #E99optional
2Topictopic text replacing “image”imageoptional
cat
c
6
CategoryMaintenance category/categories to place the page into. Accepts only wiki syntax with double square brackets.[[Category:Path text SVG]]optional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

This template marks SVG images whose file size may be abnormally large because most or all of its text has been converted to paths rather than using the more conventional <text> element. This template should not be used for A: some exceptions in the limitations of MediaWiki SVG support, see [[Commons:Transition to SVG#Limitations]] and B: most images of type typography, alphabet, or text logos.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Style1

style information

Default
border:2px solid #E99
Lineoptional
Topic2

topic text replacing “image”

Default
image
Lineoptional
Categorycat c 6

Maintenance category/categories to place the page into. Accepts only wiki syntax with double square brackets.

Default
[[Category:Path text SVG]]
Lineoptional

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

See also

Localization

беларуская (тарашкевіца)  Deutsch  English  español  magyar  italiano  日本語  македонски  русский  slovenščina  svenska  ไทย  Tiếng Việt  中文  中文(中国大陆)  中文(简体)  中文(繁體)  中文(香港)  中文(新加坡)  中文(臺灣)  +/−

This template is localized through {{Autotranslate}}. The layout of the template can be found under Template:Path text SVG/layout.

To add your language to the list of languages supported by this template, please copy the code of Template:Path text SVG/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.