Template:Created with Wpdc
Jump to navigation
Jump to search
This chart was created with the Wikimedia parliament diagram creator.
This documentation is generated by the {{SVG created with/doc}} meta-template.
English: Used to mark charts created with the Wikimedia parliament diagram creator
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.
This template may or may not display another box about SVG validity in some cases. When that validity box displays, it is first.
The template automatically sets the following categories:
- Created with Wikimedia parliament diagram creator (1 C, 11 F) (MetaCat)
- SVG created with Wikimedia parliament diagram creator (2 C) (MetaCat)
- This template does not support subcategorization
Usage
{{Created with Wpdc |err= |topic= }}
From Template:Image generation the abbreviation “Wpdc” 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 types and the desired behavior, one of the following letters, always lowercase:
| 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 (normally 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 Wikimedia parliament diagram creator" 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 | the topic, specified using its short code (e.g. "f" for "flag, "i" for "icon", "m" for map) | ch | optional | |
vwidth vw | SVG validity: to set another width for the box of ValidSVG/InvalidSVG[clarification needed] | width | optional | |
vstyle vs | SVG validity: 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 | SVG validity: optional additional text for ValidSVG/InvalidSVG | . | optional | |
vopt vo opt | SVG validity: 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
Internationalisation
See also category: Created with ... I18nTemplates.
Examples
{{ Created with Wpdc }} | This chart was created with the Wikimedia parliament diagram creator. |
{{ Created with Wpdc | Alice }} | This chart was created with the Wikimedia parliament diagram creator by Alice. |
{{ Created with Wpdc | topic = l }} | This chart was created with the Wikimedia parliament diagram creator. |
{{ Created with Wpdc | Bob | v | 0 }} |
This chart was created with the Wikimedia parliament diagram creator by Bob. |
Some topics variations (validation not shown) | |
{{ Igen | Wpdc | s = c }} | This chart was created with the Wikimedia parliament diagram creator. This chart uses embedded text/digits (the number of members). |
{{ Igen | Wpdc | s = d }} | This chart was created with the Wikimedia parliament diagram creator. This chart uses embedded text/digits (the number of members). |
{{ Igen | Wpdc | s = eq }} | This chart was created with the Wikimedia parliament diagram creator. This chart uses embedded text/digits (the number of members). |
{{ Igen | Wpdc | s = f }} | This chart was created with the Wikimedia parliament diagram creator. This chart uses embedded text/digits (the number of members). |
{{ Igen | Wpdc | s = i }} | This chart was created with the Wikimedia parliament diagram creator. This chart uses embedded text/digits (the number of members). |
{{ Igen | Wpdc | > | & | s = m }} | This oversized chart was created with the Wikimedia parliament diagram creator. and with QGIS. This chart uses embedded text/digits (the number of members). |
{{ Igen | Wpdc | 1 | s = v }} | This W3C-invalid chart was created with the Wikimedia parliament diagram creator. This chart uses embedded text/digits (the number of members). |
{{ Igen | Wpdc | 2 | > | s = y }} | This oversized W3C-invalid chart was created with the Wikimedia parliament diagram creator. This chart uses embedded text/digits (the number of members). |
{{ Igen | Wpdc | -1 | > | s = sig }} | This chart uses embedded text/digits (the number of members). |