Jump to content

Template:Life Guide: Difference between revisions

From The Petit Planet Wiki
ReisuDesign (talk | contribs)
m ReisuDesign moved page Template:Tutorial to Template:Life Guide
ReisuDesign (talk | contribs)
No edit summary
 
Line 1: Line 1:
<includeonly>{{#invoke:Tutorial|Tutorial}}</includeonly><noinclude>{{Documentation|type=Data}}</noinclude>
<includeonly>{{#invoke:Life Guide|LifeGuide}}</includeonly><noinclude>{{Documentation|type=Data}}</noinclude>

Latest revision as of 09:24, 27 September 2026

Template documentation
Note: parts of or the entire template might not be visible without values provided.
This template uses Module:Tutorial, a script written in Lua.

Formatting for Tutorials.

Syntax

[edit source]
  • 1 — title(s) of tutorial subpage to transclude, separated by ;.
  • title — tutorial title.
  • subtitle — tutorial subtitle.
  • icon — tutorial icon.
  • sort — tutorial sortkey.
  • about — topic(s) tutorial is about, separated by ;.
  • imageX — tutorial image. X is between 1 and 20.
  • textX — tutorial text. X is between 1 and 20.
  • size — size of images. Default 200px.

{{Tutorial
|title    = 
|subtitle = 
|type     = 
|icon     = 
|about    = 
|image1   = 
|text1    = 
|image2   = 
|text2    = 
|sort     = 
}}

  • If transcluding a tutorial, place the subpage name after Tutorial/ in the first (1) argument.

Examples

[edit source]

{{Tutorial
|image1  = Tutorial Elements About Hydro 1.png
|text1   = Wet environments and {{Color|Hydro Attacks}}Hydro Attacks can cause beings to become {{Color|help|affected by Hydro}}affected by Hydro. When Hydro meets other elements, it often triggers an {{Color|help|Elemental Reaction}}Elemental Reaction.
|image2  = Tutorial Elements About Hydro 2.png
|text2   = Wet environments and Hydro Attacks can cause beings to become {{Color|help|affected by Hydro}}affected by Hydro. When Hydro meets other elements, it often triggers an {{Color|help|Elemental Reaction}}Elemental Reaction.
}}

File:Tutorial Elements About Hydro 1.png
Wet environments and Hydro Attacks can cause beings to become affected by Hydro. When Hydro meets other elements, it often triggers an Elemental Reaction.

File:Tutorial Elements About Hydro 2.png
Wet environments and Hydro Attacks can cause beings to become affected by Hydro. When Hydro meets other elements, it often triggers an Elemental Reaction.

{{Tutorial
|size    = 400px
|image1  = Tutorial Unknown Star 1.png
|text1   = From the map, you can view the impact sites where meteorite shards are present. When you reach the affected area, the mini-map will show the approximate locations of individual meteorite shards.
|image2  = Tutorial Unknown Star 2.png
|text2   = Within the meteorite shards flows a certain energy, which will resonate with a nearby character's Vision, causing both to light up and flash. The closer you draw to a shard, the more intense the flashing will become. Make good use of this phenomenon to effortlessly track down and salvage meteorite shards.
}}

yields:
File:Tutorial Unknown Star 1.png
From the map, you can view the impact sites where meteorite shards are present. When you reach the affected area, the mini-map will show the approximate locations of individual meteorite shards.

File:Tutorial Unknown Star 2.png
Within the meteorite shards flows a certain energy, which will resonate with a nearby character's Vision, causing both to light up and flash. The closer you draw to a shard, the more intense the flashing will become. Make good use of this phenomenon to effortlessly track down and salvage meteorite shards.

{{Tutorial|About Pyro}} yields:
The page Life Guide/About Pyro is not a valid lifeguide. {{Tutorial|Cryo Hypostasis; Geo Hypostasis}} yields:
The page Life Guide/Cryo Hypostasis is not a valid lifeguide.The page Life Guide/Geo Hypostasis is not a valid lifeguide.

Template Data

[edit source]

Formats display for Tutorials.

Template parameters[Edit template data]

This template has custom formatting.

ParameterDescriptionTypeStatus
Page Name1

Semicolon separated list of tutorial subpage names to transclude tutorial contents including title.

Page nameoptional
Titletitle

Title of tutorial.

Stringoptional
Subtitlesubtitle

Subtitle of tutorial.

Stringoptional
Typetype

Type of tutorial.

Suggested values
Elements Enemies System Adventure Event Uncategorized
Stringsuggested
Iconicon

Icon of tutorial.

Stringoptional
Sortsort

Number used sort in Archive.

Numberoptional
Aboutabout

Semicolon separated list of pages the tutorial is about.

Stringoptional
Image Sizesize

Size of image to display as.

Default
200px
Stringoptional
Image 1image1

Image for tutorial 1.

Stringrequired
Text 1text1

Text for tutorial 1

Stringrequired
Image 2image2

Image for tutorial 2.

Stringoptional
Text 2text2

Text for tutorial 2

Stringoptional
Image 3image3

Image for tutorial 3.

Stringoptional
Text 3text3

Text for tutorial 3

Stringoptional
Image 4image4

Image for tutorial 4.

Stringoptional
Text 4text4

Text for tutorial 4

Stringoptional
Image 5image5

Image for tutorial 5.

Stringoptional
Text 5text5

Text for tutorial 5

Stringoptional
Image 6image6

Image for tutorial 6.

Stringoptional
Text 6text6

Text for tutorial 6

Stringoptional
Image 7image7

Image for tutorial 7.

Stringoptional
Text 7text7

Text for tutorial 7

Stringoptional
Image 8image8

Image for tutorial 8.

Stringoptional
Text 8text8

Text for tutorial 8

Stringoptional
Image 9image9

Image for tutorial 9.

Stringoptional
Text 9text9

Text for tutorial 9

Stringoptional