Template:HelloWorld/doc: Difference between revisions
StringhamDB (talk | contribs) No edit summary |
StringhamDB (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
Create a new HelloWorld by using the following code. | Create a new HelloWorld by using the following code. | ||
<code> | |||
<includeonly> | |||
{{HelloWorld | |||
| text | |||
}} | }} | ||
</includeonly> | |||
</ | </code> | ||
HelloWorld can be customized by using the main parameters. | HelloWorld can be customized by using the main parameters. |
Revision as of 12:13, 7 February 2011
Purpose[edit source]
The {{HelloWorld}} template has been created as an example for a RootsTech presentation.
Usage[edit source]
Create a new HelloWorld by using the following code.
HelloWorld can be customized by using the main parameters.
Parameters[edit source]
There is on parameter that can be used to create a custom HelloWorld.
- text
- (optional) This is the text that you would want displayed in the HelloWord phrase.
Examples[edit source]
You type | You get |
---|---|
{{HelloWorld}} |
Hello, {{{1}}}! Welcome to the world of wiki.
|
{{HelloWorld|John Henry}} |
Hello, John Henry! Welcome to the world of wiki.
|