Difference between revisions of "Template:Skin-gallery/Documentation"

From War Thunder Wiki
Jump to: navigation, search
(Created page with "{{docpage}} This template is intended for inserting into the text of a gallery of camouflage with links to download or purchase them. There is no limit to the number of camos...")
 
(For WT Market)
 
(2 intermediate revisions by the same user not shown)
Line 34: Line 34:
 
# Open view his page;
 
# Open view his page;
 
# Its ID will be displayed in the browser's address bar:
 
# Its ID will be displayed in the browser's address bar:
[[Файл:Skin gallery - Live.png|600px]]
+
[[File:Skin gallery - Live.png|600px]]
  
 
=== For WT Market ===
 
=== For WT Market ===
# Log in to the WT Market and find camouflage;
+
# Log in to the WT Market and open the desired camouflage;
# Open the browser console:
+
# Click on the "Share" button;:
#* Combination Ctrl + Shift + J (in Google Chrome);
+
# Paste the copied link into any text field (for example, in the browser address bar);
#* Right-click on an empty space → View item code → Console;
+
# Select the text of the parameter <code>n</code>. This will be the camouflage ID;
#* Or in any other way that your browser provides. For information on how to open the console in your browser, check the Internet.
+
[[File:Skin gallery - Market.png|600px]]
# Open view his page;
 
# Its ID will be displayed in the console:
 
[[Файл:Skin gallery - Market.png|600px]]
 

Latest revision as of 07:52, 9 September 2021

This template is intended for inserting into the text of a gallery of camouflage with links to download or purchase them. There is no limit to the number of camos displayed, but we recommend using no more than 3.

How to use

{{Skin-gallery
 |source type|item id|image|description
}}

Parameters

  • source type:
  • item id — ID of the item on the corresponding site. The ways to get an ID are described below;
  • image — image name on Wiki (without namespace);
  • description — description of camouflage (optional).

Example of use

Code:

{{Skin-gallery
 |market|ugcitem_1000237|F9F-8_Lynx.png|Camo "Lynx" on WT Market
 |live|718041|F9F-8_Lynx.png|Camo "Lynx" on WT Live
}}

Result:

Method for getting the item ID

For WT Live

  1. Find camouflage on WT Live;
  2. Open view his page;
  3. Its ID will be displayed in the browser's address bar:

Skin gallery - Live.png

For WT Market

  1. Log in to the WT Market and open the desired camouflage;
  2. Click on the "Share" button;:
  3. Paste the copied link into any text field (for example, in the browser address bar);
  4. Select the text of the parameter n. This will be the camouflage ID;

Skin gallery - Market.png