Difference between revisions of "Template:Gallery"

From SpiralKnights

Jump to: navigation, search
m (created because I want PAGENAME to work for galleries, dangit.)
 
m (updated)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| align=left style="border: 1px solid #C0C0C0; padding:2px; width: 800px;"
+
{| align= style="border: 1px solid #C0C0C0; padding:2px; width: 800px;"
 
|- align = "center"  
 
|- align = "center"  
|style="border: 1px solid #C0C0C0;" | [[File:{{{news|}}}.png|150px|A related News image]]
+
|style="border: 1px solid #C0C0C0;" | {{#switch:{{{news|}}}|#default=[[File:{{{news}}}.png|200px|link=News]]|none = }}
|style="border: 1px solid #C0C0C0;" | [[File:{{{name|{{PAGENAME}}}}}-Equiped 2.png|150px|Back view]]
+
|style="border: 1px solid #C0C0C0;" | [[File:{{{name 1|{{PAGENAME}}}}}-Equipped 2.png|150px|Another tooltip view]]
|style="border: 1px solid #C0C0C0;" | [[File:{{{name|{{PAGENAME}}}}}-Preview.png|150px|Inspect Window view]]
+
|style="border: 1px solid #C0C0C0;" | [[File:{{{name 2|{{PAGENAME}}}}}-Preview.png|120px|Inspect Window view]]
|style="border: 1px solid #C0C0C0;" | [[File:{{{name|{{PAGENAME}}}}}-Overworld.png|150px|Overworld view]]
+
|style="border: 1px solid #C0C0C0;" | [[File:{{{name 3|{{PAGENAME}}}}}-Overworld.png|Overworld view]]
 
|- align = "center"
 
|- align = "center"
| A related [[News]] image.
+
| {{#switch:{{{news|}}}|#default=A related [[news]] image.|none=There was no [[news]] art <br/> introducing this item.}}
| A back view.
+
| Another tooltip view.
 
| An inspect window preview.
 
| An inspect window preview.
| An overworld view.
+
| An overworld view. {{#switch:{{{animation|no}}}|yes=<br/> (Animation - click to see)|no=}}
 
|}<noinclude>[[Category:Gallery Templates]]</noinclude>
 
|}<noinclude>[[Category:Gallery Templates]]</noinclude>

Latest revision as of 10:16, 22 January 2015

[[File:{{{news}}}.png|200px|link=News]] Another tooltip view Inspect Window view Overworld view
A related news image. Another tooltip view. An inspect window preview. An overworld view.
Personal tools