Template:Gallery-nomix: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Stephen Ewen
No edit summary
imported>Caesar Schinas
mNo edit summary
 
(29 intermediate revisions by 2 users not shown)
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><!--
<noinclude>{{tlDeprecate|Use {{tl|gallery}} with the <code>licence</code> parameter set.}}
-->{{Gallery/Sub|{{{1|Flag_is_missing.png}}}|{{{2|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}<!--
</noinclude>
-->{{#If:{{{3|}}}|{{Gallery/Sub|{{{3|}}}|{{{4|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
{|style="background-color:white; border:1px solid #f0f0f0; margin-top:0.5em;"
-->{{#If:{{{5|}}}|{{Gallery/Sub|{{{5|}}}|{{{6|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
|{{#If:{{{caption|}}}|colspan="10" style="text-align:center; font-weight:bold;"{{!}}{{{caption}}}}}
-->{{#If:{{{7|}}}|{{Gallery/Sub|{{{7|}}}|{{{8|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
|-
-->{{#If:{{{9|}}}|{{Gallery/Sub|{{{9|}}}|{{{10|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
|<!--
-->{{#If:{{{11|}}}|{{Gallery/Sub|{{{11|}}}|{{{12|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{Gallery-nomix/Sub|{{{1|Flag_is_missing.png}}}|{{{2|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}<!--
-->{{#If:{{{13|}}}|{{Gallery/Sub|{{{13|}}}|{{{14|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{3|}}}|{{Gallery-nomix/Sub|{{{3|}}}|{{{4|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{15|}}}|{{Gallery/Sub|{{{15|}}}|{{{16|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{5|}}}|{{Gallery-nomix/Sub|{{{5|}}}|{{{6|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{17|}}}|{{Gallery/Sub|{{{17|}}}|{{{18|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{7|}}}|{{Gallery-nomix/Sub|{{{7|}}}|{{{8|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{19|}}}|{{Gallery/Sub|{{{19|}}}|{{{20|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{9|}}}|{{Gallery-nomix/Sub|{{{9|}}}|{{{10|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{21|}}}|{{Gallery/Sub|{{{21|}}}|{{{22|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{11|}}}|{{Gallery-nomix/Sub|{{{11|}}}|{{{12|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{23|}}}|{{Gallery/Sub|{{{23|}}}|{{{24|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{13|}}}|{{Gallery-nomix/Sub|{{{13|}}}|{{{14|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{25|}}}|{{Gallery/Sub|{{{25|}}}|{{{26|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{15|}}}|{{Gallery-nomix/Sub|{{{15|}}}|{{{16|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{27|}}}|{{Gallery/Sub|{{{27|}}}|{{{28|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{17|}}}|{{Gallery-nomix/Sub|{{{17|}}}|{{{18|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{29|}}}|{{Gallery/Sub|{{{29|}}}|{{{30|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{19|}}}|{{Gallery-nomix/Sub|{{{19|}}}|{{{20|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{31|}}}|{{Gallery/Sub|{{{31|}}}|{{{32|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{21|}}}|{{Gallery-nomix/Sub|{{{21|}}}|{{{22|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{33|}}}|{{Gallery/Sub|{{{33|}}}|{{{34|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{23|}}}|{{Gallery-nomix/Sub|{{{23|}}}|{{{24|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{35|}}}|{{Gallery/Sub|{{{35|}}}|{{{36|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{25|}}}|{{Gallery-nomix/Sub|{{{25|}}}|{{{26|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{37|}}}|{{Gallery/Sub|{{{37|}}}|{{{38|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{27|}}}|{{Gallery-nomix/Sub|{{{27|}}}|{{{28|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{39|}}}|{{Gallery/Sub|{{{39|}}}|{{{40|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{29|}}}|{{Gallery-nomix/Sub|{{{29|}}}|{{{30|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{41|}}}|{{Gallery/Sub|{{{41|}}}|{{{42|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{31|}}}|{{Gallery-nomix/Sub|{{{31|}}}|{{{32|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{43|}}}|{{Gallery/Sub|{{{43|}}}|{{{44|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{33|}}}|{{Gallery-nomix/Sub|{{{33|}}}|{{{34|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{45|}}}|{{Gallery/Sub|{{{45|}}}|{{{46|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{35|}}}|{{Gallery-nomix/Sub|{{{35|}}}|{{{36|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{47|}}}|{{Gallery/Sub|{{{47|}}}|{{{48|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{37|}}}|{{Gallery-nomix/Sub|{{{37|}}}|{{{38|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{49|}}}|{{Gallery/Sub|{{{49|}}}|{{{50|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{39|}}}|{{Gallery-nomix/Sub|{{{39|}}}|{{{40|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{51|}}}|{{Gallery/Sub|{{{51|}}}|{{{52|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{41|}}}|{{Gallery-nomix/Sub|{{{41|}}}|{{{42|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{53|}}}|{{Gallery/Sub|{{{53|}}}|{{{54|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{43|}}}|{{Gallery-nomix/Sub|{{{43|}}}|{{{44|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{55|}}}|{{Gallery/Sub|{{{55|}}}|{{{56|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{45|}}}|{{Gallery-nomix/Sub|{{{45|}}}|{{{46|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{57|}}}|{{Gallery/Sub|{{{57|}}}|{{{58|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{47|}}}|{{Gallery-nomix/Sub|{{{47|}}}|{{{48|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{59|}}}|{{Gallery/Sub|{{{59|}}}|{{{60|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{49|}}}|{{Gallery-nomix/Sub|{{{49|}}}|{{{50|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{61|}}}|{{Gallery/Sub|{{{61|}}}|{{{62|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{51|}}}|{{Gallery-nomix/Sub|{{{51|}}}|{{{52|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{63|}}}|{{Gallery/Sub|{{{63|}}}|{{{64|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{53|}}}|{{Gallery-nomix/Sub|{{{53|}}}|{{{54|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{65|}}}|{{Gallery/Sub|{{{65|}}}|{{{66|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{55|}}}|{{Gallery-nomix/Sub|{{{55|}}}|{{{56|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{67|}}}|{{Gallery/Sub|{{{67|}}}|{{{68|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{57|}}}|{{Gallery-nomix/Sub|{{{57|}}}|{{{58|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{69|}}}|{{Gallery/Sub|{{{69|}}}|{{{70|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
-->{{#If:{{{59|}}}|{{Gallery-nomix/Sub|{{{59|}}}|{{{60|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}
-->{{#If:{{{71|}}}|{{Gallery/Sub|{{{71|}}}|{{{72|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
|-
-->{{#If:{{{73|}}}|{{Gallery/Sub|{{{73|}}}|{{{74|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
{{#If:{{{61|}}}|{{!}}style="text-align:center; color:red;"{{!}}The maximum number of images is 30!  Please add another gallery !|}}
-->{{#If:{{{75|}}}|{{Gallery/Sub|{{{75|}}}|{{{76|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
|}
-->{{#If:{{{77|}}}|{{Gallery/Sub|{{{77|}}}|{{{78|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
<noinclude>
-->{{#If:{{{79|}}}|{{Gallery/Sub|{{{79|}}}|{{{80|}}}|width={{{width|180}}}|lines={{{lines|2}}}}}}}<!--
<BR>
--></td></tr>{{#If:{{{61|}}}|<tr><td style="text-align:center; color:red;">The maximum number of images is 40!  Please make a sub-gallery.</td></tr>}}</table>
'''This template is for use only for galleries where the following two conditions exist:'''
#Each image is by the same author.
#Each image is released under the same license or license family.
 
For mixed galleries, go to [[:Template:Gallery-mixed]].
 
Otherwise see [[Template_talk:Gallery-mixed]] for a full description and example usage.


<noinclude>
It has minor bugs you can read about there.
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:
Placement:
<PRE>
<PRE>
{{Gallery
{{Gallery-nomix
|caption=Use this for subheadings
|caption=Add a subheading here.<br>Add license info here.
|width=200
|width=200
|lines=5
|lines=5
|PepperThreeAmigosSerrano.jpg|Image one caption goes here{{PepperThreeAmigosSerrano.jpg
|Name of image.jpg|Image one caption goes here
|ArtichokeDeNoblesJumbo.jpg|Image two caption goes here{{ArtichokeDeNoblesJumbo.jpg
|Name of image.jpg|Image two caption goes here
|GrapeStephensGreen.jpg|Image three caption goes here{{GrapeStephensGreen.jpg
|Name of image.png|Image three caption goes here
|FigStephens.jpg|Image four caption goes here
|Name of image.jpg|Image four caption goes here
|CauliflowerMadeleines.jpg|Image five caption goes here{{CauliflowerMadeleines.jpg
|Name of image.jpg|Image five caption goes here
|GrapeThompsonConcord.jpg|Image six caption goes here{{GrapeThompsonConcord.jpg
|Name of image.gif|Image six caption goes here
|ZucchiniDeepRootsYellow.jpg|Image seven caption goes here{{ZucchiniDeepRootsYellow.jpg
|Name of image.jpg|Image seven caption goes here
|ZucchiniDeepRootsGreen.jpg|Image eight caption goes here{{ZucchiniDeepRootsGreen.jpg
|Name of image.jpg|Image eight caption goes here
|ChardDeepRoots.jpg|Image nine caption goes here
|Name of image.gif|Image nine caption goes here
|ChardDeepRootsStalks2.jpg|Image ten caption goes here
|Name of image.jpg|Image ten caption goes here
|BroccoliWinters.jpg|Image eleven caption goes here
|Name of image.png|Image eleven caption goes here
|BroccoliWintersFlorets.jpg|Image twelve caption goes here
|Name of image.jpg|Image twelve caption goes here
|ParsnipWinters.jpg|Image thirteen caption goes here
|Name of image.jpg|Image thirteen caption goes here
|CarrotGatheringTogetherWhite.jpg|Image fourteen caption goes here
|Name of image.jpg|Image fourteen caption goes here
|CarrotGatheringTogetherGold.jpg|Image fifteen caption goes here
|Name of image.gif|Image fifteen caption goes here
|TurnipGatheringTogether.jpg|Image sixteen caption goes here
|Name of image.jpg|Image sixteen caption goes here
|BeetGatheringTogether.jpg|Image seventeen caption goes here
|Name of image.png|Image seventeen caption goes here
|BeetGatheringTogetherOrange.jpg|Image eighteen caption goes here
|Name of image.jpg|Image eighteen caption goes here
|PotatoGatheringTogetherViking.jpg|Image nineteen caption goes here
|Name of image.jpg|Image nineteen caption goes here
|EggplantGatheringTogetherMachiawPink.jpg|Image twenty caption goes here
|Name of image.png|Image twenty caption goes here
}}
}}
</PRE>
</PRE>
'''NOTE: Keep adding lines for each image, up to a maximum of 30.'''
*Tech note: this template is dependent upon {{Tl|Gallery-nomix/Sub}}


[[Category:Media Assets Workgroup]]
[[Category:Media Assets Workgroup]]
</noinclude>
</noinclude>

Latest revision as of 04:22, 27 June 2009

WARNING
This template is deprecated. Please do not use it.
Use {{gallery}} with the licence parameter set.


Flag is missing.png
 


This template is for use only for galleries where the following two conditions exist:

  1. Each image is by the same author.
  2. Each image is released under the same license or license family.

For mixed galleries, go to Template:Gallery-mixed.

Otherwise see Template_talk:Gallery-mixed for a full description and example usage.

It has minor bugs you can read about there.

Placement:

{{Gallery-nomix
|caption=Add a subheading here.<br>Add license info here.
|width=200
|lines=5
|Name of image.jpg|Image one caption goes here
|Name of image.jpg|Image two caption goes here
|Name of image.png|Image three caption goes here
|Name of image.jpg|Image four caption goes here
|Name of image.jpg|Image five caption goes here
|Name of image.gif|Image six caption goes here
|Name of image.jpg|Image seven caption goes here
|Name of image.jpg|Image eight caption goes here
|Name of image.gif|Image nine caption goes here
|Name of image.jpg|Image ten caption goes here
|Name of image.png|Image eleven caption goes here
|Name of image.jpg|Image twelve caption goes here
|Name of image.jpg|Image thirteen caption goes here
|Name of image.jpg|Image fourteen caption goes here
|Name of image.gif|Image fifteen caption goes here
|Name of image.jpg|Image sixteen caption goes here
|Name of image.png|Image seventeen caption goes here
|Name of image.jpg|Image eighteen caption goes here
|Name of image.jpg|Image nineteen caption goes here
|Name of image.png|Image twenty caption goes here
}}

NOTE: Keep adding lines for each image, up to a maximum of 30.