Difference between revisions of "Template:Gallery2"

From Geohashing
imported>Relet
(+some doc)
imported>Relet
m (test with even less borders)
Line 1: Line 1:
<includeonly><table style="background:transparent; border:1px solid #f0f0f0; margin-top:0.5em;">
+
<includeonly><table style="background:transparent; margin-top:0.5em;">
 
{{#if:{{{title|}}}
 
{{#if:{{{title|}}}
 
  |<tr><td colspan="10" style="text-align:center; font-weight:bold;">{{{title}}}</td></tr>
 
  |<tr><td colspan="10" style="text-align:center; font-weight:bold;">{{{title}}}</td></tr>

Revision as of 22:44, 24 July 2010


A template to display a gallery. This one is chiefly used for the main page image gallery. If you want to include your own galleries somewhere else, you might want to use Template:Gallery, which is a bit more flexible in some aspects (formatting), and more restricted in others (number of gallery entries).

Look at the source code of this example to see how it can be used.


An example gallery
Thu 5 May 2010 (+)
 
10% achieved. 
20% achieved. 
Wed 4 May 2010 (+)
 
Wed 3 May 2010 (+)
 
Cake achieved.