Editing MediaWiki/Editing/Advanced
From Bibliotheca Anonoma
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 81: | Line 81: | ||
The Cargo Template defines the table's schema: what kind of columns it has, and how it looks to the user. | The Cargo Template defines the table's schema: what kind of columns it has, and how it looks to the user. | ||
Use the infobox you made in the previous step to show the data in this cargo template. | Use the infobox you made in the previous step to show the data in this cargo template. | ||
=== 3. Create a Cargo Table === | === 3. Create a Cargo Table === | ||
# Open the Cargo Template you need to create a template for. | # Open the Cargo Template you need to create a template for. | ||
Line 98: | Line 90: | ||
# Click '''Create Cargo Table'''. | # Click '''Create Cargo Table'''. | ||
The cargo table must be recreated each time the schema is modified in the template | The cargo table must be recreated each time the schema is modified in the template. | ||
=== 4. Create a Cargo Form === | === 4. Create a Cargo Form === | ||
# Go to [[Special: | # Go to [[Special:Forms]]. | ||
# Choose the template to create the form for. | # Choose the template to create the form for. | ||
# Name the Form with the same base name as the Template. (e.g. for <code>Template:Book</code>, type in <code>Book</code>.) | # Name the Form with the same base name as the Template. (e.g. for <code>Template:Book</code>, type in <code>Book</code>.) | ||
=== 5. Create a Cargo Page === | === 5. Create a Cargo Page === | ||
Line 117: | Line 103: | ||
# Enter the title of the page you want to create. | # Enter the title of the page you want to create. | ||
# Fill out the form. In the "Free Text" box, you can create a normal wikipage. | # Fill out the form. In the "Free Text" box, you can create a normal wikipage. | ||
== Creating Templates == | == Creating Templates == | ||
Line 125: | Line 109: | ||
When creating a template meant for users to utilize, you should place a <code><nowiki>{{Template}}</nowiki></code> header into it. | When creating a template meant for users to utilize, you should place a <code><nowiki>{{Template}}</nowiki></code> header into it. | ||
{{Note|Templates meant for internal template use only do not need this header.}} | |||
This template should be added at the very beginning of all template pages between 'noinclude' tags: | This template should be added at the very beginning of all template pages between 'noinclude' tags: |