Vorlage:Infobox: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K (typo) |
(use Autoimage template) |
||
Zeile 26: | Zeile 26: | ||
-->{{#arraydefine:$lang_produces | Produziert }}<!-- | -->{{#arraydefine:$lang_produces | Produziert }}<!-- | ||
-->{{#arraydefine:$engl_artisangoods | Artisan Goods }}<!-- | -->{{#arraydefine:$engl_artisangoods | Artisan Goods }}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
// END of translations | // END of translations | ||
− | // Initialize | + | // Initialize variables |
− | |||
− | |||
− | |||
-->{{#arraydefine:$quality|{{ParseInputQuality|quality={{{quality|}}}|iridium={{{iridium|}}}|hide={{{hide|}}}}}}}<!-- | -->{{#arraydefine:$quality|{{ParseInputQuality|quality={{{quality|}}}|iridium={{{iridium|}}}|hide={{{hide|}}}}}}}<!-- | ||
− | -->{{#switch: {{NAMESPACE}} | + | -->{{#arraydefine:$is_artisan|{{#if:{{{is_artisan|}}} |
+ | | {{#ifeq:{{{is_artisan|}}}|0||{{{is_artisan}}}}} | ||
+ | | {{#ifexpr: {{#if:{{#pos:{{lc:{{{source|}}}}}|{{lc:{{#arrayprint:$lang_artisangoods}}}}}}|1|0}} | ||
+ | or {{#if:{{#pos:{{lc:{{{source|}}}}}|{{lc:{{#arrayprint:$engl_artisangoods}}}}}}|1|0}} | ||
+ | |1}} | ||
+ | }}}}{{#switch: {{NAMESPACE}} | ||
|{{ns:User}}|{{ns:User talk}}= | |{{ns:User}}|{{ns:User talk}}= | ||
|#default=<div id="infoboxborder"> | |#default=<div id="infoboxborder"> | ||
Zeile 48: | Zeile 42: | ||
{{!}}- | {{!}}- | ||
{{!}}colspan="2" style="padding-bottom:5px; text-align: center;"{{!}}<!-- | {{!}}colspan="2" style="padding-bottom:5px; text-align: center;"{{!}}<!-- | ||
− | + | // Display images, using default name if necessary | |
− | // | + | -->{{Autoimage |
− | -->{{ | + | |{{{image|}}}, {{{image2|}}}, {{{image3|}}}, {{{image4|}}} |
− | + | |eng={{{eng|}}}|separator={{#ifeq:{{{image2spacing|}}}|true|   |{{{image2spacing|}}}}}}}<nowiki/> | |
− | |||
− | |||
− | |||
− | | {{ | ||
− | |||
− | |||
− | |||
− | }}}}}}<nowiki/> | ||
{{!}}- | {{!}}- | ||
{{!}}colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;" {{!}} {{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} | {{!}}colspan="2" id="infoboxdetail" style="text-align: center; font-style: italic;" {{!}} {{#if:{{{description|}}}|{{{description|}}}|{{Description|{{PAGENAME}}}}}} |
Version vom 10. September 2020, 15:09 Uhr
Details zur Vorlage finden Sie auf der englischsprachigen Dokumentationsseite.
Verwendung
Diese Vorlage kann verwendet werden, indem Sie auf eine relevante Seite folgendes eingeben.
{{Infobox}}
Ergibt...
Infobox | |
Vorlage:Autoimage | |
Information Vorlage:Infosection price |
Fehler: Die Parser-Funktion {{#seo:}} muss zu mindestens einem Meta-Element einen Wert enthalten.