Template:OpenSCAD User Manual/Code Example
Appearance
From Wikibooks, open books for an open world
Usage
[edit source ]{{OpenSCAD User Manual/Code Example|An Example|say something nice}}
Example Code: Full Code Example
say something nice
filename.ext
{{{4}}}
mod test: Example With Description
say something nice
Example Code: Example with File
say something nice
filename.ext
See Also
[edit source ]- Users of this template
- {{doc example}} uses this template for documentation examples
Template Data
[edit source ]insert a code example in a folder block of text that may be expanded
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | 1 title | a title for the example | String | required |
Description | 2 description | a description of the purpose for the example code | Unbalanced wikitext | required |
filename | 3 filename | the name of the file, including the extension | String | optional |
code | 4 code | the unformatted code | Unbalanced wikitext | optional |
Title Prefix | pre_title | to categorize examples
| String | optional |
The above documentation is transcluded from Template:OpenSCAD User Manual/Code Example/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.