帮助:上传档案
你可以透过MediaWiki上传图片,并将其插入文本中,也可以上传其他类型的档案(见本页支援的档案类型章节)。在早期的MediaWiki系统中,任何档案都称为“图片(Image)”,而现在用“档案(File)”或“媒体(Media)”代称。
档案上传后,系统会自动创建一个该档案的说明页,页面名称包含档案名(含副档名)和“File:”前缀(或通常是 {{ns:File}} (MediaWiki 1.14 以上)、{{ns:Image}} (MediaWiki 1.13 或更早)变数的值)。
图片等多媒体档案可以透过内部链接插入文本中。可以更改图片显示尺寸以适应页面,具体方法见本页#插入内部图案。
维基媒体有一个“专门用于上传档案”的维基项目,上传的档案可用于其他维基项目,这个项目就是维基共享资源(仅限自由版权内容,无‘正当使用(Fair use)’内容)。上传于维基共享资源的图片可以被所有维基计划使用。而上传到其他维基的档案不能用于其他计划,且在该计划上无法使用维基共享资源上的同名档案。所以若无特殊理由(例如:以局部版本取代维基共享资源上之图 ,而不更改连结),请将自由版权内容上传到维基共享资源。
有些图片并不是使用者上传的,而是系统根据代码自动生成的,例如:
- 数学公式,例如 是由<math>n^2 = \sum_{k=1}^n(2k-1)</math>生成的;
- 时间线(例如Soviet Leaders)、导航地图;
- 缩图,例如这个是File:LBNGR_MR740_05-09-11.jpeg的缩图,与让浏览器下载原图然后进行压缩相比,缩图可以节省流量和渲染时间。
表格通常是由HTML代码自动生成的,不属于图片的范畴。
上传
欲上传一个自由版权的档案,可前往维基共享资源,登入后点击位于左侧列表“Participate”下的“上传档案”连结,根据指引上传档案。如果你希望仅向某个维基项目(例如维基百科)上传档案,可以在该维基参照以上步骤上传,但请留意该维基的方针。
上传前,请务必确认上传该档案是合法的,并且档案符合许可协议条件和收录标准。您上传的档案和其他维基页面一样可被其他使用者编辑或提出删除请求。若使用者屡次违反上传档案的政策规定,可能会被禁止再上传档案。
若要上传档案,照片的推荐格式是JPEG格式,无损压缩的位图(例如图示)的格式最好是PNG,结构图纸、LOGO最好是SVG,音讯则推荐使用OGG格式。请给档案取一个描述性的名称,以避免歧义,详见本章“档案名称”。
上传时,请根据页面提示选择档案,并留意版权说明,确定你可以合法上传该档案。如果你的网路速度较慢,上传过程耗时可能会较长,请耐心等待。
上传一个与现有档案同名的档案,旧档将被取代。当一个档案被取代时(例如条目中的图片被取代),这个变更不会在条目历史中记录下来,也不会在条目的相关更改中显示,亦不会在图片描述页的历史中记录(除非描述也被同时更改)。但是,这会在图片描述页的“历史版本”中被记录,并且上传日志中会留下记录。因此,欲查看条目中的图片、档案变更历史,应当查看档案描述页(MediaWiki 1.13之后的版本)。
Special:Imagelist provides the same information as the Upload log, but it uses the user's local time instead of the default time (set to Coordinated Universal Time for Wikimedia projects). In addition it gives the file sizes. Further it allows loading of portions and sorting by size in addition to sorting by date, and it has not only links to the image description pages, but also directly to the images.
- Last 50 uploaded files
- MediaWiki file usage - technical notes
当一个图片页被保护时,图片本身也会被保护。
取代或删除维基共享资源上的档案时,所有使用该档案的维基计划都会受到影响。所以必须连结维基共享上之档案页至各维基子计划内之相同档案。纵使这些档案未被“正式制造”(created explicitly)而无可编辑之内容,“Image links”一节仍显示各子计划内有用此档之页。
维基共享资源的更多细节见入门须知。
档案名称
上传前,请先为档案取个适当的名字,档案一旦上传就无法更名,所以请慬慎取档案名。各空格、破折号、括号、大小写都应符合习惯。好的档案名应该是有描述性的,例如File:Rotating earth.gif,请不要使用类似DSC_4432.jpg的档案名。档名虽不会出现于插使用该档案的页面,但见于包含此档案之分类(category)等地方。
档案名的大小写、繁简体是有区分的,对大多数的维基计划,第一个字母不受此限制。为方便繁/简体用户查找,请尽量避免使用汉字作为档名。
上传档案时,如果使用的档案名已经存在,将会取代旧档,系统会发出警告。如果不希望取代旧档,请另取一个还未使用的档案名。
支援的档案类型
缺省情况下,MediaWiki只允许上传确定类型的档案(例如gif、jpg、jpeg、ogg、png等副档名),这由includes/DefaultSettings.php中的“$wgFileExtensions”来管理。
/**
* This is the list of preferred extensions for uploading files. Uploading files
* with extensions not in this list will trigger a warning.
*/
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'doc', 'docx', 'xls', 'xlsx', 'pdf' );
/** Files with these extensions will never be allowed as uploads. */
$wgFileBlacklist = array(
# HTML may contain cookie-stealing JavaScript and web bugs
'html', 'htm', 'js', 'jsb', 'mhtml', 'mht',
# PHP scripts may execute arbitrary code on the server
'php', 'phtml', 'php3', 'php4', 'php5', 'phps',
# Other types that may be interpreted by some servers
'shtml', 'jhtml', 'pl', 'py', 'cgi',
# May contain harmful executables for Windows victims
'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );
/** Files with these mime types will never be allowed as uploads
* if $wgVerifyMimeType is enabled.
*/
$wgMimeTypeBlacklist= array(
# HTML may contain cookie-stealing JavaScript and web bugs
'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
# PHP scripts may execute arbitrary code on the server
'application/x-php', 'text/x-php',
# Other types that may be interpreted by some servers
'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
# Windows metafile, client-side vulnerability on some systems
'application/x-msmetafile'
);
/** This is a flag to determine whether or not to check file extensions on upload. */
$wgCheckFileExtensions = false;
/**
* If this is turned off, users may override the warning for files not covered
* by $wgFileExtensions.
*/
$wgStrictFileExtensions = true;
/** Warn if uploaded files are larger than this (in bytes), or false to disable*/
$wgUploadSizeWarning = false;
请注意,某些副档名是被列入黑名单($wgFileBlacklist)的,譬如,出于安全考虑,通常不允许上传执行档(副档名:“.exe”)。另外,有一些档案类型,过去是被允许的,但现在禁止上传,已上传的这类档案不会删除,仍能继续使用。
关于视讯,见Video policy。
There may be a size limit, the largest one on en: is 6.5 megabytes (but please be reasonable).
The most common type of media apart from images is:
- sound -- preferred format: Ogg Vorbis.
If you want to upload file types other than .jpg or .ogg, e.g., .pdf, in newer versions of mediawiki, you have to modify the file LocalSettings.php by copying the variable and its contents from DefaultSettings.php. Afterward, you can edit it accordingly: $wgFileExtensions = array( 'png', 'jpg', 'jpeg', 'ogg','doc','xls','ppt','mp3','sxc','pdf' );
You may also need to remove this extension from the filetype blacklist (in /includes/DefaultSettings.php).
Remarks:
- Wikimedia specific: see m:Video policy
- for reasons of security executable programs are not allowed by default
上载非图象档
By default, MediaWiki only allows you to upload certain types of files (extensions gif, jpg, jpeg, ogg and png). This is managed by this order in includes/DefaultSettings.php:
- $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg' );
If you want to be able to upload other file types, for instance ZIP files you must add this line to LocalSettings.php:
- $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg', 'zip');
Caution: do not modify the line in DefaultSettings.php because it will break when updating
Also you may find php and apache limit the filesize of uploads too giving spurious messages on the upload page such as "The file you uploaded seems to be empty. This might be due to a typo in the file name. Please check whether you really want to upload this file." See Q: What affects the maximum file size which can be uploaded? on this page for details: http://meta.wikimedia.org/wiki/Uploading_files#Frequently_Asked_Questions. (It might be better to have this information conglomerated more centrally).
Take in account there is a blacklist of file extensions in includes/DefaultSettings.php:
- $wgFileBlacklist = array(
- # HTML may contain cookie-stealing JavaScript and web bugs
- 'html', 'htm',
- # PHP scripts may execute arbitrary code on the server
- 'php', 'phtml', 'php3', 'php4', 'phps',
- # Other types that may be interpreted by some servers
- 'shtml', 'jhtml', 'pl', 'py',
- # May contain harmful executables for Windows victims
- 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );
Apache has a directive "LimitRequestBody", which controls the maximum number of bytes allowed in ANY http request.
使用恰当的图示表示连结
要想使档案与其相应的图示一起被放在链接处,同时也有档案的维基页面链接, 参见这里.
这是适合任何支持嵌入外部图像技术的维基,也是建立在MediaWiki技术之上的最具个性化的,组织性与编制能力的功能。需注意的例外是维基百科和Meta,因为Meta无法编译此模板,以下为一例:图像将如何在样板上被显示:File:PDF file example.png
图象档之修改史
存档页面页面历史包含维基文本与可能的参考指向模板和图像。在旧模板和图像仍然存在的情况下查看一个较老版本的页面时,它将会指向当前版本。因此,前复合的网页并不会被重建。
连结
直接连结到档案位址请用[[Media:檔案名]],例如:Media:tst.png。若要连结至图之解释页,请用 [[:Image:檔案名]],效果:Image:tst.png(首冒号不会显示)。使用[[Image:tst.png]]会直接显示图片,效果:。
在档案不是图像的情况下仍然可以使用“Media”关键词,例如通常不认为DOC档等Office档案是多媒体档,但[[Media:檔案名]]的格式仍然有效。
可以使用管道连结,例如[[:Image:tst.png|測試圖片]],效果:测试图片。
在一个维基计划上连结一个档案时,若该维基计划上有这个档案,则会优先使用,否则会自动连结到维基共享资源上的档;即,本维基计划和维基共享资源有同名档案时,只能使用本维基计划上的那个,这就是强烈建议尽可能将档案上传到维基共享资源的原因。若连结的档案在本维基项目和维基共享资源上都不存在,则会显示一个红色连结,连至“上传档案”页面,例如File:So.png。
跨维基连结之格式将连结至该图之描述页。若要插入连结至图档本身(若可能时),请用外连结格式。
如果跨言维基内部链接可行,您可在语言编码前后各加一个冒号(例:英语的编码为en)。[[:de:Bild:Europa-Pos.png]],以避免连结被放置到页边。
外部链接的语法无特殊要求。然而,如果希望在一个允许外连图片的维基计划上连结到图片而不是嵌入,请使用带方括号的URL,直接使用URL会嵌入图片(若该维基计划允许外连图片)。
若要使用图像作为另一个档案的连结,请见导览图.
插入内部图案
此“内部”指计划内或维基共享上。An image name is assumed to refer to the one in the same project if it exists there, otherwise to one on Commons. If neither exists a link to the upload page appears, with class="new" ("red link"). The link is rendered the same as one to the edit page of the non-existing image page, except that the former shows the canonical form of the pagename.
Only images proper can be automatically presented, sound is not automatically played.
An embedded internal image automatically links to the image page, which shows the full image, or, depending on preferences, a reduced version with a link to the full version. The page also provides info about the image.
[[image:tst.png|50px|abc]] gives
The form [[image:tst.png|50px|thumb|abc]] does not allow enlargement, it gives (see on the right):
To add the uploaded image to an article as a thumbnail, one can use [[Image: image name including extension |thumb|caption]] or [[Image: image name including extension |thumb|width in pixels px|caption]].
The default thumbnail width can be set in the preferences, so typically it is better not to specify "px", in order to respect the users' preferences (unless, for a special reason, a specific size is required regardless of preferences, or a size is specified outside the range of widths 120-300 that can be set in the preferences).
The caption can contain links. Both the image itself and an icon link to the image page. The icon has the link title "Enlarge" in its hoverbox, even in cases where the image on the image page is smaller. Depending on preferences the image on the image page may be smaller than the thumbnail image, so a link may be convenient from the thumbnail straight to the image in actual size. E.g. [[image:tst.png|thumb|50px|[[Media:tst.png|actual size]]]]
欲知更多选择,见en:Wikipedia:Extended image syntax. Also, the source of existing pages with images are useful as examples.
图像在左
[[image:tst.png|left|thumb|50px|[[help:contents|demo]]]] puts the image at the left; text that follows floats to the right of it; if a second image immediately comes after the first, the second abuts to the right side of the first; if there is text in between then the second image is at the lower right of the first, under this text:
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. between the 3rd and 4th images.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. after the 4th image.
With [[image:tst.png|none|thumb|50px|[[help:contents|demo]]]] the image is put at the left, and text that follows starts below it.
Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent lupta
左图
[[image:tst.png|right|thumb|50px|[[help:contents|demo]]]] puts the image at the right; text that follows floats to the left of it. The situation is not symmetric with the case above: a second image is put at the extreme right again, under the first.
zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. after the 1st image.
after the 2nd image.
Using full width again
Use <br clear="all" />, or on projects that have Template:Clr (Meta and en:): {{clr}}. Text floats around the image until it gets to {{clr}} (in Meta) like this.
After {{clr}}, however, text can float no longer, and restarts from under the image, using the full width again like this,...... like this, like this, like this, like this, like this, like this, like this.
字里行间图
Inline images cannot have a caption, but they can have a "title"-attribute (often misidentified as the "alt" attribute, which has a different purpose), which is shown in the hoverbox (in the cases above, for the image it is the same as the caption, and for the enlarge icon it is "Enlarge"). It is the last item of the image code, hence, if there is only the image name with prefix "image:" it gives that; if there is an empty item by ending with a pipe character ("|") it gives none; otherwise, it gives the image code item that happens to be last, unless a proper text is specified.
The size of the images can be reduced but they can not be enlarged.
Example (note the hoverbox too): "text [[File:Wikipedia icon size logo.gif]] text [[File:Wikipedia icon size logo.gif|5px|]] text [[File:Wikipedia icon size logo.gif|100px|demo]] text" gives "text File:Wikipedia icon size logo.gif text File:Wikipedia icon size logo.gif text demo text".
示范
Below one can see the result of the three types of internal link style and external link style on this project. To test this in another project, copy the wikitext there. If applicable, check also the interlanguage links at the margin of the page. Note that some links go to the image description page, others just to the image itself.
- [[Image:Tile Hill train 550.jpg]]
- [[:Image:Tile Hill train 550.jpg]]
- [[Media:Tile Hill train 550.jpg]]
- external, with label: [http://en.wikipedia.org/upload/d/d1/Tile_Hill_train_550.jpg train]
- external, footnote style: [http://en.wikipedia.org/upload/d/d1/Tile_Hill_train_550.jpg]
- external, just the URL: http://en.wikipedia.org/upload/d/d1/Tile_Hill_train_550.jpg http://en.wikipedia.org/upload/d/d1/Tile_Hill_train_550.jpg
Gallery tag, category, table of images
The gallery-tag is a quick way to show thumbnails in four columns. Each entry is of the form "Image:image name or "Image:image name|caption, possibly with links". It also allows text taking the position of an image, but not with links: if a text entry contains a link, the whole entry is ignored; an image tag with square brackets is also ignored. It is possible to give a title to the gallery with the caption parameter.
<gallery caption="Sample gallery"> A-L Image:Drenthe-Position.png|[[w:Drenthe|Drenthe]], the least crowded province Image:Flevoland-Position.png Image:Friesland-Position.png [[Friesland]] is beautiful Image:Gelderland-Position.png Image:Groningen-Position.png Image:Limburg-Position.png M-Z Image:Noord_Brabant-Position.png Image:Noord_Holland-Position.png Image:Overijssel-Position.png Image:Zuid_Holland-Position.png|[[w:South Holland|South Holland]], the most crowded province Image:Utrecht-Position.png Image:Zeeland-Position.png </gallery>
gives:
-
Drenthe, the least crowded province
-
South Holland, the most crowded province
Note that, with the gallery tag, the images have a single fixed width.
Depending on the browser, a long caption may or may not widen a whole column of images:
- even if it does, if necessary to fit the four columns on the screen, captions wrap automatically
- alternatively, a long caption makes the whole row taller, because too long captions wrap to produce multiple lines in their container. See also w:Wikipedia:Gallery.
A gallery of images in a category is automatically shown as the fourth section of the category page. The first 20 characters of the image name are shown, with dots if that is not the full name. Both the image and the name link to the image page. No alternative text or other links are possible. Also the file size is shown.
For a comparison, see commons:Category:William-Adolphe Bouguereau.
Using table syntax, with images in separate cells, and the image syntax explained elsewhere on this page, gives more control over size, layout, captions, etc. than each of these two methods. However, only a category automatically gives file sizes.
Example of an image table:
{| |+'''Provinces of the Netherlands''' |- | valign="top"| [[Image:Drenthe-Position.png|thumb|left|150px|[[w:Drenthe|]], the least crowded province]] | valign="top"| [[Image:Flevoland-Position.png|thumb|left|100px|]] | valign="top"| [[Image:Friesland-Position.png|thumb|left|100px|]] |- | |- | valign="top"| [[Image:Gelderland-Position.png|thumb|left|100px|]] | valign="top"| [[Image:Zuid_Holland-Position.png|thumb|left|100px|[[w:South Holland|]], the most crowded province]] | valign="top"| [[Image:Utrecht-Position.png|thumb|left|50px|]] |}
gives:
Note that, with this method, each image has a width specified by the size option, if any, and a height depending on whether there is caption or not, and how long the caption is. The width of a column is determined by the widest image in it, and the height of the row is determined by the tallest image in it.
导航地图
Navigational maps like [3] have map areas linked to pages. The html with <area> tags can not be put in the wikitext. However, there are the following possibilities:
- EasyTimeline allows the creation of an image and a page embedding that image, with rectangular map areas defined by <area> tags in the html. The title of a link to a non-internal page is only the domain name, e.g. "en.wikipedia.org/..". The length and width of the rectangle can not be controlled, except that it depends on the length of the link label and its font size. In case of overlap of rectangles one has to look at the hoverbox or statusbar to avoid following the wrong link. In case of much overlap it may not be possible to use all links.
- One can divide an image in rectangles, like in these chess and go positions, or superimpose an area with images (see above) and link each rectangle/image to the desired target by means of a redirect on the image page (provided that the target is internal).
See also:
- Help:Composite images - Allows superimposing a linked text onto an image.
- Map of Downtown Ottawa, w:en:Wellington Street.
EasyTimeline 例
例 1
<timeline> ImageSize = width:400 height:150 PlotArea = width:400 height:150 left:0 bottom:0 TimeAxis = orientation:vertical # dummy, required Period = from:0 till:1 # dummy, required Define $s = fontsize:XL TextData = pos:(50,120) $s text:[http://en.wikipedia.org/wiki/Leiden|o Leiden] pos:(150,110) $s text:[http://en.wikipedia.org/wiki/Alphen%20aan%20den%20Rijn|o Alphen aan den Rijn] pos:(10,80) $s text:[http://en.wikipedia.org/wiki/The%20Hague|o The Hague] pos:(50,40) $s text:[http://en.wikipedia.org/wiki/Rotterdam|o Rotterdam] </timeline>
gives
例 2
<timeline> Preset = TimeHorizontal_AutoPlaceBars_UnitYear ImageSize = width:500 barincrement:50 Period = from:0 till:12 BarData= bar:a bar:b bar:c Define $s = fontsize:XL BackgroundColors = canvas:white PlotData= width:20 shift:(45,-5) bar:a from:3 till:4 $s text:[http://en.wikipedia.org/wiki/Leiden|Leiden] bar:a from:6 till:7 $s text:[http://en.wikipedia.org/wiki/Alphen%20aan%20den%20Rijn|Alphen aan den Rijn] bar:b from:1 till:2 $s text:[http://en.wikipedia.org/wiki/The%20Hague|The Hague] bar:c from:3 till:4 $s text:[http://en.wikipedia.org/wiki/Rotterdam|Rotterdam] </timeline>
gives
其他方法
Some attempts for other alternatives (note the hover boxes):
o | ||
o | ||
o |
Ascii art map, with both the city outline and the label clickable:
x xxx Leiden x xx xxxx The Hague xxx xx xxxxx Rotterdam xxxx
When external images can be embedded:
http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png | ||
http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png | ||
http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png |
The html titles are "w: Leiden", etc., the alt attribute is "Tst.png". Opera shows the title in the hoverbox, and also the url, IE only shows the titles.
With labels:
See also m:Maps, m:Maps' clickability.
保护
Images on MediaWiki:Bad image list can not be embedded, they appear as regular link to the image page. See e.g. w:en:MediaWiki:Bad image list.
Protection of an image page is automatically also protection of the image itself: i.e. a new image under the name of the existing image can only be uploaded by a sysop.
插入外部图像
外部图像不一定被允许嵌入,这取决于维基的的设定:该功能在元维基和许多其他维基(包括英文版和德文版)上被禁止以防止破坏和来自其他站点的“流量盗用”,但在一些维基上仍被允许,例如荷兰语维基。
如果在LocalSettings.php中开启:
$wgAllowExternalImages = true;
则图像连结(例如http://en.wikipedia.org/upload/b/bc/Wiki.png
)可以显示为图片,如果没有开启,则显示为图像位址的连结: http://en.wikipedia.org/upload/b/bc/Wiki.png 。
若被允许,外部图像的维基文本为纯URL位址,例如http://en.wikipedia.org/upload/b/bc/Wiki.png
,图像只能以实际大小显示。
必要时,从一个企划中下载图片然后上传至维基共享资源(假如该图像是自由版权的并且不属于合理使用(fair use)),该图片将可以在所有企划中使用。
下面的例子是为允许图像嵌入的企划所准备的。
使用图像连结到一个特定页面(外部URL或内部维基页面)见导航图片.
If enabled, use unbracketed external link style, i.e. just the URL (of the image itself, not of the image description page), e.g. http://en.wikipedia.org/upload/d/d1/Tile_Hill_train_550.jpg. The URL can be found by checking with your browser the properties of the image when it is displayed on a webpage.
Conversely, to go to the image description page of an image referred to with external link style, put the URL in the address bar and replace "upload/alphanumerics/alphanumerics/" with "wiki/image:".
For inline images, put the url, preceded and followed by a space, in the text: a http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png b gives a http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png b
Without special formatting, inline images are positioned like this:
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text http://en.wikipedia.org/upload/b/bc/Wiki.png text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
A table may be used to position the image(s) as desired. E.g.
{| | http://en.wikipedia.org/upload/b/bc/Wiki.png | | http://en.wikipedia.org/upload/b/bc/Wiki.png |- | | http://en.wikipedia.org/upload/b/bc/Wiki.png | |}
产生以下效果:
http://en.wikipedia.org/upload/b/bc/Wiki.png | http://en.wikipedia.org/upload/b/bc/Wiki.png | |
http://en.wikipedia.org/upload/b/bc/Wiki.png |
类似地,
{| | http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png | | http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png | | http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png |- | | http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png | | http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png | |- | http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png | | http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png | | http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png |}
产生以下效果:
WikiTeX
WikiTeX ([4]) 是一个MediaWiki extension that can produce graphs of functions, various diagrams, etc. It is operational at http://wikisophia.org/ , but not yet at Wikimedia projects. Note that one can anyway produce an image on Wikisophia, and subsequently upload it on any MediaWiki project.
参阅
- Template:Mlmw
- Help:Image page
- Non-free content
- Template:Mlw
- Template:Mlm
- Template:Mlm
- Template:Mlm
- Template:Mlw
- Template:Mlmw
- Template:Mlmw: setting the list of allowed/preferred file extentions
- Template:Mlmw: allowing embedding of external images
- Template:Mlmw
- Template:Mlmw:MediaWiki extension that can produce graphs of functions, various diagrams, etc
- Template:Mlm
- Template:Mlm
外部链接
- Before publishing any images, keep in mind that they can contain hidden data.
- PNG, JPEG, and Fractals
- List of image file types
- Image File Types
- Bitmap Image Files