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 83: | Line 83: | ||
Just go here to create a cargo template visually (it will use it's own infobox): [[Special:CreateTemplate]] | Just go here to create a cargo template visually (it will use it's own infobox): [[Special:CreateTemplate]] | ||
For good examples, check out the [http://wiki.travellerrpg.com/Special:CargoTables Traveller Wiki's Cargo Tables.] | For good examples, check out the [http://wiki.travellerrpg.com/Special:CargoTables Traveller Wiki's Cargo Tables.] | ||
Line 107: | Line 105: | ||
#* If the fields are insufficient for your needs, you can check the [[mw:Extension:PageForms]] documentation on how to add more input types. | #* If the fields are insufficient for your needs, you can check the [[mw:Extension:PageForms]] documentation on how to add more input types. | ||
# 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>.) | ||
# | # Set up [[mw:Extension:Page_Forms/The_"edit_with_form"_tab|Edit with Form tab]] in the linked guide. | ||
For good, detailed examples of Cargo Forms, check out the [http://absitomen.com/wiki/index.php?title=Form:Character&action=edit Absit Omen Lexicon Wiki]. | For good, detailed examples of Cargo Forms, check out the [http://absitomen.com/wiki/index.php?title=Form:Character&action=edit Absit Omen Lexicon Wiki]. | ||
Line 117: | Line 114: | ||
# 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 120: | ||
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: |