Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Tutorial/doc: Difference between revisions

Template page
No edit summary
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Documentation/Header}}
{{Documentation/Header}}
{{Lua|Tutorial}}
{{Lua|Module:Tutorial}}
Formatting for [[Tutorial]]s.
Formatting for [[Tutorial]]s.



Latest revision as of 07:09, 7 June 2024

Formatting for Tutorials.

Syntax

  • 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

{{Tutorial
|image1  = Tutorial Elements About Hydro 1.png
|text1   = Wet environments and Lua error: expandTemplate: template "Color" does not exist. can cause beings to become Lua error: expandTemplate: template "Color" does not exist.. When Hydro meets other elements, it often triggers an Lua error: expandTemplate: template "Color" does not exist..
|image2  = Tutorial Elements About Hydro 2.png
|text2   = Wet environments and Hydro Attacks can cause beings to become Lua error: expandTemplate: template "Color" does not exist.. When Hydro meets other elements, it often triggers an Lua error: expandTemplate: template "Color" does not exist..
}}

File:Tutorial Elements About Hydro 1.pngWet environments and Template:Color can cause beings to become Template:Color. When Hydro meets other elements, it often triggers an Template:Color.
File:Tutorial Elements About Hydro 2.pngWet environments and Hydro Attacks can cause beings to become Template:Color. When Hydro meets other elements, it often triggers an Template:Color.

{{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.pngFrom 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.pngWithin 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 Tutorial/About Pyro is not a valid tutorial.

Template Data

Formats display for Tutorials.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Page Name1

Name of tutorial subpage to transclude tutorial contents including title.

Page nameoptional
Titletitle

Title of tutorial.

Stringoptional
Subtitlesubtitle

Subtitle of tutorial.

Stringoptional
Iconicon

Icon of tutorial.

Stringoptional
Sortsort

Number used sort in Archive.

Numberoptional
Aboutabout

Semicolon separated list of pages 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


pt-br:Predefinição:Tutorial/doc