This template is designed to simplify downloading a code module.
Usage:
{{module|Description / usage notes / etc.|License info|VB4=yes}}
- For the named parameters VB4, VB5, VB6, and NET (i.e. VB.NET) the values
yesandnocan be supplied to indicate code compatibility. - Lincense info should be a satement saying the code is in the public domain, or covered by some free software license. Important: this wiki is for reusable code, so don't forget to provide a license! Also take care to make sure you have the legal rights to apply the license of your choice to any code you upload.
- A
sigparameter is reserved for one ore more digital signatures. For PGP signatures, they should be made as armored, detached signatures. Before signing a source file should end in one vbCrLf. The IDE does this by default if you remove all trailing whitespace before saving. Currently not displayed.
Implementation notes:
- It uses the
action=rawparameter to download the code. - The
<pre>-tag could unfortunately not be used to transclude the code module in the description page, since templates don't expand in<pre>-tags.
Sample
| Download | |
| Edit | |
| Compatibility: | |
| VB4 | untested |
| VB5 | untested |
| VB6 | untested |
| VB.NET | untested |
No description was provided. You can help this wiki by adding one here.B9A171
License
No license information was provided; as such the code can only be used as example code in GFDL-licensed documentation, not in actual programs. See e.g. this Wikipedia article for more information. To the uploader: if you want others to be able to use your code, please provide licensing info.B9A171
Code
'This is a dummy page to test Template:Module
'Some tags: <b>bold</b> <i>italics</i>
'A template call: {{xyzzy}}
'A parser function: {{#if:1|A|B}}
B9A171