「ヘルプ:Images/ja」を編集中

移動先: 案内検索

警告: ログインしていません。編集を行うと、あなたの IP アドレスが公開されます。ログインまたはアカウントを作成すれば、あなたの編集はその利用者名とともに表示されるほか、その他の利点もあります。

この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 編集中の文章
517行目: 517行目:
 
By default an image links to its file description page.
 
By default an image links to its file description page.
 
The "link=" option modifies this behavior to link to another page or website, or to turn off the image's linking behavior.
 
The "link=" option modifies this behavior to link to another page or website, or to turn off the image's linking behavior.
 +
Alternatively, you can create a text link to an image's description page or to the image itself.
  
Alternatively, you can create a text link to a file description page or to the file itself.
+
=== Text link to image's file description page ===
See {{ll|Help:Linking to files}}.
+
 
 +
Use a '''colon''' (<code>:</code>) before <code>{{ns:image}}:</code> to link to image's file description page:
 +
 
 +
{| cellpadding=10px
 +
|
 +
[[:{{ns:image}}:{{mediawiki:image_sample}}]]
 +
|
 +
<nowiki>[[</nowiki>:{{ns:image}}:{{mediawiki:image_sample}}]]
 +
|-
 +
|
 +
[[:{{ns:image}}:{{mediawiki:image_sample}}{{!}}Sunflowers]]
 +
|
 +
<nowiki>[[</nowiki>:{{ns:image}}:{{mediawiki:image_sample}}&#124;Sunflowers]]
 +
|}
 +
 
 +
=== Text link to actual image ===
 +
 
 +
Use '''pseudo-namespace''' "{{ns:media}}" for a text link to the actual image:
 +
 
 +
{| cellpadding=10px width=90% align=center
 +
|
 +
[[{{ns:media}}:{{mediawiki:image_sample}}]]
 +
|
 +
<nowiki>[[</nowiki>{{ns:media}}:{{mediawiki:image_sample}}]]
 +
|-
 +
|
 +
[[{{ns:media}}:{{mediawiki:image_sample}}{{!}}Sunflowers]]
 +
|
 +
<nowiki>[[</nowiki>{{ns:media}}:{{mediawiki:image_sample}}&#124;Sunflowers]]
 +
|}
 +
 
 +
(If above gets you instead a text link to the image's file description, not a link to the actual image, perhaps your wiki's namespaces are configured out of compliance with this feature?)
  
 
=== Display image, link it to another page or website ===
 
=== Display image, link it to another page or website ===
549行目: 581行目:
  
 
[[File:Wiki.png|50px|link=]]
 
[[File:Wiki.png|50px|link=]]
 
  
 
== Requisites ==
 
== Requisites ==
572行目: 603行目:
 
which renders as: [http://www.example.com/some/image.png Example '''<del>rich</del>''' ''<ins>link text<ins>'' here.]
 
which renders as: [http://www.example.com/some/image.png Example '''<del>rich</del>''' ''<ins>link text<ins>'' here.]
  
If it is enabled on your wiki (see {{ll|Manual:$wgAllowExternalImages}}), you can also embed external images. To do that, simply insert the image's url:
+
If it is enabled on your wiki (see {{mediawiki|Manual:$wgAllowExternalImages}}), you can also embed external images. To do that, simply insert the image's url:
 
<pre>http://url.for/some/image.png</pre>
 
<pre>http://url.for/some/image.png</pre>
 
Currently, embedded images cannot be resized, but they may be formatted by surrounding MediaWiki markup or HTML/CSS code.
 
Currently, embedded images cannot be resized, but they may be formatted by surrounding MediaWiki markup or HTML/CSS code.

ひつじ小屋別館2代目への投稿はすべて、他の投稿者によって編集、変更、除去される場合があります。 自分が書いたものが他の人に容赦なく編集されるのを望まない場合は、ここに投稿しないでください。
また、投稿するのは、自分で書いたものか、パブリック ドメインまたはそれに類するフリーな資料からの複製であることを約束してください(詳細はひつじ小屋別館2代目:著作権を参照)。 著作権保護されている作品は、許諾なしに投稿しないでください!

このページを編集するには、下記の確認用の質問に回答してください (詳細):

取り消し | 編集の仕方 (新しいウィンドウで開きます)