Template:Created with R
This documentation is transcluded from the unified template {{SVG created with/doc}}
English: Used to mark files created with R.
Wherever possible, please include the source code, using Image generation with the parameter
For more information, see the description of the template:Created with code.
Wherever possible, please include the source code, using Image generation with the parameter
code=
For more information, see the description of the template:Created with code.
As its name indicates, this template was originally designed to identify the software (application, in most cases) used to create the file, but its role has since largely expanded. It now displays a horizontal (usually grey) box describing the file, potentially specifying its author, and controls its categorization.
The template automatically sets the following categories:
- Created with R (5 C, 5 F) (MetaCat)
- SVG created with R (4 C) (MetaCat)
- Valid SVG created with R (1 C, 184 F)
- Invalid SVG created with R (1 C, 9 F)
- Unspec SVG created with R (161 F)
- PNG created with R (1 C, 335 F)
- and with
code=
- and with
- Created with R code (2 C, 2 F) (MetaCat)
- SVG created with R code (2 C) (MetaCat)
- Valid SVG created with R code (1 C, 108 F)
- Invalid SVG created with R code (4 F)
- Unspec SVG created with R code (empty)
- PNG created with R code (22 F)
No subcategorizing (except "code") occurs because all R-drawings are diagrams (charts).
Usage
{{Created with R |err= |topic= }}
From Template:Image generation the abbreviation “R” 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}}, {{Ud}}, {{Ut}}, {{Ult}} or otherwise. | empty | optional | |
2 | Depending on file type, either:
| empty | optional | |
err errors errnum | number of errors from W3C validator, generates {{InvalidSVG}} Mutually exclusive with "v"; should be a numeric value err=0 is equivalent to 2=v | empty | optional | |
more | optional additional text | . | optional | |
width | to set another width for the grey box | auto | optional | |
style | to set or overwrite other style attributes for the box | empty | optional | |
cat category | name of category/categories: complete with the brackets, or without them; replaces the category "Category:Created with R" set by default suppress categorizing with cat=- | empty | optional | |
sub subcat subcategory | for category diffusion: specify a suffix to the category name Select the best fitting subcategory, or create an appropriate new one This template does not use subcategorization | empty | optional | |
key sort sortkey | Sortkey option within the category default value is the file name, will be preceded by the | empty | optional | |
topic | to specify the short code (e.g. "f" for "flag, "i" for "icon", "m" for map) of a topic |
| optional | |
vwidth vw | to set another width for the box of ValidSVG/InvalidSVG | width | optional | |
vstyle vs | to set or overwrite other style attributes for the box of ValidSVG/InvalidSVG e.g. vstyle=float:left or short vs=fl | style | optional | |
vtext vtxt vt | optional additional text for ValidSVG/InvalidSVG | . | optional | |
vopt vo opt | to set or overwrite the display source option for ValidSVG/InvalidSVG Suppress the display of the validation box with vopt=none (abbr: vo=n )or set vo=> when files are too large to display the SVG source code | empty | optional | |
c_t c_text | category text, e.g. "drawn with", "plotted using", "taken with" | created with | 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
Help:Inkscape#Tagging Inkscape files for overview.
Internationalisation
See also category: Created with ... I18nTemplates.
Examples
{{ Created with R }} | |
{{ Created with R | n }} | |
{{ Created with R | topic = l }} | This logo was created with R. |
{{ Image generation | R }} |
Some topics variations (validation not shown) | |
{{ Igen | R | s = c }} | This coat of arms was created with R. |
{{ Igen | R | s = d }} | This diagram was created with R. |
{{ Igen | R | s = eq }} | This chemical equation was created with R. |
{{ Igen | R | n | s = f }} | This flag was created with R. |
{{ Igen | R | n | s = i | U = Example }} | |
{{ Igen | R | > | & | s = m }} | |
{{ Igen | R | 1 | s = v }} | This W3C-invalid sign was created with R. |
{{ Igen | R | 2 | > | s = y }} | This W3C-invalid symbol was created with R. |
{{ Igen | R | -1 | > | s = sig }} |