Help:Editing: Difference between revisions
imported>StDoodle No edit summary |
imported>StDoodle mNo edit summary |
||
Line 4: | Line 4: | ||
<p>For a list of functions that don't have a page, please see: [[Ash Functions]]. All red links mean the page doesn't exist; if you click on one, you'll have the option to create it.</p> | <p>For a list of functions that don't have a page, please see: [[Ash Functions]]. All red links mean the page doesn't exist; if you click on one, you'll have the option to create it.</p> | ||
<p>For information on how to add new functions to the wiki according to our current standards, please refer to [[Template:FunctionPage]] as well as the additional templates referenced on that page.</p> | <p>For information on how to add new functions to the wiki according to our current standards, please refer to [[Template:FunctionPage]] as well as the additional templates referenced on that page.</p> | ||
<p>Also note that you can click "Edit" on an existing page, and it will list all templates in use by that page at the bottom.</p> | |||
<p><b>IMPORTANT!</b>: If you add a new function page, please make sure to either add the function to the category-like pages linked to on the main page using the <nowiki>{{Flink}}</nowiki> template OR set the category of the function to "Uncategorized."</p> | <p><b>IMPORTANT!</b>: If you add a new function page, please make sure to either add the function to the category-like pages linked to on the main page using the <nowiki>{{Flink}}</nowiki> template OR set the category of the function to "Uncategorized."</p> | ||
===Information Only=== | ===Information Only=== | ||
<p>If you'd like to help provide information for a page, but don't feel like diving into the ins-and-outs of our template system, please feel free to edit in whatever information you'd like! If the page already exists, please do all of your edits on the page's Discussion page. If the page doesn't exist, feel free to edit the page itself. Either way, <b>please</b> copy & paste the following somewhere on the page you edit so we can keep track of where we need to add formatting: <nowiki>{{Format}}</nowiki></p> | <p>If you'd like to help provide information for a page, but don't feel like diving into the ins-and-outs of our template system, please feel free to edit in whatever information you'd like! If the page already exists, please do all of your edits on the page's Discussion page. If the page doesn't exist, feel free to edit the page itself. Either way, <b>please</b> copy & paste the following somewhere on the page you edit so we can keep track of where we need to add formatting: <nowiki>{{Format}}</nowiki></p> |
Revision as of 13:42, 10 March 2010
ASH Scripting
Adding New Function Pages
For a list of functions that don't have a page, please see: Ash Functions. All red links mean the page doesn't exist; if you click on one, you'll have the option to create it.
For information on how to add new functions to the wiki according to our current standards, please refer to Template:FunctionPage as well as the additional templates referenced on that page.
Also note that you can click "Edit" on an existing page, and it will list all templates in use by that page at the bottom.
IMPORTANT!: If you add a new function page, please make sure to either add the function to the category-like pages linked to on the main page using the {{Flink}} template OR set the category of the function to "Uncategorized."
Information Only
If you'd like to help provide information for a page, but don't feel like diving into the ins-and-outs of our template system, please feel free to edit in whatever information you'd like! If the page already exists, please do all of your edits on the page's Discussion page. If the page doesn't exist, feel free to edit the page itself. Either way, please copy & paste the following somewhere on the page you edit so we can keep track of where we need to add formatting: {{Format}}
Updating Current Pages
Quite a few pages exist, but are in need of some help.
Request for Information
Anything listed here: Category:Request_For_Information is missing important information on how the function operates. Please add in anything you can.
If you've filled in all of the requested information, please remove {{RFI}} from the bottom of the page.
Code Samples
Anything listed here: Category:Needs_Code_Sample either needs a code sample, or needs improvements made to its current code samples.
Please refer to Template:CodeSample for information on how to add them to pages.
Formatting Requested
Anything listed here: Category:Formatting Needed has information, but lacks page formatting. If you'd like to edit the page so that it includes any appropriate templates, please do so (and remove the line that reads {{Format}} when done.
Datatypes
We need a deep overhaul of these. Currently, various templates link to each as if it's on its own page, but this is possible to change if we find it necessary. However, each having its own page would result in better search functionality.
Also, we should clarify the difference between say, "class" the datatype and "$class" the built-in way to cast to and from "class" with strings / etc. I don't really grok the programming philosophy and jargon well enough to handle this myself.
Main Interface
CLI Commands
While the CLI Reference is a great start, it would be nice to:
- See this information presented in a "cleaner" format (I'm thinking each parameter should be a list item with its own explanation, probably).
- Show examples for as much as possible, saying what that example will do.
Other
The Adventuring, Item Manager, etc. windows / tabs could use more documentation. Sally's guide is a nice start, but eventually it would be nice to have comprehensive pages for everything.
Miscellaneous
Preferences
The List_of_KoLmafia_Properties is a nice start, but an explanation of what each option does would be ideal. Again, this will probably require something beyond a table; probably a list of what each option is and does following the preference.
Jargon
I know, but not everyone visiting this wiki will understand, that:
- Seeing a parameter in square brackets means it's optional.
- "Returns success" for a boolean function means you'll get true if the function does what it thinks it should and false otherwise.
- If a function returns void, you can't check its value, but otherwise, you can assign a function to a same-datatype variable.
- If a function returns anything but void, it must include a "return" statement outside of all inner-logic sections.
- If blocks only need curly braces if more than one statement is to be executed based on their resolution.
- Countless other things that I can't come up with at the moment (feel free to add them here).
It would be great to have a page explaining these things, or linking to other pages that do, linked to on the front page.