Please remember that WiKirby contains spoilers, which you read at your own risk! See our general disclaimer for details.
Template:Mainlist: Difference between revisions
From WiKirby, your independent source of Kirby knowledge.
Jump to navigationJump to search
mNo edit summary |
Pinkyoshifan (talk | contribs) (probably should have brought it up when I discovered it, but better late than never) |
||
Line 1: | Line 1: | ||
:<i>Main articles: {{Pagelist|nspace= |delim=''|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}}}</i><noinclude>{{doc}}{{not-unused|reason|template used to add multiple "main article" redirects}}[[Category:Formatting Templates]]</noinclude> | :<i>Main articles: {{Pagelist|nspace= |delim=''|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}|{{{17|}}}|{{{18|}}}|{{{19|}}}|{{{20|}}}}}</i><noinclude>{{Custom|'''This template is currently broken. [[Special:Diff/143005|See here.]]'''}}{{doc}}{{not-unused|reason|template used to add multiple "main article" redirects}}[[Category:Formatting Templates]]</noinclude> |
Revision as of 22:55, 11 September 2020
- Main articles:
To use simply type:
{{mainlist|A|B|C}}
A, B, & C being variables of page names. The final result is merely an enhanced list similar to the Main Template.
Example of result: Main articles: Block Attack, Paint Panic, Cart Run
- Note: This is to be used for linking to several main articles. The singular version is still {{main}}
- Advantage: useful to list several main articles that apply to a section. Up to 10 variables are usable. But can be expanded later if needed.
- Disadvantage: cannot use the Void template to rename the section. Actual article names must be used. For example, you can use [[Star Block]] but not [[Star Block|star blocks]].