Template:HelloWorld/doc: Difference between revisions
StringhamDB (talk | contribs) No edit summary |
StringhamDB (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | |||
== Purpose == | == Purpose == | ||
The {{ | The {{tlx|HelloWorld}} template has been created as an example for a RootsTech presentation. | ||
== Usage == | == Usage == | ||
Create a new HelloWorld by using the following code. | Create a new HelloWorld by using the following code. | ||
<code> | <code> | ||
< | <nowiki> | ||
{{HelloWorld | {{HelloWorld | ||
| text | | text | ||
}} | }} | ||
</ | </nowiki> | ||
</code> | </code> | ||
HelloWorld can be customized by using the main parameters. | |||
== Parameters == | == Parameters == | ||
There is on parameter that can be used to create a custom HelloWorld. | 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. | ;text: (optional) This is the text that you would want displayed in the HelloWord phrase. | ||
=== Examples === | === Examples === | ||
{| cellspacing=" | {| cellspacing="1" cellpadding="1" border="1" | ||
|- | |||
| Entered | |||
| Produces | |||
| Notes | |||
|- | |- | ||
| | | {{tlx|HelloWorld}} | ||
| {{HelloWorld}} | |||
{{HelloWorld}} | | Displays the actual variable used in the wikitext. | ||
| | |||
{{HelloWorld}} | |||
|- | |- | ||
| | | {{tlx|HelloWorld | Gus}} | ||
| {{HelloWorld | Gus}} | |||
{{HelloWorld| | | Replaces wikitext variable with passed-in string. | ||
|} | |||
| | |||
{{HelloWorld| |
Revision as of 15:47, 7 February 2011
![]() |
This is a documentation subpage for Template:HelloWorld (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Purpose[edit source]
The {{HelloWorld{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} template has been created as an example for a RootsTech presentation.
Usage[edit source]
Create a new HelloWorld by using the following code.
{{HelloWorld
| text
}}
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]
Entered | Produces | Notes |
{{HelloWorld{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} |
Hello, {{{1}}}! Welcome to the world of wiki.
|
Displays the actual variable used in the wikitext. |
{{HelloWorld {{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} |
Hello, Gus! Welcome to the world of wiki.
|
Replaces wikitext variable with passed-in string. |