Difference between revisions of "Template:Created with Text Editor/doc"
Mediawiki>Leonel Sohns (Gnome icon.) |
m (1 revision imported) |
Latest revision as of 16:02, 24 January 2022
Note: This template is used on a lot of pages. In order not to put too much load on the servers, edits should be kept to a bare minimum. Please discuss proposed changes on the talk page first.
|
This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original template page. |
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|v" (or parameter #1 = "v")
- Invalid SVG created with Text Editor when parameter #3 = "I|i" or "err= "
- Unspec SVG created with Text Editor when validity is not specified
Shorthand notation: {{HandSVG|v}} works like {{HandSVG|3=v}} or {{Created with Text Editor|3=v}}
Usage
{{Created with Text Editor |1= |2= |3
[key]= |4= |err[num]= }}
Or use the shorthand {{HandSVG |… parameters as described …}}
From template {{Image generation}} the abbreviation "T" is used.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | name of user or author (for display); may as well be a link coded e.g. with {{U}}, {{Uc}}, {{Ut}}, {{Ult}}, {{Ud}} or otherwise
| empty | optional | |
2 | Either - "X" (uppercase letter X): (for total categorization suppression)
Don't set any 2nd parameter (except "X") directly!
Always use {{SimplSVG}} with both size values for proper category sorting Otherwise the file is categorized to the corresponding subcategory ●Zero - name of previous editor: Inkscape, Sodipodi, Adobe, OpenOffice, CorelDraw... (for category diffusion) (infinitely expandable for further category diffusion) | empty | optional | |
3 |
| empty | optional | |
4 | sorting value from {{SimplSVG}}: 4 decimal digits from 0000 to 9999 or any sorting criterion if parameter #3 = "H" | empty | optional | |
err[num] | Only for Invalid SVG: number of errors dedected by the validator (decimal integer value, or text like "sixteen") | empty | optional | |
sub[cat[egory]] | for more category diffusion: an extension to the category name depending on parameter #2, e.g. sub=-examples | empty | optional | |
sss | for more category diffusion: Structured SVG Subcategory, e.g. sss=-examples | empty | optional | |
width | to set another value for the width of the grey box | empty | optional | |
style | to overwrite style attributes | empty | optional | |
vsub | diffusion for Valid SVG created with Text Editor / Invalid SVG created with Text Editor | empty | optional | |
vw[idth] | to set another width for the box of ValidSVG/InvalidSVG | width | optional | |
vs[tyle] | to set or overwrite other style attributes for the box of ValidSVG/InvalidSVG | style | optional | |
vt[xt] | optional additional text for ValidSVG/InvalidSVG | . | optional | |
vo[pt] | to set or overwrite the display source option for ValidSVG/InvalidSVG | empty | optional | |
topic | to specify the short code (e.g. "f" for "flag, "i" for "icon") of a topic | empty | optional | |
user | name of user or author (for display); same as unnamed 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
⧼Seealso⧽
- can be transcluded from
- can transclude
Localization
English ∙
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.