|
|
| Line 1: |
Line 1: |
| <noinclude> | | <noinclude> |
| This template defines the Photos Cargo table, stores photo data, and displays photo pages. | | This template stores photo data in the Photos Cargo table and displays the photo page. |
| | |
| {{#cargo_declare:
| |
| _table=Photos
| |
| |PhotoID=Integer (unique, index)
| |
| |File=File (required, index)
| |
| |Church=Page (holds=Parishes) (optional, index)
| |
| |Saint=Page (holds=Saints) (optional, index)
| |
| |Shrine=Page (holds=Shrines) (optional, index)
| |
| |Country=Page (holds=Countries) (optional, index)
| |
| |Diocese=Page (holds=Dioceses) (optional, index)
| |
| |AdministrativeSubdivision=Page (holds=AdministrativeSubdivision) (optional, index)
| |
| |Location=String (optional, index)
| |
| |DateTaken=Date (optional, index)
| |
| |Description=Text (optional)
| |
| }}
| |
|
| |
|
| {{#template_params: | | {{#template_params: |
| Line 29: |
Line 14: |
| |Description | | |Description |
| }} | | }} |
|
| |
| To create the table, save this template and run it via [[Special:CargoTables]].
| |
| </noinclude> | | </noinclude> |
| <includeonly> | | <includeonly> |