Template:HandSVG
Flags files that have been created manually using a text editor.
The template automatically sets the following categories:
- Valid SVG created with Text Editor or one of its subcategories, depending on parameter 2 (extendable by parameter sub)
- Structured SVG and Valid SVG created with Text Editor, when parameter 3 = H (may be extended by parameter sss)
- Valid SVG created with Text Editor, when parameter 3 = V (or parameter 1 = v)
- Invalid SVG created with Text Editor, when parameter 3 = I or parameter err is empty
- Unspec SVG created with Text Editor, when validity is not specified
Usage
{{Created with Text Editor |1= |2= |3= |4= |err= }}
- This template is used by {{SimplSVG}}, {{Image generation}} (there, with parameter 1=T) and {{File generation description}}.
- Setting 3=V transcludes {{ValidSVG}} and displays a shorter text
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | User or author name |
or
| empty | optional |
2 | Categorization |
or
or
(infinitely expandable for further category diffusion)[Please clarify – October 2024Category:Pages needing clarification] or
| empty | optional |
3 | Key |
| empty | optional |
4 | Sorting value | sorting value of {{SimplSVG}}: 4 decimal digits from 0000 to 9999 or any sorting criterion if parameter 3 = "H"[Please clarify – October 2024Category:Pages needing clarification] | empty | optional |
err | Number of errors | Only for {{Invalid SVG}}: number of errors detected by the validator (decimal integer value, or text like "sixteen")[Please clarify – 6 August 2026Category:Pages needing clarification] | empty | optional |
sub | Additional subcategory | for more category diffusion: an extension to the category name depending on parameter 2, e.g. "sub=-examples"[Please clarify – October 2026Category:Pages needing clarification] | empty | optional |
sss | Structured SVG Subcategory | für eine weitere Kategorie-Strukturierung: „S“strukturierte „S“VG-„S“ubkategorie, z. B. "sss=-examples" | empty | optional |
width | Grey box width | overwrites width of the grey box | empty | optional |
style | Style | overwrites style attributes[Please clarify – October 2024Category:Pages needing clarification] | empty | optional |
vsub | In/Valid SVG category diffusion | diffusion for Valid SVG created with Text Editor / Invalid SVG created with Text Editor[Please clarify – October 2024Category:Pages needing clarification] | empty | optional |
vw | In/ValidSVG box width | width for the box of ValidSVG/InvalidSVG[Please clarify – October 2024Category:Pages needing clarification] | {{{width}}} | optional |
vs | In/ValidSVG box style | to set or overwrite other style attributes for the box of ValidSVG/InvalidSVG[Please clarify – October 2024Category:Pages needing clarification] | {{{style}}} | optional |
vt | In/ValidSVG additional text | optional additional text for ValidSVG/InvalidSVG | . | optional |
vo | In/ValidSVG display source | to set or overwrite the option "display source" for ValidSVG/InvalidSVG | empty | optional |
topic | Topic | short code to specify topic (e.g. "f" for "flag, "i" for "icon"); for the list of short codes see source code of {{Igen/top}} | empty | optional |
user | User or author name | name of user or author (for display); overwrites parameter 1 | empty | optional |
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
This template is localized through {{Autotranslate}}.
To add your language to the list of languages supported by this template, please copy the code of Template:Created with Text Editor/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.
To enable the display of Additional Text depending on parameter 3, its value is stored in pararameter 13. The language version may check whether it was (H or h, M, S, Q, V or v,…) and creates the appropriate text. See how it is done in {{Created with Text Editor/de}}