Template:Created with Gnuplot/doc

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Start hand.svg
Lissajous small.svg

The template {{Created with Gnuplot}} (shorthand:{{Gnuplot}}) marks as well Vector graphics as Computer graphics, e.g. .png.

  • Computer graphics (e.g. files .PNG) should be marked with {{Gnuplot|n}}
  • Vector graphics should be checked for their W3C-validity and then marked either by {{Gnuplot|v}} or {{Gnuplot|err=##}}
To allow a swift check for validity, the generated box "This image was created with gnuplot" can be used:
the Italic written plot is a link to the W3C-validator.
(Of course, this link won't be useful if the file isn't a vector graphic)


English: Used to mark files created with Gnuplot.
Wherever possible, please include source code, using the parameter code=

The template automatically sets the following categories:

See otherwise:

Usage

{{Created with Gnuplot}}

Or use the shorthand {{Gnuplot}}

Template parameters

Parameter Description Default Status
1 Name of user or author (for display). This parameter will accept wikilinks (given manually or with {{U}}, {{Uc}}, {{Ud}}, {{Ut}}, {{Ult}} or similar). empty optional
2 Depending on file type, either
  • lowercase letter "v": generates the {{ValidSVG}} tag, or
  • lowercase letter "n": if picture is a raster graphic, e.g. PNG, but even GIF etc.
"v" or "n" may as well be given with parameter#1 if no user name is specified
empty optional
err Mutually exclusive with "v" or "n": number of errors from W3C validator, generates {{InvalidSVG}}
Should be a numeric value
empty optional
code
source
script
for specification of Gnuplot source code, and its categorisation
Note: Sorry - the code may not contain any | ("pipe" ); replace the pipe | (U+007C) with {{!}} or with ┃ (U+2503).
empty optional
syntax any language from the list gnuplot optional
title any headline2 string, replacing syntax text syntax optional
format style parameters, e.g. for border and/or background
The default is border:1px solid#AFE;background-color:#EFE
(see left) optional
code2 specification of a second source code empty optional
syntax2 any language for code2 gnuplot optional
title2 any headline2 string, replacing syntax2 text syntax2 optional
format2 style parameters for display of 2nd code empty optional
code3 specification of a third source code (as in Julia iteration data.png) empty optional
syntax3 any language for code3 gnuplot optional
title3 any headline2 string, replacing syntax3 text syntax3 optional
format3 style parameters for display of 3rd code empty optional
more optional additional text empty 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
replaces the default category "Category:Created with Gnuplot" (or its subcategory)
Set cat=<nowiki/> to suppress categorisation
empty optional
sub
subcat
subcategory
a suffix to the category name, e.g. sub=-Statistics empty optional
sort
key
sortkey
Sortkey value, for sortkey option within the category empty optional
vwidth to set another width for the box of ValidSVG/InvalidSVG width optional
vstyle to set or overwrite other style attributes for the box of ValidSVG/InvalidSVG, e.g. vs=fl for float:left style optional
vtxt optional additional text for ValidSVG/InvalidSVG 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

Localization

বাংলা | Català | Čeština | Deutsch | English | فارسی | Suomi | Français | Magyar | Italiano | Македонски | Plattdüütsch | Nederlands | Português | Română | Русский | Slovenščina | Svenska | 中文 | 中文(简体)‎ | 中文(繁體)‎ |

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 Gnuplot/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.