Welcome to Wargaming.net Wiki!
Variants

Difference between revisions of "Template:Gallery"

Jump to: navigation, search
Revision as of 17:43, 21 May 2012
template for tank page galleries
 
Latest revision as of 11:18, 30 June 2014 
One intermediate revision by one other user not shown
Line 1:Line 1:
?<includeonly><div id="Panel" class="Gallery">+<includeonly>{{Popup
? {{#switch:{{{style}}}+|header={{{title|}}}
? |collapsed=<div class="NavFrame collapsed">+|hidden={{#switch:{{{style}}}|collapsed=1|expanded=|#default=1}}
? |expanded=<div class="NavFrame">+|content={{#tag:gallery|{{{content|}}}|widths=320px|heights=200px}}
? |#default=<div class="NavFrame collapsed">}}+}}</includeonly><noinclude>
? <div class="NavHead"><span class="title">{{{title|}}}</span></div>+
? <div class="NavContent" style="text-align:center;">{{#tag:gallery|{{{content|}}}|widths=320px|heights=200px}}</div>+
? </div>+
?</div></includeonly><noinclude>+
 ==Notes== ==Notes==
 Template for tank page galleries. Uses <nowiki><gallery></nowiki> tags. Template for tank page galleries. Uses <nowiki><gallery></nowiki> tags.

Latest revision as of 11:18, 30 June 2014

Notes

Template for tank page galleries. Uses <gallery> tags.

Template

{{Gallery
|title=gallery title
|style=collapsed|expanded (default/empty = collapsed)
|content=gallery content
}}

Example

{{Gallery
|title=Gallery
|content=
image:Maus-a.jpg{{!}}Front right
image:Maus-b.jpg{{!}}Front left
image:Maus-c.jpg{{!}}Rear right
image:Maus-d.jpg{{!}}Rear left
}}
Category: