Vorlage:Showcase/Layout: Unterschied zwischen den Versionen

[gesichtete Version][gesichtete Version]
(Die Seite wurde neu angelegt: „<includeonly> <table style="width: 218px; height: 280px; border: 1px solid #88283a; padding: 0px 0px 0px 0px; border-top-left-radius: 9px; border-top-right-rad…“)
 
Zeile 1: Zeile 1:
 
<includeonly>
 
<includeonly>
<table style="width: 218px; height: 280px; border: 1px solid #88283a; padding: 0px 0px 0px 0px; border-top-left-radius: 9px; border-top-right-radius: 9px;">
+
<table style="width: 218px; height: {{#switch:{{{Typ|}}}
<tr colspan="6" style="height:40px; font-size: 14px; color: #f0d9a2; padding: 5px 5px 5px 10px;">
+
| NPC      = 250px
 +
| Erz      = 250px
 +
| Metin    = 250px
 +
| #default  = 280px }}; border: 1px solid #88283a; padding: 0px 0px 0px 0px; border-top-left-radius: 9px; border-top-right-radius: 9px;">
 +
<tr colspan="6" style="height:44px; font-size: 14px; color: #f0d9a2; padding: 5px 5px 5px 10px;">
 
<td colspan="2" style="width: 33px; background: #5d0505; border-top-left-radius: 9px;">{{#if: {{{Element2|}}} | {{#switch:{{{Element2}}}
 
<td colspan="2" style="width: 33px; background: #5d0505; border-top-left-radius: 9px;">{{#if: {{{Element2|}}} | {{#switch:{{{Element2}}}
 
|Eis        = {{Eis|32px}}
 
|Eis        = {{Eis|32px}}
Zeile 11: Zeile 15:
 
}} }}</td>
 
}} }}</td>
 
<td colspan="2" style="background: #5d0505;">
 
