Jump to content
Wikibooks The Free Textbook Project

Template:OpenSCAD User Manual/Code Example

From Wikibooks, open books for an open world
Template documentation[view] [edit] [history] [purge]

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

Template parameters[Edit template data ]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Title1 title

a title for the example

Stringrequired
Description2 description

a description of the purpose for the example code

Unbalanced wikitextrequired
filename3 filename

the name of the file, including the extension

Stringoptional
code4 code

the unformatted code

Unbalanced wikitextoptional
Title Prefixpre_title

to categorize examples

Default
Example Code
Stringoptional
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.

AltStyle によって変換されたページ (->オリジナル) /