ARK: Survival Evolved Wiki
(Utworzono nową stronę "<includeonly><li style="{{#if:{{{css|}}}|{{#replace:{{{css}}}|;|!important;}}|}} margin: 8px 6px; padding:5px; position:relative; display:inline-block; width:200px; min-...")
 
Nie podano opisu zmian
 
(Nie pokazano 5 wersji utworzonych przez 2 użytkowników)
Linia 1: Linia 1:
<includeonly><li style="{{#if:{{{css|}}}|{{#replace:{{{css}}}|;|!important;}}|}} margin: 8px 6px; padding:5px; position:relative; display:inline-block; width:200px; min-height:152px; vertical-align:top; text-align:center; background:#fff; border:1px solid #fff; box-shadow:0 0 8px #333; /* For IE 7 */ zoom:1; *display:inline;">
+
<includeonly><li class="photo-bg" style="{{#if:{{{css|}}}|{{#replace:{{{css}}}|;|!important;}}|}} ">
<div style="display:table-cell; background:{{#if:{{{blackbox|}}}|{{{blackbox}}}|#000}}; width:200px; height:113px; vertical-align:middle;">[[File:{{{1|{{{obraz}}}}}}|middle|200x113px|link=]]</div>
+
<div style="display:table-cell; background:{{#if:{{{blackbox|}}}|{{{blackbox}}}|#000}}; width:200px; height:113px; vertical-align:middle;">[[File:{{{1|{{{image}}}}}}|middle|200x113px|link=]]</div>
<div style="position:relative; top:4px; padding:6px 0 6px 0; font-size:16px;">{{#if:{{{ikona|}}}|[[File:{{{ikona}}}|28px|link=]]&nbsp;{{#if:{{{ikona2|}}}|[[File:{{{ikona2}}}|28px|link=]]&nbsp;}}}}{{#if:{{{podpis/link|}}}|{{{podpis/link}}}|{{#if:{{{podpis|}}}{{{tekst|}}}|{{{podpis|{{{tekst}}}}}}}}}}</div>{{#if:{{{podpis/link|}}}|[[{{{podpis/link}}}|<span class="link-spanner"></span>]]|{{#if:{{{link|}}}|[[{{{link}}}|<span class="link-spanner"></span>]]|[[:File:{{{1|{{{obraz}}}}}}|<span class="link-spanner"></span>]]}}}}</li></includeonly><noinclude>
+
<div class="photo-text">{{#if:{{{icon|}}}|[[File:{{{icon}}}|28px|link=]]&nbsp;{{#if:{{{icon2|}}}|[[File:{{{icon2}}}|28px|link=]]&nbsp;{{#if:{{{icon3|}}}|[[File:{{{icon3}}}|28px|link=]]&nbsp;{{#if:{{{icon4|}}}|[[File:{{{icon4}}}|28px|link=]]&nbsp;{{#if:{{{icon5|}}}|[[File:{{{icon5}}}|28px|link=]]&nbsp;{{#if:{{{icon6|}}}|[[File:{{{icon6}}}|28px|link=]]&nbsp;}}}}}}}}}}}}{{#if:{{{caption/link|}}}|{{{caption/link}}}|{{#if:{{{caption|}}}{{{text|}}}|{{{caption|{{{text}}}}}}}}}}</div>{{#if:{{{caption/link|}}}|[[{{{caption/link}}}|<span class="link-spanner"></span>]]|{{#if:{{{link|}}}|[[{{{link}}}|<span class="link-spanner"></span>]]|[[:File:{{{1|{{{image}}}}}}|<span class="link-spanner"></span>]]}}}}</li></includeonly><noinclude>
 
'''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.
 
'''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.
   
Linia 70: Linia 70:
 
</ul>
 
</ul>
   
[[Category:Szablony]]</noinclude>
+
[[Category:Templates]][[en:Template:Photo]][[ru:Шаблон:Photo]]</noinclude>

Aktualna wersja na dzień 10:54, 23 cze 2020

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
    Artifact Of The Clever Central Cave
  • North Ice Cave Room2a
    Artifact Of The Clever Artifact Of The Devourer North Ice Cave
  • Biome Beach
    Beach
  • Biome River
    River
  • Biome Grasslands
    Grassland
  • Biome Jungle
    Jungle
  • Biome Swamp
    Swamp
  • Biome Mountain
    Mountain
  • Biome Snow
    Snow
  • Biome Ocean
    Ocean
  • Biome Island
    Islands
  • Leech Diseased
    A Diseased Leech
  • The Center DLC
    The Center