CargoAdmin, Bureaucrats, Moderators (CommentStreams), fileuploaders, Interface administrators, newuser, Push subscription managers, Suppressors, Administrators
14,662
edits
(Created page with "In Cargo, the first step in storing data in a structured way is creating a class.") |
No edit summary |
||
Line 1: | Line 1: | ||
In [[Cargo]], the first step in storing data in a structured way is creating a class. | In [[Cargo]], the first step in storing data in a structured way is creating a class. | ||
== Creating a class == | |||
[[File:Create a class.png|thumb|400x400px|[[Special:CreateClass]]]] | |||
A template that stores data in a table needs to also either declare that table, or "attach" itself to a table that is declared elsewhere. Since there is usually one table per template and vice versa, most templates that make use of Cargo will declare their own table. | |||
Enter all the data here to create the properties, template, form and category for a single class. For more options, use the pages [[Special:CreateTemplate|Create a template]], [[Special:CreateForm|Create a form]] and [[Special:CreateCategory|Create a category]] instead. | |||
== Special page == | |||
On [[Special:CreateClass]] the options are: | |||
=== Template name === | |||
The Template name.... | |||
=== Where to store the data === | |||
"Use the Cargo extension to store this template's data" can be toggled on or off. | |||
If on, you must specify the "Name of Cargo table defined by template" | |||
=== Output format === | |||
The options are: | |||
* Table - This... | |||
* Side [[infobox]] - This... | |||
* Plain text - This... | |||
* Sections - This... | |||
=== Options === | |||
* This template can be included multiple times on the page - This does... | |||
* Use full wikitext instead of #template_display - This does... | |||
=== Form name === | |||
The "Form name" is used... | |||
=== Category name === | |||
The "Category name" is used... | |||
=== Template fields === |
edits