Template:HelloWorld/doc

From FamilySearch Wiki
Jump to: navigation, search

Purpose

The {{HelloWorld}} template has been created as an example for a RootsTech presentation.

Usage

Create a new HelloWorld by using the following code.

{{HelloWorld|text}}

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}}

Hello, {{{1}}}! Welcome to the world of wiki.


Displays the actual variable used in the wikitext.
{{HelloWorld | Gus}}

Hello, Gus! Welcome to the world of wiki.


Replaces wikitext variable with passed-in string.