Bureaucrats, Moderators (CommentStreams), Interface administrators, Push subscription managers, Suppressors, Administrators
12,626
edits
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is | This template is used by [[Form:Gallery]] to create standalone gallery pages. | ||
{{# | == Template parameters == | ||
{{#template_params: | |||
|GalleryImage1 (label=Gallery Image 1, type=file) | |||
|GalleryTitle1 (label=Gallery Title/Caption 1) | |||
|GalleryAlt1 (label=Gallery Alt Text 1) | |||
|GalleryImage2 (label=Gallery Image 2, type=file) | |||
|GalleryTitle2 (label=Gallery Title/Caption 2) | |||
|GalleryAlt2 (label=Gallery Alt Text 2) | |||
|GalleryImage3 (label=Gallery Image 3, type=file) | |||
|GalleryTitle3 (label=Gallery Title/Caption 3) | |||
|GalleryAlt3 (label=Gallery Alt Text 3) | |||
|GalleryImage4 (label=Gallery Image 4, type=file) | |||
|GalleryTitle4 (label=Gallery Title/Caption 4) | |||
|GalleryAlt4 (label=Gallery Alt Text 4) | |||
|GalleryImage5 (label=Gallery Image 5, type=file) | |||
|GalleryTitle5 (label=Gallery Title/Caption 5) | |||
|GalleryAlt5 (label=Gallery Alt Text 5) | |||
|GalleryImage6 (label=Gallery Image 6, type=file) | |||
|GalleryTitle6 (label=Gallery Title/Caption 6) | |||
|GalleryAlt6 (label=Gallery Alt Text 6) | |||
|GalleryImage7 (label=Gallery Image 7, type=file) | |||
|GalleryTitle7 (label=Gallery Title/Caption 7) | |||
|GalleryAlt7 (label=Gallery Alt Text 7) | |||
|GalleryImage8 (label=Gallery Image 8, type=file) | |||
|GalleryTitle8 (label=Gallery Title/Caption 8) | |||
|GalleryAlt8 (label=Gallery Alt Text 8) | |||
|GalleryImage9 (label=Gallery Image 9, type=file) | |||
|GalleryTitle9 (label=Gallery Title/Caption 9) | |||
|GalleryAlt9 (label=Gallery Alt Text 9) | |||
|GalleryImage10 (label=Gallery Image 10, type=file) | |||
|GalleryTitle10 (label=Gallery Title/Caption 10) | |||
|GalleryAlt10 (label=Gallery Alt Text 10) | |||
|AssociatedSaint (label=Associated Saint article(s), list=true, type=page) | |||
|AssociatedParish (label=Associated Parish article(s), list=true, type=page) | |||
|AssociatedCountry (label=Associated Country article(s), list=true, type=page) | |||
|AssociatedState (label=Associated State/Subdivision article(s), list=true, type=page) | |||
|AssociatedDioceses (label=Associated Diocese article(s), list=true, type=page) | |||
|AssociatedCity (label=Associated City/Populated area article(s), list=true, type=page) | |||
|AssociatedOrder (label=Associated Religious Order article(s), list=true, type=page) | |||
|AssociatedGroup (label=Associated Lay Group article(s), list=true, type=page) | |||
|AssociatedShrines (label=Associated Shrine article(s), list=true, type=page) | |||
}} | |||
== Cargo declaration == | |||
{{#cargo_declare:_table=Galleries | |||
|GalleryImage1=File | |||
|GalleryTitle1=String | |||
|GalleryAlt1=String | |||
|GalleryImage2=File | |||
|GalleryTitle2=String | |||
|GalleryAlt2=String | |||
|GalleryImage3=File | |||
|GalleryTitle3=String | |||
|GalleryAlt3=String | |||
|GalleryImage4=File | |||
|GalleryTitle4=String | |||
|GalleryAlt4=String | |||
|GalleryImage5=File | |||
|GalleryTitle5=String | |||
|GalleryAlt5=String | |||
|GalleryImage6=File | |||
|GalleryTitle6=String | |||
|GalleryAlt6=String | |||
|GalleryImage7=File | |||
|GalleryTitle7=String | |||
|GalleryAlt7=String | |||
|GalleryImage8=File | |||
|GalleryTitle8=String | |||
|GalleryAlt8=String | |||
|GalleryImage9=File | |||
|GalleryTitle9=String | |||
|GalleryAlt9=String | |||
|GalleryImage10=File | |||
|GalleryTitle10=String | |||
|GalleryAlt10=String | |||
|AssociatedSaint=List (,) of Page | |||
|AssociatedParish=List (,) of Page | |||
|AssociatedCountry=List (,) of Page | |||
|AssociatedState=List (,) of Page | |||
|AssociatedDioceses=List (,) of Page | |||
|AssociatedCity=List (,) of Page | |||
|AssociatedOrder=List (,) of Page | |||
|AssociatedGroup=List (,) of Page | |||
|AssociatedShrines=List (,) of Page | |||
}} | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{#cargo_store:_table=Galleries | |||
|GalleryImage1={{{GalleryImage1|}}} | |||
|GalleryTitle1={{{GalleryTitle1|}}} | |||
|GalleryAlt1={{{GalleryAlt1|}}} | |||
|GalleryImage2={{{GalleryImage2|}}} | |||
|GalleryTitle2={{{GalleryTitle2|}}} | |||
|GalleryAlt2={{{GalleryAlt2|}}} | |||
|GalleryImage3={{{GalleryImage3|}}} | |||
|GalleryTitle3={{{GalleryTitle3|}}} | |||
|GalleryAlt3={{{GalleryAlt3|}}} | |||
|GalleryImage4={{{GalleryImage4|}}} | |||
|GalleryTitle4={{{GalleryTitle4|}}} | |||
|GalleryAlt4={{{GalleryAlt4|}}} | |||
|GalleryImage5={{{GalleryImage5|}}} | |||
|GalleryTitle5={{{GalleryTitle5|}}} | |||
|GalleryAlt5={{{GalleryAlt5|}}} | |||
|GalleryImage6={{{GalleryImage6|}}} | |||
|GalleryTitle6={{{GalleryTitle6|}}} | |||
|GalleryAlt6={{{GalleryAlt6|}}} | |||
|GalleryImage7={{{GalleryImage7|}}} | |||
|GalleryTitle7={{{GalleryTitle7|}}} | |||
|GalleryAlt7={{{GalleryAlt7|}}} | |||
|GalleryImage8={{{GalleryImage8|}}} | |||
|GalleryTitle8={{{GalleryTitle8|}}} | |||
|GalleryAlt8={{{GalleryAlt8|}}} | |||
|GalleryImage9={{{GalleryImage9|}}} | |||
|GalleryTitle9={{{GalleryTitle9|}}} | |||
|GalleryAlt9={{{GalleryAlt9|}}} | |||
|GalleryImage10={{{GalleryImage10|}}} | |||
|GalleryTitle10={{{GalleryTitle10|}}} | |||
|GalleryAlt10={{{GalleryAlt10|}}} | |||
|AssociatedSaint={{{AssociatedSaint|}}} | |||
|AssociatedParish={{{AssociatedParish|}}} | |||
|AssociatedCountry={{{AssociatedCountry|}}} | |||
|AssociatedState={{{AssociatedState|}}} | |||
|AssociatedDioceses={{{AssociatedDioceses|}}} | |||
|AssociatedCity={{{AssociatedCity|}}} | |||
|AssociatedOrder={{{AssociatedOrder|}}} | |||
|AssociatedGroup={{{AssociatedGroup|}}} | |||
|AssociatedShrines={{{AssociatedShrines|}}} | |||
}} | |||
== Gallery == | |||
{{#cargo_query: | |||
tables=Galleries | |||
|fields=GalleryImage1,GalleryTitle1=Title1,GalleryAlt1=Alt1, | |||
GalleryImage2,GalleryTitle2=Title2,GalleryAlt2=Alt2, | |||
GalleryImage3,GalleryTitle3=Title3,GalleryAlt3=Alt3, | |||
GalleryImage4,GalleryTitle4=Title4,GalleryAlt4=Alt4, | |||
GalleryImage5,GalleryTitle5=Title5,GalleryAlt5=Alt5, | |||
GalleryImage6,GalleryTitle6=Title6,GalleryAlt6=Alt6, | |||
GalleryImage7,GalleryTitle7=Title7,GalleryAlt7=Alt7, | |||
GalleryImage8,GalleryTitle8=Title8,GalleryAlt8=Alt8, | |||
GalleryImage9,GalleryTitle9=Title9,GalleryAlt9=Alt9, | |||
GalleryImage10,GalleryTitle10=Title10,GalleryAlt10=Alt10 | |||
|where=_pageName="{{FULLPAGENAME}}" | |||
|format=gallery | |||
|mode=packed-hover | |||
|per row=4 | |||
|widths=220 | |||
|heights=180 | |||
|caption field=Title1,Title2,Title3,Title4,Title5,Title6,Title7,Title8,Title9,Title10 | |||
|alt field=Alt1,Alt2,Alt3,Alt4,Alt5,Alt6,Alt7,Alt8,Alt9,Alt10 | |||
}} | |||
== Associated Articles == | |||
< | {{#if: {{{AssociatedSaint|}}} | '''Saints:''' {{{AssociatedSaint|None}}} <br/> }} | ||
{{#if: {{{AssociatedParish|}}} | '''Parishes:''' {{{AssociatedParish|None}}} <br/> }} | |||
{{#if: {{{AssociatedCountry|}}} | '''Countries:''' {{{AssociatedCountry|None}}} <br/> }} | |||
{{#if: {{{AssociatedState|}}} | '''States/Subdivisions:''' {{{AssociatedState|None}}} <br/> }} | |||
{{#if: {{{AssociatedDioceses|}}} | '''Dioceses:''' {{{AssociatedDioceses|None}}} <br/> }} | |||
{{#if: {{{AssociatedCity|}}} | '''Cities:''' {{{AssociatedCity|None}}} <br/> }} | |||
{{#if: {{{AssociatedOrder|}}} | '''Religious Orders:''' {{{AssociatedOrder|None}}} <br/> }} | |||
{{#if: {{{AssociatedGroup|}}} | '''Lay Groups:''' {{{AssociatedGroup|None}}} <br/> }} | |||
{{#if: {{{AssociatedShrines|}}} | '''Shrines:''' {{{AssociatedShrines|None}}} <br/> }} | |||
[[Category:Galleries]] | |||
</includeonly> | |||
<noinclude> | |||
{{Documentation}} | |||
{{ | </noinclude> | ||
</ | |||