<td colspan="2" style="background: #5d0505;">
<center><b>{{#ifexist: {{{AnzeigeName}}} | [[{{{Name}}} | <span style="color:{{Tabellenfarbe/Schrift}}">{{{AnzeigeName}}}</span>]] | {{#ifexist: {{{Name}}} | [[{{{Name}}} | <span style="color:{{Tabellenfarbe/Schrift}}">{{{Name}}}</span>]] | {{{Name}}} }} }}</b>{{#if: {{{Position| }}} | <br>Position: {{{Position}}} | <br>Level: '''{{#if: {{{Level|}}} | {{{Level}}} | ?? }}'''  Stufe: '''{{#if: {{{Stufe|}}} | {{{Stufe}}} | ?? }}''' }}</center>
+
<center><b>{{#ifexist: {{{AnzeigeName}}} | [[{{{Name}}} | <span style="color:{{Tabellenfarbe/Schrift}}">{{{AnzeigeName}}}</span>]] | {{#ifexist: {{{Name}}} | [[{{{Name}}} | <span style="color:{{Tabellenfarbe/Schrift}}">{{{Name}}}</span>]] | {{{Name}}} }} }}</b><br>
 +
{{#switch:{{{Typ|}}}
 +
| NPC      = {{#if: {{{Position| }}} | Position: {{{Position}}} }}
 +
| Erz      =
 +
| Metin    =
 +
| #default  = Level: '''{{#if: {{{Level|}}} | {{{Level}}} | ?? }}'''  Stufe: '''{{#if: {{{Stufe|}}} | {{{Stufe}}} | ?? }}'''
 +
}}</center>
 
</td>
 
</td>
 
<td colspan="2" style="width: 33px; background: #5d0505; border-top-right-radius: 9px;">{{#if: {{{Element|}}} | {{#switch:{{{Element}}}
 
<td colspan="2" style="width: 33px; background: #5d0505; border-top-right-radius: 9px;">{{#if: {{{Element|}}} | {{#switch:{{{Element}}}
Zeile 21: Zeile 31:
 
|Feuer      = {{Feuer|32px}}
 
|Feuer      = {{Feuer|32px}}
 
}} }}</td>
 
}} }}</td>
</tr>
+
</tr>{{#switch:{{{Typ|}}}
<tr>
+
| NPC      =
 +
| Erz      =
 +
| Metin    =
 +
| #default  = <tr>
 
<td colspan="3" valign="top">
 
<td colspan="3" valign="top">
 
<div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
 
<div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
Zeile 40: Zeile 53:
 
<td colspan="3" valign="top">
 
<td colspan="3" valign="top">
 
<div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
 
<div style="display: flex; justify-content: space-between; margin-bottom: 5px;">
<div style="border: 1px #88283a dashed; padding: 0 5px; height: 42px; width: 103px;">Schaden:<br> '''{{#if: {{{Schaden|}}} | {{#switch:{{{Schaden}}}
+
<div style="border: 1px #88283a dashed; padding: 0 5px; height: 42px; width: 103px;">Schaden:<br> '''{{#switch:{{{Schaden}}}
 
|PN  = [[Schaden#Physisch_Nahkampf|Physisch]]
 
|PN  = [[Schaden#Physisch_Nahkampf|Physisch]]
 
|PF  = [[Schaden#Physisch_Fernkampf|Fernkampf]]
 
|PF  = [[Schaden#Physisch_Fernkampf|Fernkampf]]
 
|M  = [[Schaden#Magisch|Magie]]
 
|M  = [[Schaden#Magisch|Magie]]
}} | ??}}{{#if: {{{Schaden|}}} | {{#if: {{{FKS|}}} | , }} }} {{#if: {{{FKS|}}} | [[Schaden#Fertigkeitsschaden|FKS]] }}'''</div></div>
+
|#default = ??}}{{#if: {{{Schaden|}}} | {{#if: {{{FKS|}}} | , }} }} {{#if: {{{FKS|}}} | [[Schaden#Fertigkeitsschaden|FKS]] }}'''</div></div>
 
</td>
 
</td>
 
</tr>
 
</tr>
 +
}}
 
<tr>
 
<tr>
 
<td colspan="6">
 
<td colspan="6">
Zeile 58: Zeile 72:
 
Das ist nur eine Vorschau:
 
Das ist nur eine Vorschau:
 
Siehe [[Vorlage:Showcase]] für die Vorlage
 
Siehe [[Vorlage:Showcase]] für die Vorlage
<table><tr><td>
+
<div style="display: flex; flex-direction: row; gap: 10px 1px; flex-wrap: wrap; justify-content: start; width: 100%;">
 
{{Showcase/Layout
 
{{Showcase/Layout
<!-- Typ: Monster, NPC, Erz, Metin. Wenn Leer -> Monster -->
+
<!-- Typ: Monster, NPC, Erz. Default: Monster -->
|Typ =
+
|Typ         =  
<!-- Eigenschaften des Monsters -->
+
<!-- Eigenschaften -->
 
|Name        = Wildhund
 
|Name        = Wildhund
 
|AnzeigeName =  
 
|AnzeigeName =  
Zeile 74: Zeile 88:
 
|Schaden = PF
 
|Schaden = PF
 
|FKS    = Ja
 
|FKS    = Ja
<!-- NPCs -->
+
}}{{Showcase/Layout
|Position    = (123, 123)
+
<!-- Typ: Monster, NPC, Erz. Default: Monster -->
}}</td><td>
+
|Typ        =  
{{Showcase/Layout
+
<!-- Eigenschaften -->
<!-- Eigenschaften des Monsters -->
 
 
|Name        = Böse Klauengiftspinne (Sung Mahi)
 
|Name        = Böse Klauengiftspinne (Sung Mahi)
 
|AnzeigeName = Böse Klauengiftspinne
 
|AnzeigeName = Böse Klauengiftspinne
Zeile 89: Zeile 102:
 
|Schaden = M
 
|Schaden = M
 
|FKS    = Ja
 
|FKS    = Ja
}}</td><td>
+
}}{{Showcase/Layout
{{Showcase/Layout
+
<!-- Typ: Monster, NPC, Erz. Default: Monster -->
<!-- Eigenschaften des Monsters -->
+
|Typ        =
|Name        = Schmied
+
<!-- Eigenschaften -->
 +
|Name        =  
 
|AnzeigeName =  
 
|AnzeigeName =  
 
|Level      =  
 
|Level      =  
 
|Stufe      =  
 
|Stufe      =  
|Position    = (123, 123)
+
|Position    =  
 
|Element    =  
 
|Element    =  
 
|Element2    =  
 
|Element2    =  
 
|Gattung    =  
 
|Gattung    =  
 
<!-- Schadenstyp des Monsters: PN = Physisch Nahkampf, PF = Physisch Fernkampf, M  = Magisch, Wenn FKS: Ja-->
 
<!-- Schadenstyp des Monsters: PN = Physisch Nahkampf, PF = Physisch Fernkampf, M  = Magisch, Wenn FKS: Ja-->
|Schaden = PN
+
|Schaden =  
|FKS    = Ja
+
|FKS    =  
}}</td><td>
+
}}{{Showcase/Layout
{{Showcase/Layout
+
<!-- Typ: Monster, NPC, Erz. Default: Monster -->
<!-- Eigenschaften des Monsters -->
+
|Typ        = NPC
|Name        =  
+
<!-- Eigenschaften -->
 +
|Name        = Schmied
 
|AnzeigeName =  
 
|AnzeigeName =  
|Level      = 120
+
|Level      =  
|Stufe      = 4
+
|Stufe      =  
|Element    = Eis
+
|Position    =
 +
|Element    =  
 
|Element2    =  
 
|Element2    =  
|Gattung    = Teufel
+
|Gattung    =  
 
<!-- Schadenstyp des Monsters: PN = Physisch Nahkampf, PF = Physisch Fernkampf, M  = Magisch, Wenn FKS: Ja-->
 
<!-- Schadenstyp des Monsters: PN = Physisch Nahkampf, PF = Physisch Fernkampf, M  = Magisch, Wenn FKS: Ja-->
|Schaden = M
+
|Schaden =  
|FKS    = Ja
+
|FKS    =  
}}</td></tr></table>
+
}}</div>
 
</noinclude>
 
</noinclude>

Version vom 22. Januar 2023, 00:33 Uhr


Das ist nur eine Vorschau: Siehe Vorlage:Showcase für die Vorlage