Template:HelloWorld/doc: Difference between revisions

no edit summary
(Created page with '== Purpose == == Usage == == Parameters == === Examples ===')
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
== Purpose  ==
== Purpose  ==
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.
{{tlx|HelloWorld|text}}
HelloWorld can be customized by using the main parameters.


== Parameters ==
== Parameters ==
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  ===
=== Examples  ===
{| cellspacing="1" cellpadding="1" border="1"
|-
| Entered
| Produces
| Notes
|-
| {{tlx|HelloWorld}}
| {{HelloWorld}}
| Displays the actual variable used in the wikitext.
|-
| {{tlx|HelloWorld | Gus}}
| {{HelloWorld | Gus}}
| Replaces wikitext variable with passed-in string.
|}
[[Category:Templates|{{PAGENAME}}]]
[[Category:Help templates|{{PAGENAME}}]]
335

edits