Contribution conventionFrom WHMCS DocumentationSo, you want to release and document your WHMCS module/modification/enhancement/template on the wiki? Follow these guidelines to get up and running and thank you for sharing! Confused about something on this page? Not sure what to do? Ask on the talk page.
[edit] Naming your pageYour new page should be named accordingly: Contribution:ModificationName I.E. If you're the creator of 'MyAwesomeModule', head along: Contribution:MyAwesomeModule! [edit] Page contentOnce you're there place the following on your new page: {{Contribution|
| name = MyAwesomeModule
| author = Your name / wiki username
| admin = yes
| user = yes
| theme = yes
| desc = A short summary of your project
| version = Current version number
| zip = http://mydomain/link/to/download.zip
| targz = http://mydomain/link/to/download.tar.gz
}}
This calls the contribution template with various options, meaning your new page will be automatically formatted and added to the appropriate categories. [edit] Parameter editing and explanation{{Contribution|
| name = MyAwesomeModule
| author = Your name / wiki username
| admin = yes | user = yes | theme = yes
| desc = A short summary of your project
| version = Current version number
| zip = http://mydomain/link/to/download.zip | targz = http://mydomain/link/to/download.tar.gz
| link = http://link/to/another/site/ | linkname = Download here [edit] Optional parameters| nofeatures = yes
| nochangelog = yes
| code = yes
[edit] After creationAfter you click save you'll be presented with your contribution's page. As the description option above should only be a short introduction you can create a features sub-page for listing all that your contribution has to offer which will be automatically included in the appropriate place on the module page. A second sub-page can also be used to maintain a changelog. A link to both of these sub-pages are automatically included on your contribution's page, this link will disappear to be replaced with the page's content when the page exists. A third sub-page can be created to display code changes to make instead of linking to installation files, though this will only be automatically included if the Contribution template is called with the code parameter set to 'yes'. The sub-page names take the form of:
[edit] Creating the changelog
[edit] Creating the features pageSimply follow the link provided on your contribution's page to create the features sub-page and write your list of features there. Preferably each item should be on a newline preceded by an asterisk (*), but there is no fixed format for this section. [edit] Maintaining your contribution[edit] Maintaining the changelogWith each update you make to your contribution you should add a corresponding changelog entry. The steps for adding to the changelog are largely the same as steps 2-3 above, with one minor difference. Instead of {{CL version|1.0}} you should use {{CL version|1.2|1.1}}, where '1.2' represents the new version number, and 1.1 represents the previous version number. [edit] Finding your sub pages againThere are two methods of finding your sub-pages:
Contribution convention |
|





