ARK: Survival Evolved Wiki
No edit summary
(Icon and Iconpath parameters)
Line 1: Line 1:
<includeonly><li style="{{#if:{{{4|}}}|{{#replace:{{{4}}}|;|!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;"><div style="background:#000; width:200px; height:113px;">[[File:{{{1}}}|200x113px|link={{#if:{{{3|}}}|{{{3}}}|File:{{{1}}}}}]]</div><div style="position:relative; top:4px; padding:6px 0 6px 0; font-size:16px;">{{#if:{{{3|}}}|[[{{{3}}}|{{{2}}}]]|[[{{{2}}}]]}}</div></li></includeonly><noinclude>
+
<includeonly><li style="{{#if:{{{6|}}}|{{#replace:{{{6}}}|;|!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;"><div style="background:#000; width:200px; height:113px;">[[File:{{{1}}}|200x113px|link={{#if:{{{3|}}}|{{{3}}}|File:{{{1}}}}}]]</div><div style="position:relative; top:4px; padding:6px 0 6px 0; font-size:16px;">{{#if:{{{4|}}}|[[File:{{{4}}}|28px|link={{#if:{{{5|}}}|{{{5}}}|File:{{{4}}}}}]]&nbsp;|}}{{#if:{{{3|}}}|[[{{{3}}}|{{{2}}}]]|[[{{{2}}}]]}}</div></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.
   
 
<pre><ul class="photo-nav OR photo-gallery">
 
<pre><ul class="photo-nav OR photo-gallery">
{{Photo|Image_SRC.xxx|Caption|Link (if not just to image)|Optional CSS}}
+
{{Photo|Image_SRC.xxx|Caption|Link (if not just to image)|Optional Icon|Optional Icon_SRC.xxx|Optional CSS}}
 
</ul>
 
</ul>
   
Line 9: Line 9:
 
<ul class="photo-nav">
 
<ul class="photo-nav">
 
{{Photo|Biome Beach.jpg|Beach|Biomes#Beaches}}
 
{{Photo|Biome Beach.jpg|Beach|Biomes#Beaches}}
  +
{{Photo|CaveC.jpg|Central Cave|Central Cave|Artifact_Of_The_Clever.png|Artifact Of The Clever}}
 
</ul></pre>
 
</ul></pre>
 
<ul class="photo-nav">
 
<ul class="photo-nav">
  +
{{Photo|CaveC.jpg|Central Cave|Central Cave|Artifact_Of_The_Clever.png|Artifact Of The Clever}}
 
{{Photo|Biome Beach.jpg|Beach|Biomes#Beaches}}
 
{{Photo|Biome Beach.jpg|Beach|Biomes#Beaches}}
 
{{Photo|Biome River.jpg|River|Biomes#Rivers}}
 
{{Photo|Biome River.jpg|River|Biomes#Rivers}}

Revision as of 03:21, 15 May 2016

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.

<ul class="photo-nav OR photo-gallery">
{{Photo|Image_SRC.xxx|Caption|Link (if not just to image)|Optional Icon|Optional Icon_SRC.xxx|Optional CSS}}
</ul>

Example:
<ul class="photo-nav">
{{Photo|Biome Beach.jpg|Beach|Biomes#Beaches}}
{{Photo|CaveC.jpg|Central Cave|Central Cave|Artifact_Of_The_Clever.png|Artifact Of The Clever}}
</ul>