Willkommen bei der Wargaming.net-Wiki!
Varianten

Vorlage:WoWs Schiff-test: Unterschied zwischen den Versionen

Wechseln zu: Navigation, Suche
Version vom 10. November 2018, 15:22 Uhr
Testvorlage angepasst
Version vom 27. April 2021, 19:04 Uhr
Zeile 1:Zeile 1:
?<includeonly>{{#vardefine:code|{{WoWs_Data|{{PAGENAME}}}}}}<!--+<includeonly>{{#vardefine:code|{{#if:{{{Ship|}}}|{{{Ship|}}}|{{WoWs_Data|{{PAGENAME}}}}}}}}<!--
 -->{{#vardefine:ship_name|{{#shipstr:{{#shipchars:{{#var:code}}|mark}}}}}}<!-- -->{{#vardefine:ship_name|{{#shipstr:{{#shipchars:{{#var:code}}|mark}}}}}}<!--
 -->{{#vardefine:nation|{{#shipattr:nation}}}}<!-- -->{{#vardefine:nation|{{#shipattr:nation}}}}<!--
Zeile 10:Zeile 10:
 -->{{#vardefine:descr|{{#shipstr:{{#shipchars:{{#var:code}}|description}}}}}}<!-- -->{{#vardefine:descr|{{#shipstr:{{#shipchars:{{#var:code}}|description}}}}}}<!--
  HEADER  HEADER
?-->{{#ifeq:{{WoWs_GD|Категория}}|demoWithoutStats|{{Block|!!|content=Ship is still being tested and all vital statistics are subject to change.}}}}{{#ifeq:{{WoWs_GD|Категория}}|disabled|{{Block|!!|content=Ship is still being tested and all vital statistics are subject to change.}}}}<!--+-->{{#ifeq:{{WoWs_GD|Категория}}|demoWithoutStats|{{Block|!!|content=Ship is still being tested and all vital statistics are subject to change.}}}}{{#ifeq:{{WoWs_GD|Категория}}|disabled|{{Block|!!|content=Ship is still being tested and all vital statistics are subject to change.}}}}Prem: {{#var:prem}}, {{#vardefine:tags|{{#shipchars:{{#var:1_code}}|tags}}}}{{#if:{{#pos:{{#var:tags}}|uiPremium}}|1|{{#if:{{#pos:{{#var:tags}}|uiSpecial}}|2|0}}}}<!--
  KARTE  KARTE
 -->__NOTOC____NOTITLE____NOEDITSECTION__{{WoWs_SC|stock}}{{WoWs_SC|top}}<!-- -->__NOTOC____NOTITLE____NOEDITSECTION__{{WoWs_SC|stock}}{{WoWs_SC|top}}<!--
  FÜHRUNG  FÜHRUNG
?--><div class="b-description gw-frame-1"><div class="b-description-img b-description-img__indent b-description-img__single"><div style="width:160px; height:102px; opacity:.5; border-radius:2px; position:absolute; left:0; top:0; z-index:1; -webkit-transition:all 0.2s ease-out 0.1s; transition:all 0.2s ease-out 0.1s;">[[File:Wows_anno_flag_{{#var:nation}}.png|160px]]</div><div class="l-description-img_class"><span class="b-description-img_type b-description-img_type__{{lc:{{#var:s_class}}}}{{#if:{{#var:prem}}>0|-premium}}"></span><span class="b-description-img_class">{{Level|{{#var:level}}}}</span></div><div class="b-description-img_vehicle">[[File:Ship_{{#var:code}}.png|160px|link=|left]]</div><div class="l-description-img_price"><span class="b-description-img_price{{#ifexpr:{{#var:prem}}>0|<nowiki> </nowiki>b-description-img_price__gold}}">{{#ifexpr:{{#var:prem}}=2|<span title="{{{Promo}}}">promo</span>|{{WoWs_GD|ЦенаПокупки}}}}</span></div>{{#if: {{{rotator|}}} | <a href="#" class="b-description-img_360"></a> }}</div><p>[[Ship:{{#var:ship_name}}|{{#var:ship_name}}]] — {{WoWs_Nationen|{{#var:nation}}|{{lc:{{#var:s_class}}}}}} {{#ifexpr:{{#var:prem}}=2|promo&nbsp;}}{{#ifexpr:{{#var:prem}}>0|Premium&nbsp;}}Stufe&nbsp;{{Level|{{#var:level}}}} {{WoWs_Class|{{#var:s_class}}|ss}}.</p><p>{{#if:{{{Anno|}}}|{{{Anno}}}|{{#var:descr}}}}<br><br>{{#if:{{{|Model3D}}}|{{{Model3D}}}}}</p>{{#ifexpr:{{#var:prem}}=2|<p>{{{Promo|}}}</p>}}</div><!--+--><div class="b-description gw-frame-1"><div class="b-description-img b-description-img__indent b-description-img__single"><div style="width:160px; height:102px; opacity:.5; border-radius:2px; position:absolute; left:0; top:0; z-index:1; -webkit-transition:all 0.2s ease-out 0.1s; transition:all 0.2s ease-out 0.1s;">[[File:Wows_anno_flag_{{#var:nation}}.png|160px]]</div><div class="l-description-img_class"><span class="b-description-img_type b-description-img_type__{{lc:{{#var:s_class}}}}{{#if:{{#var:prem}}>0|-premium}}"></span><span class="b-description-img_class">{{Level|{{#var:level}}}}</span></div><div class="b-description-img_vehicle">[[File:Ship_{{#var:code}}.png|160px|link=|left]]</div><div class="l-description-img_price"><span class="b-description-img_price{{#ifexpr:{{#var:prem}}>0|<nowiki> </nowiki>b-description-img_price__gold}}">{{#ifexpr:{{#var:prem}}=2|<span title="{{{Promo}}}">promo</span>|{{WoWs_GD|ЦенаПокупки}}}}</span></div>{{#if: {{{rotator|}}} | <a href="#" class="b-description-img_360"></a> }}</div><p>[[Ship:{{#var:ship_name}}|{{#var:ship_name}}]] — {{WoWs_Nationen|{{#var:nation}}|{{lc:{{#var:s_class}}}}}} {{#ifexpr:{{#var:prem}}=2|promo&nbsp;}}{{#ifexpr:{{#var:prem}}>0|Premium&nbsp;}}Stufe&nbsp;{{Level|{{#var:level}}}} {{WoWs_Class|{{#var:s_class}}|ss}}.</p><p>{{#if:{{{Anno|}}}|{{{Anno}}}|{{#var:descr}}}}<br><br><br>{{#if:{{{Model3D|}}}|{{{Model3D}}}|}}</p>{{#ifexpr:{{#var:prem}}=2|<p>{{{Promo|}}}</p>}}</div><!--
  MODULE UND ERWEITERUNGEN  MODULE UND ERWEITERUNGEN
 --><h2>Module</h2> --><h2>Module</h2>
 {{WoWs_SM|{{#var:code}}}} {{WoWs_SM|{{#var:code}}}}
 <h2>Verfügbare Erweiterungen</h2> <h2>Verfügbare Erweiterungen</h2>
?{{Test3|{{#var:code}}}}+{{WoWs Equipment|{{#var:code}}}}
 {{#if:{{{Performance|}}}{{{Pros|}}}{{{Cons|}}}{{{Research|}}}|<h2>Spielermeinung</h2> {{#if:{{{Performance|}}}{{{Pros|}}}{{{Cons|}}}{{{Research|}}}|<h2>Spielermeinung</h2>
 {{#if:{{{Performance|}}}|<h3>Leistung</h3><div class="performance"> {{#if:{{{Performance|}}}|<h3>Leistung</h3><div class="performance">
Zeile 26:Zeile 26:
 {{#if:{{{Cons|}}}|<br/>{{#vardefine:dadv|{{{Cons|}}}}}<div class="disadvantages"><h3>Nachteile:</h3><ul class="b-standart-list b-standart-list__limitations">{{#vardefine:dadv_i|1}}{{#while:|{{#if:{{#explode:{{#var:dadv}}|*|{{#var:dadv_i}}}}|true}}|<li>{{#explode:{{#var:dadv}}|*|{{#var:dadv_i}}}}{{#vardefine:dadv_i|{{#expr:{{#var:dadv_i}}+1}}}}</li>}}</ul></div>}} {{#if:{{{Cons|}}}|<br/>{{#vardefine:dadv|{{{Cons|}}}}}<div class="disadvantages"><h3>Nachteile:</h3><ul class="b-standart-list b-standart-list__limitations">{{#vardefine:dadv_i|1}}{{#while:|{{#if:{{#explode:{{#var:dadv}}|*|{{#var:dadv_i}}}}|true}}|<li>{{#explode:{{#var:dadv}}|*|{{#var:dadv_i}}}}{{#vardefine:dadv_i|{{#expr:{{#var:dadv_i}}+1}}}}</li>}}</ul></div>}}
 {{#if:{{{Research|}}}|<h3>Forschung</h3><div class="research"> {{#if:{{{Research|}}}|<h3>Forschung</h3><div class="research">
?{{{Research|}}}</div>}}}}<!--+{{{Research|}}}</div>}}|[[Category:Fehlende_Inhalte]]}}<!--
  WAHL DER KONFIGURATION  WAHL DER KONFIGURATION
 -->{{#if:{{{OptimalConfiguration|}}}{{{Upgrades|}}}{{{Consumables|}}}{{{CommanderSkills|}}}{{{Camouflage|}}}{{{Signals|}}}|<h2>Optimale Konfiguration</h2> -->{{#if:{{{OptimalConfiguration|}}}{{{Upgrades|}}}{{{Consumables|}}}{{{CommanderSkills|}}}{{{Camouflage|}}}{{{Signals|}}}|<h2>Optimale Konfiguration</h2>
Zeile 43:Zeile 43:
 -->{{#if:{{{Gallery|}}}|<h2>Gallerie</h2> -->{{#if:{{{Gallery|}}}|<h2>Gallerie</h2>
 {{{Gallery|}}}}}<!-- {{{Gallery|}}}}}<!--
 + ÄNDERUNGEN
 +-->{{#if:{{{Changes|}}}|<div class="b-popup"><div class="b-popup_head js-tech-nav_head"><div><h2>Änderungen am Schiff</h2></div><span class="b-tech-nav_arrow"></span></div><div class="b-popup_content" style="display: none;"><div>
 +{{{Changes|}}}
 +</div></div></div>}}<!--
  GESCHICHTE  GESCHICHTE
 -->{{#if:{{{History|}}}{{{Data|}}}|<div class="b-popup"><div class="b-popup_head js-tech-nav_head"><div><h2>Geschichte</h2></div><span class="b-tech-nav_arrow"></span></div><div class="b-popup_content" style="display: none;"><div> -->{{#if:{{{History|}}}{{{Data|}}}|<div class="b-popup"><div class="b-popup_head js-tech-nav_head"><div><h2>Geschichte</h2></div><span class="b-tech-nav_arrow"></span></div><div class="b-popup_content" style="display: none;"><div>
?<div class="thumb tright"><div class="b-description gw-frame-1">+<div class="thumb tright" style="max-width:50%"><div class="b-description gw-frame-1">
 {{{Data|}}}</div></div> {{{Data|}}}</div></div>
?{{{History|}}}</div></div></div>}}+{{{History|}}}</div></div></div>}}{{#if:{{{History|}}}||[[Category:Geschichte fehlt]]}}
 {{#if:{{{HistoricalGallery|}}}|<div class="b-popup"><div class="b-popup_head js-tech-nav_head"><div><h2>Historische Bilder</h2></div><span class="b-tech-nav_arrow"></span></div><div class="b-popup_content" style="display: none;"><div> {{#if:{{{HistoricalGallery|}}}|<div class="b-popup"><div class="b-popup_head js-tech-nav_head"><div><h2>Historische Bilder</h2></div><span class="b-tech-nav_arrow"></span></div><div class="b-popup_content" style="display: none;"><div>
?{{{HistoricalGallery|}}}</div></div></div>}}<!--+{{{HistoricalGallery|}}}</div></div></div>}}
?=== Video ===+{{#if:{{{Video|}}}|{{Popup
?{{{Video|}}}+|header= <h2>Video</h2>
?-->{{#if:{{{Ref|}}}|<h2>Referenzen</h2>+|hidden=1
 +|content={{{Video|}}}}}}}
 +{{#if:{{{Ref|}}}|<h2>Referenzen</h2>
 {{{Ref|}}}}}<!-- {{{Ref|}}}}}<!--
  REFERENZEN  REFERENZEN

Version vom 27. April 2021, 19:04 Uhr

Dokumentation‎

Das ist eine Testvorlage, die nicht für reguläre Artikel benutzt werden darf!


<!-- DO NOT EDIT OR DELETE LINES WITH COMMENTS (it's look like as this or next line) 
-->{{WoWs_Schiff|Promo=<!-- Für Geschenk- und Promoschiffe kann hier eingetragen werden, wie man sie erhalten kann (optional)-->

|Anno=<!-- Eine kurze Beschreibung des Schiffes, die die Standardbeschreibung ersetzt -->

|Performance=<!-- Text über die Leistung in Gefechten -->

|Pros=<!-- Eine Liste der Vorteile. Benutze für die Liste * wie bei regulären Listen -->

|Cons=<!-- Eine Liste der Nachteile. Benutze für die Liste * wie bei regulären Listen -->

|Research=<!-- Text über die Prioritäten bei der Erforschung -->

|OptimalConfiguration=<!-- Text über die optimale, allgemeine Konfiguration (optional)-->

|Upgrades=<!-- Text über die besten Verbesserungen -->

|Consumables=<!-- Text über die Auswahl der Verbrauchsmaterialien -->

|CommanderSkills=<!-- Text über die beste Auswahl der Kapitänsfertigkeiten -->

|Camouflage=<!-- Text über nützliche Tarnungen -->

|Signals=<!-- Text über nützliche Signale -->

|Gallery=<!-- Eine Liste von Bildern. Angabe in folgender Form (ohne die Anführungszeichen): „File: Dateiname | Beschreibung“ --><gallery>

</gallery>
|Data=<!-- Hier werden die technischen Daten und Konstruktionsdaten des Schiffes eingefügt

|History=<!-- Text über die Geschichte des Schiffes -->

|HistoricalGallery=<!-- Eine Liste historischer Bilder. Angabe in folgender Form (ohne die Anführungszeichen): „File: Dateiname | Beschreibung“ --><gallery>

</gallery>|Video=<!-- Hier können Videoclips mit Verwendung der Vorlage VideoYT eingefügt werden. Zur Formatierung können HTML-Tags benutzt werden -->

|Ref= <!-- Verweise (z.B. Quellen) können hier angegeben werden -->

}}<!-- DO NOT DELETE THIS LINE. DO NOT INSERT ANYTHING BELOW THIS LINE -->
Kategorie: