More actions
m 1 revision imported: Import Template:Tutorial |
No edit summary |
||
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
This template uses Lua: |
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..
}}
{{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:
{{Tutorial|About Pyro}} yields:
The page Tutorial/About Pyro is not a valid tutorial.
Template Data
Formats display for Tutorials.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page Name | 1 | Name of tutorial subpage to transclude tutorial contents including title. | Page name | optional |
Title | title | Title of tutorial. | String | optional |
Subtitle | subtitle | Subtitle of tutorial. | String | optional |
Icon | icon | Icon of tutorial. | String | optional |
Sort | sort | Number used sort in Archive. | Number | optional |
About | about | Semicolon separated list of pages tutorial is about. | String | optional |
Image Size | size | Size of image to display as.
| String | optional |
Image 1 | image1 | Image for tutorial 1. | String | required |
Text 1 | text1 | Text for tutorial 1 | String | required |
Image 2 | image2 | Image for tutorial 2. | String | optional |
Text 2 | text2 | Text for tutorial 2 | String | optional |
Image 3 | image3 | Image for tutorial 3. | String | optional |
Text 3 | text3 | Text for tutorial 3 | String | optional |
Image 4 | image4 | Image for tutorial 4. | String | optional |
Text 4 | text4 | Text for tutorial 4 | String | optional |
Image 5 | image5 | Image for tutorial 5. | String | optional |
Text 5 | text5 | Text for tutorial 5 | String | optional |
Image 6 | image6 | Image for tutorial 6. | String | optional |
Text 6 | text6 | Text for tutorial 6 | String | optional |
Image 7 | image7 | Image for tutorial 7. | String | optional |
Text 7 | text7 | Text for tutorial 7 | String | optional |
Image 8 | image8 | Image for tutorial 8. | String | optional |
Text 8 | text8 | Text for tutorial 8 | String | optional |
Image 9 | image9 | Image for tutorial 9. | String | optional |
Text 9 | text9 | Text for tutorial 9 | String | optional |