Jump to content
Menü aufrufen
Toggle preferences menu
Persönliches Menü aufrufen
Nicht angemeldet
Ihre IP-Adresse wird öffentlich sichtbar sein, wenn Sie Änderungen vornehmen.

Vorlage:InfoboxExtractor: Unterschied zwischen den Versionen

Aus DragonballWiki
Inhalt gelöscht Inhalt hinzugefügt
Gokussj7
Gokussj7 (Diskussion | Beiträge) (Die Seite wurde neu angelegt.)
 
Zeile 8: Zeile 8:
<pre>{{InfoboxExtractor|page title|label|imageIndex=|size=|link=}}</pre>
<pre>{{InfoboxExtractor|page title|label|imageIndex=|size=|link=}}</pre>
By default it selects 1 as <code>imageIndex</code> and sets <code>size</code> at 150px. <code>link</code> is optional.
By default it selects 1 as <code>imageIndex</code> and sets <code>size</code> at 150px. <code>link</code> is optional.

==Example==
==Example==
<pre>{{InfoboxExtractor|All-Star Battle R|publisher}}</pre>
<pre>{{InfoboxExtractor|All-Star Battle R|publisher}}</pre>
Zeile 14: Zeile 13:


===With a nested template===
===With a nested template===
<pre>{{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}}</pre>
<pre>{{InfoboxExtractor|SO Chapter 158|image|imageIndex=2|size=115px|link=SO Chapter 158|template=true}}</pre>
{{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}}
{{InfoboxExtractor|SO Chapter 158|image|imageIndex=2|size=115px|link=SO Chapter 158|template=true}}


===With image===
===With image===
<pre>{{InfoboxExtractor|Jotaro Kujo|image|imageIndex=1|size=150px|link=Jotaro Kujo}}</pre>
{{InfoboxExtractor|Jotaro Kujo|image|imageIndex=1|size=150px|link=Jotaro Kujo}}

<pre>{{InfoboxExtractor|SO Chapter 72|image|imageIndex=2|size=150px}}</pre>
{{InfoboxExtractor|SO Chapter 72|image|imageIndex=2|size=150px}}

<pre>{{InfoboxExtractor|Episode 3|image}}</pre>
{{InfoboxExtractor|Episode 3|image}}
</noinclude>

Version vom 23. Mai 2025, 17:38 Uhr

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}}

Error: Page not found.

With a nested template

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

Error: Page not found.

With image

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

Error: Page not found.

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

Error: Page not found.

{{InfoboxExtractor|Episode 3|image}}

Error: Page not found.

Cookies helfen uns bei der Bereitstellung von DragonballWiki. Durch die Nutzung von DragonballWiki erklärst du dich damit einverstanden, dass wir Cookies speichern.