Template:InfoboxExtractor: Difference between revisions

From JoJo's Bizarre Encyclopedia - JoJo Wiki
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#invoke:InfoboxExtractor|extract|{{{1}}}|{{{2}}}|imageIndex={{{imageIndex|1}}}|size={{{size|150px}}}|link={{{link|}}}|template={{{template|}}}}}</includeonly><noinclude>
<includeonly>{{#invoke:InfoboxExtractor|extract|{{{1}}}|{{{2}}}|tab={{{tab|}}}|imageIndex={{{imageIndex|1}}}|size={{{size|150px}}}|link={{{link|}}}|template={{{template|}}}}}</includeonly><noinclude>
Extracts a value from an infobox on a page to use somewhere else. The infobox template must have "Infobox" in its name.
Extracts a value from an infobox on a page to use somewhere else. The infobox template must have "Infobox" in its name.



Revision as of 14:33, 31 July 2023

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 {{IntervalSince|2021-11-30 18:35|7|round=true}}|image|imageIndex=2|size=115px|link=SO Chapter {{IntervalSince|2021-11-30 18:35|7|round=true}}|template=true}}

Error: Page not found.

With image

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

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

{{InfoboxExtractor|Episode 3|image}}