Шаблон:Photo

Материал из ARK: Survival Evolved Wiki
Перейти к: навигация, поиск

Photo is an alternative to the Gallery extension that simulates Polaroid photographs. It is used for photo-based table-of-contents or as a standalone Gallery.

Usage and Notes[править код]

  • Image (Parameter 1): The picture to be displayed.
Example: CaveC.jpg or image = CaveC.jpg
  • Caption: (Optional) The caption to be displayed.
Example: caption = Central Cave
  • Link: (Optional) Hyperlink to follow if NOT just to the displayed image when clicked.
Example: link = Caves
Note: to link the image directly (for photo galleries), leave the link blank.
  • Equivalent Caption and Link: (Optional) Use only when both the Caption and Link are the same to increase legibility of the code.
Example: caption/link = Caves
For instance, caption/link = Artifact_Of_The_Clever
does exactly the same as
caption = Artifact_Of_The_Clever
link = Artifact_Of_The_Clever
  • Icon: (Optional) An icon to be displayed at the start of the caption.
Example: icon = Artifact_Of_The_Clever.png
  • Icon2: (Optional) A second icon to be displayed at the start of the caption after the first icon.
Example: icon2 = Artifact_Of_The_Devourer.png
  • CSS: (Optional) CSS to affect the entire photograph at the <li> html tag encompassing it.
Example: css = background:pink; font-variant:small-caps;
  • Blackbox: (Optional) The color to display the stereotypical "Black Background" when the image doesn't fill the full 200x113px area.
Example: blackbox = purple
Example: blackbox = #ffffff
Example: blackbox = transparent
<ul class="photo-nav OR photo-gallery">
{{ Photo | Image_SRC.xxx |
  | caption/link = (Omit if caption and link aren't the same)
  | caption      = 
  | link         = 
  | icon         = 
  | icon2        = 
  | css          = 
  | blackbox     = 
}}

{{ Photo | Image_SRC.xxx |
  | caption/link = (Omit if caption and link aren't the same)
  | caption      = 
  | link         = 
  | icon         = 
  | icon2        = 
  | css          = 
  | blackbox     = 
}}
</ul>
  • CaveC.jpg
    Artifact of the Clever.png Central Cave
  • North Ice Cave Room2a.jpg
    Artifact of the Clever.png Artifact of the Devourer.png North Ice Cave
  • Biome Beach.jpg
    Beach
  • Biome River.jpg
    River
  • Biome Grasslands.jpg
    Grassland
  • Biome Jungle.jpg
    Jungle
  • Biome Swamp.jpg
    Swamp
  • Biome Mountain.jpg
    Mountain
  • Biome Snow.jpg
    Snow
  • Biome Ocean.jpg
    Ocean
  • Biome Island.jpg
    Islands
  • Leech Diseased.jpg
    A Diseased Leech
  • The Center DLC.jpg
    The Center