Bienvenue sur le Wiki de Wargaming.net !
Variantes

Modèle:TankData : Différence entre versions

Aller à : navigation, rechercher
Version du 9 mai 2013 à 21:00Version du 9 mai 2013 à 23:31
Ligne 20 :Ligne 20 :
 * Historical Gallery}}}}{{#if:{{{Ref_references|}}}||{{#if:{{{Ref_sources|}}}||{{#if:{{{Ref_links|}}}||[[Category:Append: Sources and External Links]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}} * Historical Gallery}}}}{{#if:{{{Ref_references|}}}||{{#if:{{{Ref_sources|}}}||{{#if:{{{Ref_links|}}}||[[Category:Append: Sources and External Links]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}}
 * Sources and External Links}}}}}} * Sources and External Links}}}}}}
?}}{{#ifexist:Image:RT-USSR-{{PAGENAME}}.jpg|{{#vardefine:hasRT|1}}}}{{#ifexist:Image:RT-USA-{{#replace:{{PAGENAME}}|/|_}}.jpg|{{#vardefine:hasRT|1}}}}{{#ifexist:Image:RT-Germany-{{#replace:{{PAGENAME}}|/|_}}.jpg|{{#vardefine:hasRT|1}}}}{{#ifexist:Image:RT-China-{{PAGENAME}}.jpg|{{#vardefine:hasRT|1}}}}{{#ifexist:Image:RT-France-{{PAGENAME}}.jpg|{{#vardefine:hasRT|1}}}}{{#ifexist:Image:RT-UK-{{PAGENAME}}.jpg|{{#vardefine:hasRT|1}}}}{{#ifeq:{{#var:hasRT}}|1||[[Category:Append: Research Tree]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}}+}}{{#ifexist:Image:RT-USSR-{{#var:tankname}}.jpg|{{#vardefine:hasRT|1}}}}{{#ifexist:Image:RT-USA-{{#var:tankname}}.jpg|{{#vardefine:hasRT|1}}}}{{#ifexist:Image:RT-Germany-{{#var:tankname}}.jpg|{{#vardefine:hasRT|1}}}}{{#ifexist:Image:RT-China-{{#var:tankname}}.jpg|{{#vardefine:hasRT|1}}}}{{#ifexist:Image:RT-France-{{#var:tankname}}.jpg|{{#vardefine:hasRT|1}}}}{{#ifexist:Image:RT-UK-{{#var:tankname}}.jpg|{{#vardefine:hasRT|1}}}}{{#ifeq:{{#var:hasRT}}|1||[[Category:Append: Research Tree]]{{#vardefine:append|1}}{{#vardefine:appendContent|{{#var:appendContent}}
 * Research Tree}} * Research Tree}}
 }}{{#ifeq:{{#var:append}}|1|{{Append|{{AppendContentNavbar|{{#var:appendContent}}}}}}}}{{#ifexist:{{PAGENAME}}/Sidebar|{{:{{PAGENAME}}/Sidebar}}|<p class="error">Sidebar for this tank not found</p>}}{{#ifexist:{{PAGENAME}}/Description|{{:{{PAGENAME}}/Description|{{{1|}}}}}|<p class="error">Description for this tank not found</p>}}{{#ifexist:{{PAGENAME}}/Modules|{{:{{PAGENAME}}/Modules}}|<p class="error">Modules panel for this tank not found</p>}}{{#ifexist:{{PAGENAME}}/Equipment|{{:{{PAGENAME}}/Equipment}}|<p class="error">Equipment panel for this tank not found</p>}}{{#ifexist:{{PAGENAME}}/Consumables|{{:{{PAGENAME}}/Consumables}}|<p class="error">Consumables panel for this tank not found</p>}}{{#if:{{#var:GalleryContent}}|{{Gallery|title=Gallery|style=collapsed|content={{#var:GalleryContent}}}}}} }}{{#ifeq:{{#var:append}}|1|{{Append|{{AppendContentNavbar|{{#var:appendContent}}}}}}}}{{#ifexist:{{PAGENAME}}/Sidebar|{{:{{PAGENAME}}/Sidebar}}|<p class="error">Sidebar for this tank not found</p>}}{{#ifexist:{{PAGENAME}}/Description|{{:{{PAGENAME}}/Description|{{{1|}}}}}|<p class="error">Description for this tank not found</p>}}{{#ifexist:{{PAGENAME}}/Modules|{{:{{PAGENAME}}/Modules}}|<p class="error">Modules panel for this tank not found</p>}}{{#ifexist:{{PAGENAME}}/Equipment|{{:{{PAGENAME}}/Equipment}}|<p class="error">Equipment panel for this tank not found</p>}}{{#ifexist:{{PAGENAME}}/Consumables|{{:{{PAGENAME}}/Consumables}}|<p class="error">Consumables panel for this tank not found</p>}}{{#if:{{#var:GalleryContent}}|{{Gallery|title=Gallery|style=collapsed|content={{#var:GalleryContent}}}}}}

Version du 9 mai 2013 à 23:31

Notes

Template to build tank pages.

Always places the following generated sub-pages, if they exist (otherwise shows an error notice):

  • {{PAGENAME}}/Description
  • {{PAGENAME}}/Sidebar
  • {{PAGENAME}}/Modules
  • {{PAGENAME}}/Equipment
  • {{PAGENAME}}/Consumables
  • {{PAGENAME}}/Footer

Place the following panels by copying and placing the full preview text shown below. Please edit the linked templates instead of this one if you need to adjust the layout of one of the panels:

Usage

  • {{TankData This places the core panels supported by the auto gen data
  • | This leaves a field to place optional custom text that is included in the description. Will not place {{append}} if left blank.
  • |InTheGame_pros= Pros for the Player Opinion panel. Please use * and a new line for each "pro". Usage of "above average" will be removed. Will place {{append}} if left blank.
  • |InTheGame_cons= Cons for the Player Opinion panel. Please use * and a new line for each "con". Usage of "below average" will be removed. Will place {{append}} if left blank.
  • |InTheGame_performance= General area for in game tank performance info for the Player Opinion panel. Please use regular paragraph structure for this area. You can use images and tables as needed. Will place {{append}} if left blank.
  • |InTheGame_research= Optional general area for early research info for the Player Opinion panel. For those tanks where it is not obvious, use this area to detail a suggested research path. A good use for this area is to mention if you need to research tracks before a gun upgrade, etc. Will not place {{append}} if left blank.
  • |InTheGame_equipment= Suggested equipment list for the Player Opinion panel using the Template:EquipmentPanel. Please use the format found there. Will place {{append}} if left blank.
  • |Gallery= Additional image content for the gallery panel. The four screenshots ({{PAGENAME}}_front_left.jpg etc.) are added automatically. Place each image on a new line. Will place {{append}} if left blank and none of the four screenshots if found.
  • |History= General area for tank history info. Please use regular paragraph structure for this area. You can use images and tables as needed. Will place {{append}} if left blank.
  • |HistoricalGallery= Image content for the historical gallery panel. Place each image on a new line. Will place {{append}} if left blank.
  • |Ref_references= see below
  • |Ref_sources= see below
  • |Ref_links= see below
Panels for references, sources and external links. We don't have a reference list template ( {{reflist}} ) so place any references manually with [number] in the text. Then in the References section please use # (the actual # symbol, not a number) and a new line for each reference cited. If not referenced in the text with a [number] leave References blank and use Sources and/or External Links to cite where you found the info used in the article. Place a book's or other offline resource's bibliography info in Sources. For online resources use External Links. Please use * and a new line for each entry. If left blank after the = will place {{append}}
  • }}

For ease of reading while in the edit panel please place anything you add to the sections on the line below the = (except for the first | and the sources).

Template

{{TankData
|

|Gallery=


|InTheGame_pros=


|InTheGame_cons=


|InTheGame_performance=


|InTheGame_research=


|InTheGame_equipment=


|History=


|HistoricalGallery=


|Ref_references=


|Ref_sources=


|Ref_links=

}}
Catégorie :