More actions
Using code from genshin-impact:Tutorial/Uncategorized Tag: Reverted |
Tag: Undo |
||
Line 1: | Line 1: | ||
{{Tutorials | <includeonly>{{#DPL: | ||
[[ | |namespace= | ||
|category=Tutorial&{{{1|{{PAGENAME}} Tutorials}}} | |||
|uses=Template:Tutorial | |||
|include={Tutorial}:title,{Tutorial}:title | |||
|format=²{Column¦{{{2|2}}}¦,\n*,,}² | |||
|secseparators=²{#if:,¦[[%PAGE%|,,]]¦[[%PAGE%]]}² | |||
|resultsheader={{{header|'''%PAGES%''' [[Tutorial]]s {{#if:{{{1|}}}|match the category selection:|in {{PAGENAME}}:}}}}} | |||
|oneresultheader={{{header|'''%PAGES%''' [[Tutorial]] {{#if:{{{1|}}}|matches the category selection:|in {{PAGENAME}}:}}}}} | |||
|noresultsfooter=No [[Tutorial]]s {{#if:{{{1|}}}|match the category selection:|are in {{PAGENAME}}}}. | |||
|ordermethod=sortkey | |||
}}</includeonly><noinclude>{{Documentation|type=DPL List}}</noinclude> |
Revision as of 07:33, 7 June 2024
Create list of tutorials.
Syntax
{{Tutorials by Category List|category|columns|header = header text}}
Examples
{{Tutorials by Category List|Everlight Cell Tutorials|1}} yields:
No Tutorials match the category selection:.
{{Tutorials by Category List|System Tutorials|header = There are '''%PAGES%''' System Tutorials:}} yields:
No Tutorials match the category selection:.
Template Data
Create list of tutorials.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Category | 1 | Category to get tutorials for.
| String | optional |
Columns | 2 | Number of columns to display list in.
| Number | optional |
Header Text | header | Text to display before list.
| String | optional |