テンプレート:DummyImage2.5/doc

提供: wiki
< テンプレート:DummyImage2.5
2018年6月29日 (金) 03:43時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

What it does

The DummyImage2.5 template places a temporary image graphic on a page in various user specified ways. This template should only be used as a temporary stop gap, real usable images should be created/found. When suitable images are ready, remove this template from your page and substitute actual images.

Usage

The DummyImage2.5 Template has the following usage format:

{{DummyImage2.5| IMAGETYPE | SIZE | ALIGNMENT | TEXT}}

  • IMAGETYPE - Specifies the type of image to be displayed on the page. Valid values are:
normal - This specifies an image which will not have a caption (a TEXT parameter).
thumb - This specifies an image that will be able to have a caption (a TEXT parameter).
Please also note that at the moment the IMAGETYPE parameter is case sensitive and must be in lowercase, otherwise it may be ignored.
  • SIZE - Specifies that size in pixels the image will be displayed at. That value must be in the form NNpx. Where NN is the numerical size the image will be displayed followed by px. Examples of valid values would be 100px for a image with a size of 100 pixel across.
  • ALIGNMENT - Specifies what position the image will be displayed on screen. Some of the valid values it can have are: left, right, center. Which will respectively place the image on the left, right or center of the screen.
  • TEXT - Specifies the text caption that will appear with the temporary image. This value is only used when IMAGETYPE is float, as normal IMAGETYPE images do not has captions.

Example Usages

{{DummyImage2.5|normal|100px|left}} - produces:

Blender25TemporaryImage.png




{{DummyImage2.5|normal|200px|right}} - produces:

Blender25TemporaryImage.png




{{DummyImage2.5|normal|50px|center}} - produces:

Blender25TemporaryImage.png




{{DummyImage2.5|thumb|100px|left|Image 4}} - produces:

Image 4




{{DummyImage2.5|thumb|100px|right|Image 5}} - produces:

Image 5




{{DummyImage2.5|thumb|100px|center|Image 6}} - produces:

Image 6





Further Information

If you wish to contact me about this template please contact Terrywallwork

Please be aware that I know next to nothing about media wiki template formats so there may be many things wrong or things that could be improved with this template so feel free to update/improve this template.