Template:Gallery: Difference between revisions

fix typos, add message using template
No edit summary
(fix typos, add message using template)
 
Line 1: Line 1:
<noinclude>
<noinclude>
This template is used by [[Form:Gallery]] to create standalone gallery pages.
This template is used by [[Form:Gallery]] to create standalone gallery pages.
== Template parameters ==
== Template parameters ==
{{#template_params:
{{#template_params:
|GalleryImage1 (label=Gallery Image 1, type=file)
|GalleryImage1 (label=Gallery Image 1, type=file)
|GalleryTitle1 (label=Gallery Titl/Caption 1)
|GalleryTitle1 (label=Gallery Title/Caption 1)
|GalleryAlt1 (label=Gallery Alt Text 1)
|GalleryAlt1 (label=Gallery Alt Text 1)
|GalleryImage2 (label=Gallery Image 2, type=file)
|GalleryImage2 (label=Gallery Image 2, type=file)
Line 13: Line 12:
|GalleryTitle3 (label=Gallery Title/Caption 3)
|GalleryTitle3 (label=Gallery Title/Caption 3)
|GalleryAlt3 (label=Gallery Alt Text 3)
|GalleryAlt3 (label=Gallery Alt Text 3)
|GalleryImatle4 (label=Gallery Title/Caption 4)
|GalleryImage4 (label=Gallery Image 4, type=file)
|GalleryTitle4 (label=Gallery Title/Caption 4)
|GalleryAlt4 (label=Gallery Alt Text 4)
|GalleryAlt4 (label=Gallery Alt Text 4)
|GalleryImage5 (label=Gallery Image 5, type=file)
|GalleryImage5 (label=Gallery Image 5, type=file)
Line 86: Line 86:
|AssociatedShrines=List (,) of Page
|AssociatedShrines=List (,) of Page
}}
}}
</noinclude><includeonly>
</noinclude>
 
