Template:InfoboxExtractor

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Revision as of 19:12, 23 December 2024 by HudgynS (talk | contribs) (→‎With a nested template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Extracts a value from an infobox on a page to use somewhere else. The infobox template must have "Infobox" in its name.

Usage

{{InfoboxExtractor|page title|label}}

For images

{{InfoboxExtractor|page title|label|imageIndex=|size=|link=}}

By default it selects 1 as imageIndex and sets size at 150px. link is optional.

Example

{{InfoboxExtractor|All-Star Battle R|publisher}}

Bandai Namco Entertainment

With a nested template

{{InfoboxExtractor|SO Chapter 158|image|imageIndex=2|size=115px|link=SO Chapter 158|template=true}}

SO Chapter 158 Bunkoban.jpg

With image

{{InfoboxExtractor|Jotaro Kujo|image|imageIndex=1|size=150px|link=Jotaro Kujo}}

Jotaro SC Infobox Manga.png

{{InfoboxExtractor|SO Chapter 72|image|imageIndex=2|size=150px}}

SO Chapter 72 Bunkoban.jpg

{{InfoboxExtractor|Episode 3|image}}

Episode 3.png