Template:HelloWorld/doc: Difference between revisions

No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
Create a new HelloWorld by using the following code.  
Create a new HelloWorld by using the following code.  


<code>
{{tlx|HelloWorld|text}}
<nowiki>
 
{{HelloWorld
| text
}}
</nowiki>
</code>
HelloWorld can be customized by using the main parameters.
HelloWorld can be customized by using the main parameters.


Line 35: Line 30:
| Replaces wikitext variable with passed-in string.
| Replaces wikitext variable with passed-in string.
|}
|}
[[Category:Templates|{{PAGENAME}}]]
[[Category:Help templates|{{PAGENAME}}]]

Latest revision as of 15:57, 7 February 2011

Purpose

The {{HelloWorld{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} template has been created as an example for a RootsTech presentation.

Usage

Create a new HelloWorld by using the following code.

{{HelloWorld{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}}

HelloWorld can be customized by using the main 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

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.