(Utworzono nową stronę "<includeonly><li style="{{#if:{{{css|}}}|{{#replace:{{{css}}}|;|!important;}}|}} margin: 8px 6px; padding:5px; position:relative; display:inline-block; width:200px; min-...") |
UmbralExcalibur (dyskusja | edycje) m (Podmiana wystąpień szablonów) |
||
Linia 52: | Linia 52: | ||
<ul class="photo-nav"> |
<ul class="photo-nav"> |
||
− | {{ |
+ | {{Zdjęcie|CaveC.jpg|caption/link=Central Cave|icon=Artifact_Of_The_Clever.png}} |
− | {{ |
+ | {{Zdjęcie|North Ice Cave Room2a.jpg|caption=North Ice Cave|link=North Ice Cave (The Center)|icon=Artifact_Of_The_Clever.png|icon2=Artifact_Of_The_Devourer.png}} |
− | {{ |
+ | {{Zdjęcie|Biome Beach.jpg|text=Beach|link=Biomes#Beaches}} |
− | {{ |
+ | {{Zdjęcie|Biome River.jpg|caption=River|link=Biomes#Rivers}} |
− | {{ |
+ | {{Zdjęcie|Biome Grasslands.jpg|caption=Grassland|link=Biomes#Grasslands}} |
− | {{ |
+ | {{Zdjęcie|Biome Jungle.jpg|caption=Jungle|link=Biomes#Jungles}} |
− | {{ |
+ | {{Zdjęcie|Biome Swamp.jpg|caption=Swamp|link=Biomes#Swamp}} |
− | {{ |
+ | {{Zdjęcie|Biome Mountain.jpg|caption=Mountain|link=Biomes#Mountains}} |
− | {{ |
+ | {{Zdjęcie|Biome Snow.jpg|caption=Snow|link=Biomes#Snow}} |
− | {{ |
+ | {{Zdjęcie|Biome Ocean.jpg|caption=Ocean|link=Biomes#Oceans}} |
− | {{ |
+ | {{Zdjęcie|image=Biome Island.jpg|caption=Islands|link=Biomes#Islands}} |
− | {{ |
+ | {{Zdjęcie|Leech Diseased.jpg|caption=A Diseased Leech}} |
{{ Photo | The Center DLC.jpg | |
{{ Photo | The Center DLC.jpg | |
||
| caption/link = The Center |
| caption/link = The Center |
Wersja z 21:19, 11 sie 2018
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
orimage = CaveC.jpg
- Example:
- Caption: (Optional) The caption to be displayed.
- Example:
caption = Central Cave
- Example:
- 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.
- Example:
- 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
- Example:
- Icon: (Optional) An icon to be displayed at the start of the caption.
- Example:
icon = Artifact_Of_The_Clever.png
- Example:
- 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
- Example:
- CSS: (Optional) CSS to affect the entire photograph at the <li> html tag encompassing it.
- Example:
css = background:pink; font-variant:small-caps;
- Example:
- 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
- Example:
<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>