Bureaucrats, Moderators (CommentStreams), Interface administrators, Push subscription managers, Suppressors, Administrators
13,284
edits
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This template defines the Cargo table for church photos. It is a partner template of [[Template:Photo]] and works with [[Form:Photo]]. | This template defines the Cargo table for church photos, stored under the Photos/ namespace. It is a partner template of [[Template:Photo]] and works with [[Form:Photo]]. | ||
{{#cargo_declare:_table=Photos | {{#cargo_declare: | ||
_table=Photos | |||
|PhotoID=Integer (unique, index) | |PhotoID=Integer (unique, index) | ||
|File=File (required, index) | |File=File (required, index) | ||
| Line 16: | Line 17: | ||
}} | }} | ||
To create the table, save this template and run it via [[Special:CargoTables]] or a temporary page. | To create the table, save this template and run it via [[Special:CargoTables]] or a temporary page with {{PhotoDeclare}}. If the table creation option doesn't appear, create a temporary page (e.g., TestCargoCreate), add {{PhotoDeclare}}, save it, then check [[Special:CargoTables/Photos]]. | ||
</noinclude> | </noinclude> | ||