<includeonly>
{{#cargo_store:_table=Galleries
{{#cargo_store:_table=Galleries
|GalleryImage1={{{GalleryImage1|}}}
|GalleryImage1={{{GalleryImage1|}}}
Line 127: Line 129:
|AssociatedGroup={{{AssociatedGroup|}}}
|AssociatedGroup={{{AssociatedGroup|}}}
|AssociatedShrines={{{AssociatedShrines|}}}
|AssociatedShrines={{{AssociatedShrines|}}}
}}{| class="wikitable" style="width:100%; text-align:center; background-color:#f9f9f9;"
}}<noinclude>
! colspan="4" | Image gallery
 
== Image Gallery ==
 
</noinclude>{| class="wikitable" style="width:100%; text-align:center; background-color:#f9f9f9;"
! colspan="4" | Image Gallery
|-
|-
| {{#if: {{{GalleryImage1|}}} |  
| {{#if: {{{GalleryImage1|}}} |  
     [[File:{{{GalleryImage1}}}|thumb|220px|center|{{{GalleryTitle1|}}}]] |  
     [[File:{{{GalleryImage1}}}|thumb|220px|center|{{{GalleryTitle1|}}}]] |  
     <div style="padding:40px; color:#666; font-style:italic;">No image yet — use the form on the Gallery page to add the first photo</div>  
     <div style="padding:50px; color:#666; font-style:italic;">
    No image yet<br />
    Use the ''Edit with form'' tab on the<br />
    [[{{FULLPAGENAME}}/Gallery|Gallery subpage]] to add photos
    </div>
}}
}}
| {{#if: {{{GalleryImage2|}}} |  
| {{#if: {{{GalleryImage2|}}} |  
     [[File:{{{GalleryImage2}}}|thumb|220px|center|{{{GalleryTitle2|}}}]] |  
     [[File:{{{GalleryImage2}}}|thumb|220px|center|{{{GalleryTitle2|}}}]] |  
     <div style="padding:40px; color:#666; font-style:italic;">No image yet — use the form on the Gallery page to add the first photo</div>
     {{No image on gallery message}}
}}
}}
| {{#if: {{{GalleryImage3|}}} |  
| {{#if: {{{GalleryImage3|}}} |  
     [[File:{{{GalleryImage3}}}|thumb|220px|center|{{{GalleryTitle3|}}}]] |  
     [[File:{{{GalleryImage3}}}|thumb|220px|center|{{{GalleryTitle3|}}}]] |  
     <div style="padding:40px; color:#666; font-style:italic;">No image yet — use the form on the Gallery page to add the first photo</div>
     {{No image on gallery message}}
}}
}}
| {{#if: {{{GalleryImage4|}}} |  
| {{#if: {{{GalleryImage4|}}} |  
     [[File:{{{GalleryImage4}}}|thumb|220px|center|{{{GalleryTitle4|}}}]] |  
     [[File:{{{GalleryImage4}}}|thumb|220px|center|{{{GalleryTitle4|}}}]] |  
     <div style="padding:40px; color:#666; font-style:italic;">No image yet — use the form on the Gallery page to add the first photo</div>
     {{No image on gallery message}}
}}
}}
|-
|-
| {{#if: {{{GalleryImage5|}}} |  
| {{#if: {{{GalleryImage5|}}} |  
     [[File:{{{GalleryImage5}}}|thumb|220px|center|{{{GalleryTitle5|}}}]] |  
     [[File:{{{GalleryImage5}}}|thumb|220px|center|{{{GalleryTitle5|}}}]] |  
     <div style="padding:40px; color:#666; font-style:italic;">No image yet — use the form on the Gallery page to add the first photo</div>
     {{No image on gallery message}}
}}
}}
| {{#if: {{{GalleryImage6|}}} |  
| {{#if: {{{GalleryImage6|}}} |  
     [[File:{{{GalleryImage6}}}|thumb|220px|center|{{{GalleryTitle6|}}}]] |  
     [[File:{{{GalleryImage6}}}|thumb|220px|center|{{{GalleryTitle6|}}}]] |  
     <div style="padding:40px; color:#666; font-style:italic;">No image yet — use the form on the Gallery page to add the first photo</div>
     {{No image on gallery message}}
}}
}}
| {{#if: {{{GalleryImage7|}}} |  
| {{#if: {{{GalleryImage7|}}} |  
     [[File:{{{GalleryImage7}}}|thumb|220px|center|{{{GalleryTitle7|}}}]] |  
     [[File:{{{GalleryImage7}}}|thumb|220px|center|{{{GalleryTitle7|}}}]] |  
     <div style="padding:40px; color:#666; font-style:italic;">No image yet — use the form on the Gallery page to add the first photo</div>
     {{No image on gallery message}}
}}
}}
| {{#if: {{{GalleryImage8|}}} |  
| {{#if: {{{GalleryImage8|}}} |  
     [[File:{{{GalleryImage8}}}|thumb|220px|center|{{{GalleryImage8|}}}]] |  
     [[File:{{{GalleryImage8}}}|thumb|220px|center|{{{GalleryTitle8|}}}]] |  
     <div style="padding:40px; color:#666; font-style:italic;">No image yet — use the form on the Gallery page to add the first photo</div>
     {{No image on gallery message}}
}}
}}
|-
|-
| {{#if: {{{GalleryImage9|}}} |  
| {{#if: {{{GalleryImage9|}}} |  
     [[File:{{{GalleryImage9}}}|thumb|220px|center|{{{GalleryTitle9|}}}]] |  
     [[File:{{{GalleryImage9}}}|thumb|220px|center|{{{GalleryTitle9|}}}]] |  
     <div style="padding:40px; color:#666; font-style:italic;">No image yet — use the form on the Gallery page to add the first photo</div>
     {{No image on gallery message}}
}}
}}
| {{#if: {{{GalleryImage10|}}} |  
| {{#if: {{{GalleryImage10|}}} |  
     [[File:{{{GalleryImage10}}}|thumb|220px|center|{{{GalleryTitle10|}}}]] |  
     [[File:{{{GalleryImage10}}}|thumb|220px|center|{{{GalleryTitle10|}}}]] |  
     <div style="padding:40px; color:#666; font-style:italic;">No image yet — use the form on the Gallery page to add the first photo</div>
     {{No image on gallery message}}
}}
}}
|}[[Category:Galleries]]</includeonly>
|}[[Category:Galleries]]</includeonly>