Es gibt z.Z. Probleme mit einem Update, es ist nur Lesen möglich. Currently there are issues with the installation, readonly possible for now. |
Difference between revisions of "Template:CatCatalogue"
(catalogues list w/o producer) |
m |
||
Line 27: | Line 27: | ||
-- set variable for Producer -->{{#dplvar:set|_PR|{{#sub:{{#dplvar:_PN}}|0|{{#expr:{{#dplvar:_x}}}}}}}}<!-- | -- set variable for Producer -->{{#dplvar:set|_PR|{{#sub:{{#dplvar:_PN}}|0|{{#expr:{{#dplvar:_x}}}}}}}}<!-- | ||
-- use spaces again -->{{#dplvar:set|_PR|{{#replace:{{#dplvar:_PR}}|_| }}}}<!-- | -- use spaces again -->{{#dplvar:set|_PR|{{#replace:{{#dplvar:_PR}}|_| }}}}<!-- | ||
− | --><div style=" | + | --><div style="border:2px solid black;border-radius:5px;padding:2px;"> |
− | {| | + | {| style="background-color:Gainsboro; display:block;" |
− | | rowspan="2" | [[File:Cat Catalogue.jpg|80px|{{JW:Puzzle-Catalogue}}]] || <div style=" | + | | rowspan="2" | [[File:Cat Catalogue.jpg|80px|{{JW:Puzzle-Catalogue}}]] || <div style="background-color:Gainsboro; display:block;">'''{{Project:Puzzle-Producer}} : ''' [[:Category:Producer|{{Project:Cat-Header-All}}]] • [[:Category:{{#dplvar:_PR}}|{{#dplvar:_PR}}]]</div> |
|- | |- | ||
| <div style="margin:5px; display:block; text-align:left; background:Gainsboro;">'''{{JW:Puzzle-Catalogue}} : ''' [[:Category:Catalogues|{{Project:Cat-Header-All}}]]{{#dpl: | | <div style="margin:5px; display:block; text-align:left; background:Gainsboro;">'''{{JW:Puzzle-Catalogue}} : ''' [[:Category:Catalogues|{{Project:Cat-Header-All}}]]{{#dpl: | ||
Line 45: | Line 45: | ||
-- use spaces again -->{{#dplvar:set|_PR|{{#replace:{{#dplvar:_PR}}|_| }}}}<!-- | -- use spaces again -->{{#dplvar:set|_PR|{{#replace:{{#dplvar:_PR}}|_| }}}}<!-- | ||
-->{{DISPLAYTITLE:{{JW:Puzzle-Catalogue}} '''"{{PAGENAME}}"'''}}<!-- | -->{{DISPLAYTITLE:{{JW:Puzzle-Catalogue}} '''"{{PAGENAME}}"'''}}<!-- | ||
− | --><div style=" | + | --><div style="border:2px solid black;border-radius:5px;padding:2px;"> |
− | {| | + | {| style="background-color:Gainsboro; display:block;" |
| rowspan="2" | [[File:Cat Catalogue.jpg|80px|{{JW:Puzzle-Catalogue}}]] || <div style="margin:5px; display:block; text-align:left; background:Gainsboro;">'''{{Project:Puzzle-Producer}} : ''' [[:Category:Producer|{{Project:Cat-Header-All}}]] • [[:Category:{{#dplvar:_PR}}|{{#dplvar:_PR}}]]</div> | | rowspan="2" | [[File:Cat Catalogue.jpg|80px|{{JW:Puzzle-Catalogue}}]] || <div style="margin:5px; display:block; text-align:left; background:Gainsboro;">'''{{Project:Puzzle-Producer}} : ''' [[:Category:Producer|{{Project:Cat-Header-All}}]] • [[:Category:{{#dplvar:_PR}}|{{#dplvar:_PR}}]]</div> | ||
|- | |- |
Revision as of 08:32, 4 March 2019
Vorlage: CatCatalogue
Parameter: keine
Anzeige der Kopfdaten für einen Puzzle-Katalog.
Angezeigt werden:
- Kategorie-Bild
- Links zu
- - alle Hersteller
- - Hersteller zu diesem Katalog (wird aus dem Seitentitel ermittelt)
- - alle Kataloge
- - alle Kataloge dieses Herstellers
Es erfolgt eine automatische Zuordnung zur Kategorie:Kataloge.
Beispiel:
{{CatCatalogue}}
ergibt (Beispiel für die Katalogseite "Schmidt 2008") als Header der Seite: