Template:FishGallery/ja

提供:Palia Wiki
ナビゲーションに移動 検索に移動
このページはページ Template:FishGallery を「翻訳」したものです。翻訳は 100% 完了しています。
Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit the template documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.

This template has existing relatives or sub-templates: Template:FishGallery

Usage

The {{FishGallery}} template is to be used for the Gallery section of each fish page.

Template automatically checks and pulls three images for each page:

  • UntranslatedPagename.png (icon)
  • UntranslatedPagename Ingame.png (fish in the hand after catching)
  • UntranslatedPagename SQ Ingame.png (fish in aquarium)

Note: no image/broken link will appear if the file does not exist.

Syntax

{{FishGallery<!-- Place each image on a new line starting with "|File:". Add "|" and more text to include an image caption. -->
|File: |
}}<!-- Gallery end, DO NOT DELETE -->

If Gallery Placed on Page: Kilima Catfish

Image Properties

Additional Image properties can be added to each image along with the Galleries description, however due to Template syntax additional care must be used to escape special characters (To prevent weird formatting problems).

  • Each image property following the Description should be separated by {{!}}, which will convert into a pipe character (|)
  • Typing an equal sign (=) will cause the attribute to be treated as a named template parameter. {{=}} should be used in it's place.

Added Alt Text

The alternative text can be overridden in situations where an image fails to load, or a user is making use of a screen reader to assist in reading the page.

{{FishGallery
 |File:image1.png|Description 1{{!}}alt{{=}}Alternative image text
 |File:image2.png|Description 2{{!}}alt{{=}}More alternative text
}}

Added Page Link

Images by default will link to their image page, such as [[:File:image1.png]], this behavior can be overridden by providing a link= to another page.

{{FishGallery
 |File:image1.png|Description 1{{!}}link{{=}}[[Some Other Page]]
 |File:image2.png|Description 2{{!}}link{{=}}[[Also Another Page]]
}}

Related