Template:Gallery-nomix: Difference between revisions
Jump to navigation
Jump to search
imported>Stephen Ewen No edit summary |
imported>Stephen Ewen mNo edit summary |
||
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><!-- | <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><!-- | ||
-->{{Gallery/Sub|{{{1| | -->{{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}}}}}}}<!-- | ||
-->{{#If:{{{5|}}}|{{Gallery/Sub|{{{5|}}}|{{{6|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!-- | -->{{#If:{{{5|}}}|{{Gallery/Sub|{{{5|}}}|{{{6|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!-- |
Revision as of 20:27, 18 October 2007
Template:Gallery/Sub |
Currently holds up to 40 images per gallery; number is expandable, just follow the pattern you can see in the code. Width and lines are variable.
Use:
{{Gallery |caption=Use this for subheadings |width=200 |lines=5 |Image_One.JPG|Image one caption goes here |Image_Two.JPG|Image two caption goes here |Image_Three.JPG|Image three caption goes here |Image_Four.JPG|Image four caption goes here |Image_Five.JPG|Image five caption goes here |Image_Six.JPG|Image six caption goes here |Image_Seven.JPG|Image seven caption goes here |Image_Eight.JPG|Image eight caption goes here |Image_Nine.JPG|Image nine caption goes here |Image_Ten.JPG|Image ten caption goes here |Image_Eleven.JPG|Image eleven caption goes here |Image_Twelve.JPG|Image twelve caption goes here |Image_Thirteen.JPG|Image thirteen caption goes here |Image_Fourteen.JPG|Image fourteen caption goes here |Image_Fifteen.JPG|Image fifteen caption goes here |Image_Sixteen.JPG|Image sixteen caption goes here |Image_Seventeen.JPG|Image seventeen caption goes here |Image_Eighteen.JPG|Image eighteen caption goes here |Image_Nineteen.JPG|Image nineteen caption goes here |Image_Twenty.JPG|Image twenty caption goes here }}