Difference between revisions of "Artefact:Template/org/oogenerator/examples/tutorial/Example0040 Argument"

From OOModels
Jump to navigationJump to search
m (New page: {{Metabox | Meta_Type = Type:org/oogenerator/Template/2.0 | Meta_Domain = Domain:it/development/formatting | Meta_Category = Type:org/oomodels/wiki/Template | Meta_Download = true | ...)
 
 
(No difference)

Latest revision as of 16:04, 17 July 2008

Classification
Type Type:org/oogenerator/Template/2.0
Domain Domain:it/development/formatting
Category Type:org/oomodels/wiki/Template
Maturity final
More
Download Code
Namespace (more)

OOGenerator main package

create new pages

Code[edit]

G-2.0-plain_java-1.0
⊰
   This templates allows to greet arbitrary planets (not just worlds).

   It demonstrates the use of template arguments.

   When invoked, this templated receives an argument named "my_arg".
   E.g., if the actual invocation argument is "Mars", it creates the text
   "Hello, Mars!"
⊱
⊏ signature(String my_arg) ⊐

    Hello, ◂my_arg▸!