Template:Gallery-nomix: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Stephen Ewen
mNo edit summary
imported>Chris Day
(try this)
Line 1: Line 1:
<table style="background-color:white; border:1px solid #f0f0f0; margin-top:0.5em;">{{#If:{{{caption|}}}|<tr><td colspan="10" style="text-align:center; font-weight:bold;">{{{caption}}}</td></tr>}}<tr><td><!--
{|style="background-color:white; border:1px solid #f0f0f0; margin-top:0.5em;"
|{{#If:{{{caption|}}}|{{!}}colspan="10" style="text-align:center; font-weight:bold;"{{!}}{{{caption}}}}}
|-
|<!--
-->{{Gallery/Sub|{{{1|Flag_is_missing.png}}}|{{{2|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}<!--
-->{{Gallery/Sub|{{{1|Flag_is_missing.png}}}|{{{2|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}<!--
-->{{#If:{{{3|}}}|{{Gallery/Sub|{{{3|}}}|{{{4|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{3|}}}|{{Gallery/Sub|{{{3|}}}|{{{4|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
Line 30: Line 33:
-->{{#If:{{{57|}}}|{{Gallery/Sub|{{{57|}}}|{{{58|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{57|}}}|{{Gallery/Sub|{{{57|}}}|{{{58|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{59|}}}|{{Gallery/Sub|{{{59|}}}|{{{60|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{59|}}}|{{Gallery/Sub|{{{59|}}}|{{{60|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
--></td></tr>{{#If:{{{61|}}}|<tr><td style="text-align:center; color:red;">The maximum number of images is 30!  Please add another gallery !</td></tr>}}</table>
-->{{#If:{{{61|}}}||style="text-align:center; color:red;"The maximum number of images is 30!  Please add another gallery !}}
|}
<noinclude>
<noinclude>
See [[Template_talk:Gallery]] for a full description and example usage.
See [[Template_talk:Gallery]] for a full description and example usage.

Revision as of 22:05, 18 October 2007

Template:Gallery/Substyle="text-align:center; color:red;"The maximum number of images is 30! Please add another gallery !

See Template_talk:Gallery for a full description and example usage.

Use:

{{Gallery
|caption=Use this for subheadings
|width=200
|lines=5
|PepperThreeAmigosSerrano.jpg|Image one caption goes here
|ArtichokeDeNoblesJumbo.jpg|Image two caption goes here
|GrapeStephensGreen.jpg|Image three caption goes here
|FigStephens.jpg|Image four caption goes here
|CauliflowerMadeleines.jpg|Image five caption goes here
|GrapeThompsonConcord.jpg|Image six caption goes here
|ZucchiniDeepRootsYellow.jpg|Image seven caption goes here
|ZucchiniDeepRootsGreen.jpg|Image eight caption goes here
|ChardDeepRoots.jpg|Image nine caption goes here
|ChardDeepRootsStalks2.jpg|Image ten caption goes here
|BroccoliWinters.jpg|Image eleven caption goes here
|BroccoliWintersFlorets.jpg|Image twelve caption goes here
|ParsnipWinters.jpg|Image thirteen caption goes here
|CarrotGatheringTogetherWhite.jpg|Image fourteen caption goes here
|CarrotGatheringTogetherGold.jpg|Image fifteen caption goes here
|TurnipGatheringTogether.jpg|Image sixteen caption goes here
|BeetGatheringTogether.jpg|Image seventeen caption goes here
|BeetGatheringTogetherOrange.jpg|Image eighteen caption goes here
|PotatoGatheringTogetherViking.jpg|Image nineteen caption goes here
|EggplantGatheringTogetherMachiawPink.jpg|Image twenty caption goes here
}}