Form:Photo: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
This form allows users to upload church photos and add metadata. Supported formats: JPEG (.jpg, .jpeg), PNG (.png), WebP (.webp).
This form allows users to upload and associate church photos with metadata under the Photos/ namespace. Supported formats: JPEG (.jpg, .jpeg), PNG (.png), WebP (.webp).


To add a photo, use [[Special:FormEdit/Photo]] or the input box on [[Portal:Homepage]] or [[Help:UploadPhotos]].
To add a photo, use [[Special:FormEdit/Photos/]] or the input box on [[Portal:Homepage]] or [[Help:UploadPhotos]].


Note: To set a parish's primary image, use [[Form:Parish]]. For a shrine's primary image, use [[Form:Shrine]]. This form is for additional photos.
Note: To set a parish's primary image, use [[Form:Parish]]. For a shrine's primary image, use [[Form:Shrine]]. This form is for additional photos.
**File Naming**: Use descriptive names (e.g., "St Marys Basilica exterior Krakow 2023.jpg"). Avoid generic names, version numbers, or abbreviations. Use sentence capitalization (or headline-style for proper nouns) and spaces between words. See [[Help:UploadPhotos]] for details.
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{for template|Photo}}}
{{{for template|Photo}}}
{| class="formtable"
{| class="formtable"
! Photo: || {{{field|File|input type=text|uploadable|mandatory|default filename=ChurchPhoto-<page name>}}} <!-- Upload or select file -->
! Photo:  
! Associated Church: || {{{field|Church|input type=dropdown|values from cargo table=Parishes|values from cargo field=_pageName|allow null}}} <!-- Dropdown from Parishes -->
| {{{field|File|input type=text|uploadable|mandatory|placeholder=Upload or enter file name, e.g., St Marys Basilica exterior Krakow 2023.jpg}}}
! Associated Saint: || {{{field|Saint|input type=dropdown|values from cargo table=Saints|values from cargo field=_pageName|allow null}}} <!-- Dropdown from Saints -->
|-
! Associated Shrine: || {{{field|Shrine|input type=dropdown|values from cargo table=Shrines|values from cargo field=ShrineName|allow null}}} <!-- Dropdown from Shrines -->
! Associated Church:  
! Associated Country: || {{{field|Country|input type=dropdown|values from cargo table=Countries|values from cargo field=country_name|allow null}}} <!-- Dropdown from Countries -->
| {{{field|Church|input type=dropdown|values from cargo table=Parishes|values from cargo field=_pageName|allow null}}}
! Associated Diocese: || {{{field|Diocese|input type=dropdown|values from cargo table=Dioceses|values from cargo field=diocese_name|allow null}}} <!-- Dropdown from Dioceses -->
|-
! Associated Administrative Subdivision: || {{{field|AdministrativeSubdivision|input type=dropdown|values from cargo table=AdministrativeSubdivision|values from cargo field=_pageName|allow null}}} <!-- Dropdown from AdministrativeSubdivision -->
! Associated Saint:  
! Location: || {{{field|Location|input type=text with autocomplete}}} <!-- Free-text with autocomplete -->
| {{{field|Saint|input type=dropdown|values from cargo table=Saints|values from cargo field=_pageName|allow null}}}
! Date Taken: || {{{field|DateTaken|input type=datepicker}}} <!-- Date picker -->
|-
! Description: || {{{field|Description|input type=textarea}}} <!-- Free text -->
! Associated Shrine:  
| {{{field|Shrine|input type=dropdown|values from cargo table=Shrines|values from cargo field=ShrineName|allow null}}}
|-
! Associated Country:  
| {{{field|Country|input type=dropdown|values from cargo table=Countries|values from cargo field=country_name|allow null}}}
|-
! Associated Diocese:  
| {{{field|Diocese|input type=dropdown|values from cargo table=Dioceses|values from cargo field=diocese_name|allow null}}}
|-
! Associated Administrative Subdivision:  
| {{{field|AdministrativeSubdivision|input type=dropdown|values from cargo table=AdministrativeSubdivision|values from cargo field=_pageName|allow null}}}
|-
! Location:  
| {{{field|Location|input type=text with autocomplete}}}
|-
! Date Taken:  
| {{{field|DateTaken|input type=datepicker}}}
|-
! Description:  
| {{{field|Description|input type=textarea}}}
|}
|}
{{{end template}}}
{{{end template}}}
'''Free text:'''
{{{standard input|free text|rows=10}}}


{{{standard input|summary}}}
{{{standard input|summary}}}

Navigation menu