Module:GameChapterInfo/doc: Difference between revisions

From Little Tail Wiki
Jump to navigationJump to search
Created page with "{{GameChapterInfo | title = Chapter title | headerstyle = (defaults to background-color:grey) | image = 200px | caption = Chapter image (IMAGE REQUIRED) | ("Info.") | ja_kanji = Optional | ja_romaji = Optional | location = Optional | namesake = Optional | boss = Optional | prev_chap = Optional | next_chap = Optional }} The GameChapterInfo infobox lists basic facts about the article's featured video game chapter. Infoboxes are put t..."
 
No edit summary
 
Line 43: Line 43:
}}</pre>
}}</pre>


[[Category:Module documentation]]
<noinclude>[[Category:Module documentation]]</noinclude>

Latest revision as of 20:50, 2 March 2025

Chapter title

Chapter image (IMAGE REQUIRED)
Info.
Japanese name Optional
Romanized name Optional
Location Optional
Namesake Optional
Boss Optional
Previous chapter Optional
Next chapter Optional


The GameChapterInfo infobox lists basic facts about the article's featured video game chapter.

Infoboxes are put together via Capiunto, which calls upon a Lua-based module. This keeps infoboxes clean and easy to form.

In source editor, excluding any optional row will make that row not render. Leaving out any required fields will throw an error over the page. HTML tags can be used within the infobox if necessary.

Specific rows

  • Japanese name: The book's original title in Japanese
  • Romanized name: The book's Japanese title romanized
  • Location: The primary location the chapter takes place in
  • Namesake: What the chapter is named after
  • Boss: The boss fought in this chapter

Usage

{{GameChapterInfo
| title       = Chapter title
| headerstyle = (defaults to background-color:grey)
| image       = [[File:Unknown.png|200px]]
| caption     =  Chapter image (IMAGE REQUIRED)
| ("Info.")
| ja_kanji = Optional
| ja_romaji = Optional
| location = Optional
| namesake = Optional
| boss = Optional
| prev_chap = Optional
| next_chap = Optional
}}