Template:FurnitureGallery – Official Palia Wiki

0
18
Template:FurnitureGallery – Official Palia Wiki

[ad_1]

Utilization

A foundation for together with a Gallery of Photos for a Furnishings web page.

By default when utilizing the {{FurnitureGallery}} template, 3 photographs are included mechanically (in the event that they exist):

  • UntranslatedPagename.png The principle Icon for the Furnishings Merchandise
  • UntranslatedPagename Ingame.png An in-game screenshot of the Furnishings Merchandise
  • Furnishings Wiki Gallery Placeholder.png As a call-to-action that may be faraway from the template afterward.

Syntax

{File:picture.png}
Parameters Description
File Identify Identify of the File (Should begin with File: and be the complete file identify, eg; File:Caleri’s Teapot.png)
Description Non-obligatory. Provides an outline beneath the picture.

Examples

A variety of code kinds can be utilized, whichever could also be simpler to learn and perceive within the editor.

Fundamental File and Description

{File:image1.png}
{File:picture.png
   }
{Description 3
}
{Description 3
}

Picture Properties

Further Picture properties might be added to every picture together with the Galleries description, nonetheless resulting from Template syntax further care have to be used to flee particular characters (To stop bizarre formatting issues).

  • Every picture property following the Description needs to be separated by {{!}}, which is able to convert right into a pipe character (|)
  • Typing an equal signal (=) will trigger the attribute to be handled as a named template parameter. {{=}} needs to be utilized in it is place.

Added Alt Textual content

The choice textual content might be overridden in conditions the place a picture fails to load, or a person is making use of a display reader to help in studying the web page.

{{FurnitureGallery
 |File:image1.png|Description 1{{!}}alt{{=}}Various picture textual content
 |File:image2.png|Description 2{{!}}alt{{=}}Extra different textual content
}}

Added Web page Hyperlink

Photos by default will hyperlink to their picture web page, resembling [[:File:image1.png]], this habits might be overridden by offering a hyperlink= to a different web page.

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

Associated

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here