Format:Eveniment: Diferență între versiuni
| [versiune verificată] | [versiune verificată] |
Arkan (Discuție | contribuții) (Câmpurile goale nu se mai afişează, fără blocuri pre; rândurile din Item Shop în Format:Eveniment/rand; parametri noi: compact, ShopGrup, ShopLipsa) |
Arkan (Discuție | contribuții) |
||
| Linia 1: | Linia 1: | ||
| − | <noinclude>{{AV!}}</noinclude> | + | <noinclude>{{AV!}}</noinclude>{{#if: |
| − | + | {{#vardefine:ev_th|text-align:right; vertical-align:top; white-space:nowrap; color:#7a5a2a; font-weight:bold; padding:3px 10px 3px 20px; width:150px;}} | |
| − | + | {{#vardefine:ev_td|vertical-align:top; padding:3px 20px 3px 0;}} | |
| − | + | {{#vardefine:ev_info|}} | |
| − | + | {{#if:{{{DataStart|}}}|{{#vardefine:ev_info|{{#var:ev_info}}<tr><th style="{{#var:ev_th}}">Dată început</th><td style="{{#var:ev_td}}">{{{DataStart}}}</td></tr>}}}} | |
| − | + | {{#if:{{{DataEnd|}}}|{{#vardefine:ev_info|{{#var:ev_info}}<tr><th style="{{#var:ev_th}}">Dată sfârșit</th><td style="{{#var:ev_td}}">{{{DataEnd}}}</td></tr>}}}} | |
| − | + | {{#if:{{{Locatie|}}}|{{#vardefine:ev_info|{{#var:ev_info}}<tr><th style="{{#var:ev_th}}">Harta / Locație</th><td style="{{#var:ev_td}}">{{{Locatie}}}</td></tr>}}}} | |
| − | + | {{#if:{{{NPC|}}}|{{#vardefine:ev_info|{{#var:ev_info}}<tr><th style="{{#var:ev_th}}">NPC / Portal</th><td style="{{#var:ev_td}}">{{{NPC}}}</td></tr>}}}} | |
| + | {{#if:{{{Nivel|}}}|{{#vardefine:ev_info|{{#var:ev_info}}<tr><th style="{{#var:ev_th}}">Nivel minim</th><td style="{{#var:ev_td}}">{{{Nivel}}}</td></tr>}}}} | ||
| + | {{#if:{{{ResetZilnic|}}}|{{#vardefine:ev_info|{{#var:ev_info}}<tr><th style="{{#var:ev_th}}">Reset zilnic</th><td style="{{#var:ev_td}}">{{{ResetZilnic}}}</td></tr>}}}} | ||
| + | {{#if:{{{RoluriDisponibile|}}}|{{#vardefine:ev_info|{{#var:ev_info}}<tr><th style="{{#var:ev_th}}">Roluri disponibile</th><td style="{{#var:ev_td}}">{{{RoluriDisponibile}}}</td></tr>}}}} | ||
| + | {{#if:{{{Altele|}}}|{{#vardefine:ev_info|{{#var:ev_info}}<tr><th style="{{#var:ev_th}}">Altele</th><td style="{{#var:ev_td}}">{{{Altele}}}</td></tr>}}}} | ||
| + | ||}}{{#ifeq:{{{compact|}}}|da||{{Subpage|[[Pagina principală|Metin2Wiki]]|[[Category:Evenimente|Evenimente]]}}}}<div style="font-family:Georgia,'Times New Roman',serif; max-width:900px; margin:0 auto;{{#ifeq:{{{compact|}}}|da| border-top:2px solid #8b5e2a; border-bottom:2px solid #8b5e2a;|}}">{{#ifeq:{{{compact|}}}|da|| | ||
| + | <div style="background:linear-gradient(180deg,#3b1f0a 0%,#5c2e0e 40%,#3b1f0a 100%); border:2px solid #8b5e2a; border-radius:8px 8px 0 0; padding:14px 20px; text-align:center; box-shadow:0 3px 8px rgba(0,0,0,.6); position:relative;"> | ||
<div style="position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:20px; color:#c9954a; line-height:1;">❧</div> | <div style="position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:20px; color:#c9954a; line-height:1;">❧</div> | ||
<div style="position:absolute; right:14px; top:50%; transform:translateY(-50%); font-size:20px; color:#c9954a; line-height:1;">❧</div> | <div style="position:absolute; right:14px; top:50%; transform:translateY(-50%); font-size:20px; color:#c9954a; line-height:1;">❧</div> | ||
<span style="font-size:17px; color:#f0d9a2; font-weight:bold; letter-spacing:3px; text-transform:uppercase; text-shadow:1px 1px 3px #000;">{{{NumeEveniment|{{PAGENAME}}}}}</span> | <span style="font-size:17px; color:#f0d9a2; font-weight:bold; letter-spacing:3px; text-transform:uppercase; text-shadow:1px 1px 3px #000;">{{{NumeEveniment|{{PAGENAME}}}}}</span> | ||
{{#if:{{{Perioada|}}}|<br><span style="font-size:11px; color:#c9954a; letter-spacing:5px; text-transform:uppercase;">{{{Perioada}}}</span>}} | {{#if:{{{Perioada|}}}|<br><span style="font-size:11px; color:#c9954a; letter-spacing:5px; text-transform:uppercase;">{{{Perioada}}}</span>}} | ||
| − | </div>}} | + | </div>}}{{#if:{{{Imagine|}}}| |
| − | + | <div style="background:linear-gradient(180deg,#ede0b0 0%,#e8d49a 100%); border:2px solid #8b5e2a; border-top:none; border-bottom:none; text-align:center; padding:14px 10px;">{{{Imagine}}}</div>}}<div style="background-image:linear-gradient(135deg,#f5e9cc 0%,#ede0b0 50%,#f5e9cc 100%); border:2px solid #8b5e2a; border-top:none; border-bottom:none;">{{#if:{{{DataStart|}}}{{{DataEnd|}}}{{{Locatie|}}}{{{NPC|}}}{{{Nivel|}}}{{{ResetZilnic|}}}{{{RoluriDisponibile|}}}{{{Altele|}}}| | |
| − | + | <div style="border-bottom:1px solid #c9a86c; border-top:1px solid #c9a86c; padding:6px 16px; background:linear-gradient(90deg,#d4a84b22,#c9a86c44,#d4a84b22); text-align:left;"><span style="color:#3b1f0a; font-size:11px; letter-spacing:4px; font-variant:small-caps; font-weight:bold;">⚔ Informații Generale</span></div> | |
| − | + | <table style="width:100%; border-collapse:collapse; font-size:12px; color:#3b1f0a; line-height:1.65; margin:8px 0;">{{#var:ev_info}}</table>}}{{#if:{{{Descriere|}}}| | |
| − | + | <div style="border-bottom:1px solid #c9a86c; border-top:1px solid #c9a86c; padding:6px 16px; background:linear-gradient(90deg,#d4a84b22,#c9a86c44,#d4a84b22); text-align:left;"><span style="color:#3b1f0a; font-size:11px; letter-spacing:4px; font-variant:small-caps; font-weight:bold;">📜 Descriere</span></div> | |
| − | |||
| − | |||
| − | |||
| − | <table style="width:100%; border-collapse:collapse; font-size:12px; color:#3b1f0a; line-height:1.65; margin:8px 0;"> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<div style="padding:10px 20px 14px; font-size:12px; color:#3b1f0a; line-height:1.75;"> | <div style="padding:10px 20px 14px; font-size:12px; color:#3b1f0a; line-height:1.75;"> | ||
{{{Descriere}}} | {{{Descriere}}} | ||
</div>}} | </div>}} | ||
| − | </div | + | </div><div style="background:linear-gradient(90deg,#3b1f0a,#5c2e0e,#3b1f0a); border:2px solid #8b5e2a; border-top:none; border-bottom:none; padding:7px 16px; text-align:center;"><span style="color:#c9954a; font-size:11px; letter-spacing:5px; font-variant:small-caps; font-weight:bold;">✦ Recompense & Item Shop ✦</span></div> |
| − | |||
| − | |||
| − | |||
<div style="background-image:linear-gradient(135deg,#f5e9cc 0%,#ede0b0 50%,#f5e9cc 100%); border:2px solid #8b5e2a; border-top:none; border-bottom:none;"> | <div style="background-image:linear-gradient(135deg,#f5e9cc 0%,#ede0b0 50%,#f5e9cc 100%); border:2px solid #8b5e2a; border-top:none; border-bottom:none;"> | ||
<table style="width:100%; border-collapse:collapse;"><tr> | <table style="width:100%; border-collapse:collapse;"><tr> | ||
<td valign="top" width="50%" style="border-right:1px solid #c9a86c; padding:0;"> | <td valign="top" width="50%" style="border-right:1px solid #c9a86c; padding:0;"> | ||
<div style="border-bottom:1px solid #c9a86c; border-top:1px solid #c9a86c; padding:6px 16px; background:linear-gradient(90deg,#d4a84b22,#c9a86c44,#d4a84b22); text-align:center;"><span style="color:#3b1f0a; font-size:11px; letter-spacing:4px; font-variant:small-caps; font-weight:bold;">🏆 Recompense în Joc</span></div> | <div style="border-bottom:1px solid #c9a86c; border-top:1px solid #c9a86c; padding:6px 16px; background:linear-gradient(90deg,#d4a84b22,#c9a86c44,#d4a84b22); text-align:center;"><span style="color:#3b1f0a; font-size:11px; letter-spacing:4px; font-variant:small-caps; font-weight:bold;">🏆 Recompense în Joc</span></div> | ||
| − | <div style="padding:10px 18px; font-size:12px; color:#3b1f0a; line-height:1.8;" | + | <div style="padding:10px 18px; font-size:12px; color:#3b1f0a; line-height:1.8;">{{#if:{{{Recompensa1|}}}|• {{{Recompensa1}}}<br>}}{{#if:{{{Recompensa2|}}}|• {{{Recompensa2}}}<br>}}{{#if:{{{Recompensa3|}}}|• {{{Recompensa3}}}<br>}}{{#if:{{{Recompensa4|}}}|• {{{Recompensa4}}}<br>}}{{#if:{{{Recompensa5|}}}|• {{{Recompensa5}}}<br>}}{{#if:{{{Recompensa1|}}}||''Nu există recompense listate.''}}</div> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</td> | </td> | ||
<td valign="top" width="50%" style="padding:0;"> | <td valign="top" width="50%" style="padding:0;"> | ||
| Linia 117: | Linia 97: | ||
</td> | </td> | ||
</tr></table> | </tr></table> | ||
| − | </div | + | </div>{{#if:{{{RoataNume1|}}}{{{RoataImagine1|}}}{{{RoataDescriere1|}}}| |
| − | + | <div style="background:linear-gradient(90deg,#3b1f0a,#5c2e0e,#3b1f0a); border:2px solid #8b5e2a; border-top:none; border-bottom:none; padding:7px 16px; text-align:center;"><span style="color:#c9954a; font-size:11px; letter-spacing:5px; font-variant:small-caps; font-weight:bold;">✦ Roți Disponibile ✦</span></div> | |
| − | |||
| − | |||
| − | |||
<div style="background-image:linear-gradient(135deg,#f5e9cc 0%,#ede0b0 50%,#f5e9cc 100%); border:2px solid #8b5e2a; border-top:none; border-bottom:none;"> | <div style="background-image:linear-gradient(135deg,#f5e9cc 0%,#ede0b0 50%,#f5e9cc 100%); border:2px solid #8b5e2a; border-top:none; border-bottom:none;"> | ||
<table style="width:100%; border-collapse:collapse;"><tr> | <table style="width:100%; border-collapse:collapse;"><tr> | ||
| Linia 135: | Linia 112: | ||
</td>}} | </td>}} | ||
</tr></table> | </tr></table> | ||
| − | </div>}} | + | </div>}}{{#ifeq:{{{compact|}}}|da|| |
| − | + | <div style="background:linear-gradient(180deg,#3b1f0a 0%,#5c2e0e 100%); border:2px solid #8b5e2a; border-top:1px solid #c9a86c; border-radius:0 0 8px 8px; padding:6px 20px; text-align:center; box-shadow:0 3px 8px rgba(0,0,0,.5);"><span style="color:#c9a86c; font-size:16px; letter-spacing:8px;">❦ ✦ ❦</span></div>}} | |
| − | + | </div>{{#ifeq:{{{compact|}}}|da||<includeonly>{{top}}</includeonly> | |
| − | |||
| − | </div | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{Subpage|[[Pagina principală|Metin2Wiki]]|[[:Categorie:Evenimente|evenimente]]}} | {{Subpage|[[Pagina principală|Metin2Wiki]]|[[:Categorie:Evenimente|evenimente]]}} | ||
{{#ifeq: {{PAGENAME}} | evenimente || <includeonly>[[Category:Evenimente|{{PAGENAME}}]]</includeonly> }}}}<noinclude> | {{#ifeq: {{PAGENAME}} | evenimente || <includeonly>[[Category:Evenimente|{{PAGENAME}}]]</includeonly> }}}}<noinclude> | ||
| − | |||
| − | |||
| − | |||
== Utilizare == | == Utilizare == | ||
Versiunea curentă din 1 octombrie 2026 07:43
< Metin2Wiki < < Eveniment
❧
❧
Eveniment
✦ Recompense & Item Shop ✦
|
🏆 Recompense în Joc
Nu există recompense listate.
|
🛒 Item Shop
|
||||||
❦ ✦ ❦
< Metin2Wiki < evenimente < Eveniment
Utilizare
Copiază codul de mai jos și completează parametrii:
{{Eveniment
|NumeEveniment = Numele evenimentului
|Imagine = [[File:NumeFisier.jpg|240px|center]]
|Perioada = ex: 01.12.2024 – 31.12.2024
|DataStart = 01.12.2024
|DataEnd = 31.12.2024
|Locatie = ex: Regatul Shinsoo, Harta 1
|NPC = ex: NPC Moș Crăciun (coord: 123, 456)
|Nivel = ex: 30+
|ResetZilnic = ex: Da / Nu
|RoluriDisponibile = ex: Războinic, Ninja, Sura, Șaman, Lycan
|Altele = orice info suplimentar
|Descriere = Descrierea completă a evenimentului...
|Recompensa1 = [[Articol1]] x1
|Recompensa2 = [[Articol2]] x3
|Recompensa3 =
|Recompensa4 =
|Recompensa5 =
|ShopItem1 = [[Pachet Crăciun]]
|ShopPret1 = 5.000
|ShopDurata1 = 30 zile
|ShopItem2 = [[Costum Iarnă]]
|ShopPret2 = 12.000
|ShopDurata2 = Permanent
|ShopItem3 =
|ShopPret3 =
|ShopDurata3 =
|ShopItem4 =
|ShopPret4 =
|ShopDurata4 =
|ShopItem5 =
|ShopPret5 =
|ShopDurata5 =
|ShopItem6 =
|ShopPret6 =
|ShopDurata6 =
|ShopItem7 =
|ShopPret7 =
|ShopDurata7 =
|ShopItem8 =
|ShopPret8 =
|ShopDurata8 =
|ShopItem9 =
|ShopPret9 =
|ShopDurata9 =
|ShopItem10 =
|ShopPret10 =
|ShopDurata10 =
|ShopItem11 =
|ShopPret11 =
|ShopDurata11 =
|ShopItem12 =
|ShopPret12 =
|ShopDurata12 =
|ShopItem13 =
|ShopPret13 =
|ShopDurata13 =
|ShopItem14 =
|ShopPret14 =
|ShopDurata14 =
|ShopItem15 =
|ShopPret15 =
|ShopDurata15 =
|ShopItem16 =
|ShopPret16 =
|ShopDurata16 =
|ShopItem17 =
|ShopPret17 =
|ShopDurata17 =
|ShopItem18 =
|ShopPret18 =
|ShopDurata18 =
|ShopItem19 =
|ShopPret19 =
|ShopDurata19 =
|ShopItem20 =
|ShopPret20 =
|ShopDurata20 =
|ShopItem21 =
|ShopPret21 =
|ShopDurata21 =
|ShopItem22 =
|ShopPret22 =
|ShopDurata22 =
|ShopItem23 =
|ShopPret23 =
|ShopDurata23 =
|ShopItem24 =
|ShopPret24 =
|ShopDurata24 =
|ShopItem25 =
|ShopPret25 =
|ShopDurata25 =
|ShopItem26 =
|ShopPret26 =
|ShopDurata26 =
|ShopItem27 =
|ShopPret27 =
|ShopDurata27 =
|ShopItem28 =
|ShopPret28 =
|ShopDurata28 =
|ShopItem29 =
|ShopPret29 =
|ShopDurata29 =
|ShopItem30 =
|ShopPret30 =
|ShopDurata30 =
|ShopItem31 =
|ShopPret31 =
|ShopDurata31 =
|ShopItem32 =
|ShopPret32 =
|ShopDurata32 =
|ShopItem33 =
|ShopPret33 =
|ShopDurata33 =
|ShopItem34 =
|ShopPret34 =
|ShopDurata34 =
|ShopItem35 =
|ShopPret35 =
|ShopDurata35 =
|ShopItem36 =
|ShopPret36 =
|ShopDurata36 =
|ShopItem37 =
|ShopPret37 =
|ShopDurata37 =
|ShopItem38 =
|ShopPret38 =
|ShopDurata38 =
|ShopItem39 =
|ShopPret39 =
|ShopDurata39 =
|ShopItem40 =
|ShopPret40 =
|ShopDurata40 =
|ShopItem41 =
|ShopPret41 =
|ShopDurata41 =
|ShopItem42 =
|ShopPret42 =
|ShopDurata42 =
|ShopItem43 =
|ShopPret43 =
|ShopDurata43 =
|ShopItem44 =
|ShopPret44 =
|ShopDurata44 =
|ShopItem45 =
|ShopPret45 =
|ShopDurata45 =
|ShopItem46 =
|ShopPret46 =
|ShopDurata46 =
|ShopItem47 =
|ShopPret47 =
|ShopDurata47 =
|ShopItem48 =
|ShopPret48 =
|ShopDurata48 =
|ShopItem49 =
|ShopPret49 =
|ShopDurata49 =
|ShopItem50 =
|ShopPret50 =
|ShopDurata50 =
|RoataNume1 = ex: Roata Norocului
|RoataImagine1 = [[File:Roata1.png|180px|center]]
|RoataDescriere1 = Descrierea premiilor din această roată...
|RoataNume2 = ex: Roata de Aur
|RoataImagine2 = [[File:Roata2.png|180px|center]]
|RoataDescriere2 =
}}
Parametri
| Parametru | Descriere | Obligatoriu |
|---|---|---|
| NumeEveniment | Titlul evenimentului (apare în header) | Da |
| Imagine | Imaginea evenimentului: [[File:NumeFisier.jpg|240px|center]] | Nu |
| Perioada | Intervalul de desfășurare (text liber) | Nu |
| DataStart / DataEnd | Date exacte de început/sfârșit | Nu |
| Locatie | Harta sau zona evenimentului | Nu |
| NPC | NPC-ul/Portalul de acces | Nu |
| Nivel | Nivelul minim de la care poţi participa | Nu |
| ResetZilnic | Dacă evenimentul se resetează zilnic | Nu |
| RoluriDisponibile | Clasele/rolurile care pot participa | Nu |
| Altele | Informații suplimentare | Nu |
| Descriere | Textul descriptiv al evenimentului | Nu |
| Recompensa1–5 | Recompensele obținute în joc | Nu |
| ShopItem1–50 | Articolele din Item Shop | Nu |
| ShopPret1–50 | Prețul articolului (în Yang/Monede) | Nu |
| ShopDurata1–50 | Durata articolului (zile / Permanent) | Nu |
| ShopGrup1–50 | Cap de grupă pus deasupra articolului (Costume, Frizuri...) | Nu |
| ShopLipsa | Textul afişat când lista din Item Shop e goală | Nu |
| compact | da ascunde breadcrumb-ul, antetul şi piciorul, pentru mai multe evenimente pe aceeaşi pagină |
Nu |
| RoataNume1–2 | Numele roții (apare în titlul coloanei) | Nu |
| RoataImagine1–2 | Imaginea roții: [[File:Roata.png|180px|center]] | Nu |
| RoataDescriere1–2 | Descrierea premiilor / conținutului roții | Nu |