Шаблон:Галерея обвесов
Это последняя версия этой страницы; у неё нет утверждённой версии.
Версия от 17:10, 14 июля 2019; Courier (обсуждение | вклад) (Новая страница: «<includeonly><onlyinclude> {{#if: {{{Magn1|}}}{{{Scopen1|}}}{{{HGn1|}}}{{{BSn1|}}}{{{Muzn1|}}}{{{Lightn1|}}}{{{BPn1|}}}{{{Bayonetn1|}}}{{{USn1|}}}{{{Wrapn1|}}}…»)
Документация (Просмотр · Редактировать · Очистка)
Quick Notes
- Leaving any parameter (except wpnName, wpnImg and mainBodyDesc) blank or empty will simply hide that value on the live page. Use this option if you are unsure of a value.
- Leaving a section blank or empty (i.e. Attachments, Crafting, Gallery, Trivia) will hide that entire section on the live page.
- Leave wpnName blank. It will automatically use the page name.
- Magazines, Scopes, Handguards and Buttstocks in the Attachment section of the main body support up to 6 different attachments. To add a new attachment in that category, simply copy and paste the previous three parameters and change the number at the end. (e.g. Magn1, Magl1, Magi1 => Magn2, Magl2, Magi2 => Magn3, Magl3, Magi3 => Magn4, Magl4, Magi4 ...).
- Muzzles support 3 and Underslung support 2. Use the same method as above if you need to add more attachments.
- Crafting supports up to 4 different recipes. As above, copy and paste the previous parameters and change the number at the end.
- The gallery supports up to 5 images. As above, copy and paste the previous parameters and change the number at the end.
- Trivia supports up to 8. As above, copy and paste the previous parameters and change the number at the end.
Parameters
Infobox
Name | Description | Format | Notes |
---|---|---|---|
wpnName | The name of the weapon. | Text | This should only be used for non-English pages. Leaving it blank will auto-fill the page name. |
wpnImg | The image name. | ImageName.ext | Do not use wiki markup, just plain text. Example: AlpherPlaceholder.png
|
General | |||
wpnType | The category of the weapon. | Text | As of 1.0, there is Pistol , Shotgun , Rifle , Submachine Gun , Assault Rifle and Sniper Rifle
|
wpnAmmo | The round(s) used by this weapon. | [[AmmoName]] | Link to the ammo's wiki page |
wpnRepair | If this weapon can be repaired, which tool(s) can be used | [[ToolName]] | Link to the tool's wiki page |
Characteristics | |||
wpnSize | The amount of space required to fit the weapon into the player's inventory. | Dimensions | Format: HorizontalxVertical e.g. 2x2
|
wpnWgt | Weight of the weapon in grams. | Number | The template will automatically add the grams (g) symbol. |
wpnAbso | How much water the weapon absorbs. | Number | This value is a percentage. The template will automatically add the percent (%) symbol. Almost every weapon in DayZ has an absorbency of 0%, so leaving this blank is recommended. |
intMag | If the weapon has an internal magazine, the amount of rounds that can be chambered. | Number | |
Performance | |||
wpnFM | If multiple firemodes are available, what they are. | Text | As of 1.0, there is Single , Semi-automatic and Fully-automatic
|
wpnRng | Approximate leathal range of this firearm. | Number (Meters) | WIP. Gathering values from the ammoConfig's InitSpeed |
wpnROF | The approximate number of rounds that can be fired per minute. | Number (Rounds per Minute) | |
wpnDex | How quickly the weapon can be swung left and right while raised. | Number | |
wpnRecoil | Approximate strength of the weapon's recoil (1 shot) | Text | WIP. For now these will need to be an estimate based on in-game use. The strength should be relative to other weapons in the same class as this one (e.g. the Makarov's recoil value should be relative to other pistols, the UMP to other SMGs, etc.). Use Low , Average and Strong
|
wpnNoise | How loud the weapon is when fired. | Text | WIP. Will use "audible" value from ammoConfig file and come up with a formula. For now use Quiet , Loud and Extremely Loud
|
wpnZero | If the weapon can be zeroed, distance range and increments. | Number Range(Meters) @ Increments(Meters) | Example: 100 - 900 @ 50m |
Attachments | |||
wpnMag | The magazine(s) (if any) used by this weapon. | [[MagName]] | Link to the magazine's wiki page |
wpnScope | The scope(s) (if any) used by this weapon. | [[OpticName]] | Link to the scope's wiki page |
wpnBS | The buttstock(s) (if any) used by this weapon. | [[ButtstockName]] | Link to the buttstock's wiki page |
wpnHG | The handguard(s) (if any) used by this weapon. | [[HandguardName]] | Link to the handguard's wiki page |
wpnMuz | The muzzle device(s) (if any) used by this weapon. | [[MuzzleName]] | Link to the muzzle device's wiki page |
wpnLight | The light source(s) (if any) used by this weapon. | [[LightName]] | Link to the light source's wiki page |
wpnBi | The bipod(s) (if any) used by this weapon. | [[BipodName]] | Link to the bipod's wiki page |
wpnStab | The bayonet(s) (if any) used by this weapon. | [[BayonetName]] | Link to the bayonet's wiki page |
wpnUnder | The underslung attachment(s) (if any) used by this weapon. | [[UnderslungName]] | Link to the underslung attachment's wiki page |
wpnWrap | The wrap(s) (if any) used by this weapon. | [[WrapName]] | Link to the wrap's wiki page |
Occurrence | |||
wpnLoc | Where the weapon can be found. | Text | |
wpnRare | How likely it is to find the weapon. | Text* | *Common, Uncommon, Rare (Rarity values are currently a WIP) |
wpnVariant | If there are multiple colors or types or if this weapon can be spray painted | Text | Optional. Leave blank if none. |
Description | |||
wpnIGDesc | In-game description of the weapon. | Text | Should be copied from languagecore/stringtable.csv |
General Description
Name | Description | Format | Notes |
---|---|---|---|
mainBodyDesc | Brief description of the weapon. | Text | Leaving this empty defaults to {{PAGENAME}} is a type of {{{wpnType|ranged weapon}}} in [[DayZ Standalone]] |
wpnOverview | More detailed description of the weapon, its attributes and/or other meaningful information. | Text | Optional |
Attachments
Name | Description | Format | Notes |
---|---|---|---|
Magazine | |||
Supports up to 6 attachments. Naming convention: Magn1 Magl1 Magi1, Magn2 Magl2 Magi2, Magn3 Magl3 Magi3 ... | |||
Magn[1-6] | Magazine name. Displayed in the caption box below the magazine image. | Text | |
Magl[1-6] | Link to the magazine's wiki page. Activated if user clicks on the magazine's image or name. | Text | Don't use wiki markup here. Just the page name in plain text. |
Magi[1-6] | Magazine image. | ImageName.ext | Do not use wiki markup, just plain text. Example: MagImage.png
|
Scope/Optic | |||
Supports up to 6 attachments. Naming convention: Scopen1 Scopel1 Scopei1, Scopen2 Scopel2 Scopei2, Scopen3 Scopel3 Scopei3 ... | |||
Scopen[1-6] | Scope name. Displayed in the caption box below the scope's image. | Text | |
Scopel[1-6] | Link to the scope's wiki page. Activated if user clicks on the scope's image or name. | Text | Don't use wiki markup here. Just the page name in plain text. |
Scopei[1-6] | Scope image. | ImageName.ext | Do not use wiki markup, just plain text. Example: ScopeImage.png
|
Handguard | |||
Supports up to 6 attachments. Naming convention: HGn1 HGl1 HGi1, HGn2 HGl2 HGi2, HGn3 HGl3 HGi3 ... | |||
HGn[1-6] | Handguard name. Displayed in the caption box below the handguard's image. | Text | |
HGl[1-6] | Link to the handguards's wiki page. Activated if user clicks on the handguard's image or name. | Text | Don't use wiki markup here. Just the page name in plain text. |
HGi[1-6] | Handguard image. | ImageName.ext | Do not use wiki markup, just plain text. Example: HGImage.png
|
Buttstock | |||
Supports up to 6 attachments. Naming convention: BSn1 BSl1 BSi1, BSn2 BSl2 BSi2, BSn3 BSl3 BSi3 ... | |||
BSn[1-6] | Buttstock's name. Displayed in the caption box below the buttstock's image. | Text | |
BSl[1-6] | Link to the buttstock's wiki page. Activated if user clicks on the buttstock's image or name. | Text | Don't use wiki markup here. Just the page name in plain text. |
BSi[1-6] | Buttstock image. | ImageName.ext | Do not use wiki markup, just plain text. Example: BSImage.png
|
Muzzle | |||
Supports up to 3 attachments. Naming convention: Muzn1 Muzl1 Muzi1, Muzn2 Muzl2 Muzi2, Muzn3 Muzl3 Muzi3 | |||
Muzn[1-3] | Muzzle name. Displayed in the caption box below the muzzle image. | Text | |
Muzl[1-3] | Link to the muzzle's wiki page. Activated if user clicks on the muzzle's image or name. | Text | Don't use wiki markup here. Just the page name in plain text. |
Muzi[1-3] | Muzzle image. | ImageName.ext | Do not use wiki markup, just plain text. Example: MuzImage.png
|
Illumination | |||
Supports 1 attachment. | |||
Lightn1 | Light name. Displayed in the caption box below the light image. | Text | |
Lightl1 | Link to the light's wiki page. Activated if user clicks on the light's image or name. | Text | Don't use wiki markup here. Just the page name in plain text. |
Lighti1 | Light image. | ImageName.ext | Do not use wiki markup, just plain text. Example: LightImage.png
|
Bipod | |||
Supports 1 attachment. | |||
BPn1 | Bipod name. Displayed in the caption box below the bipod image. | Text | |
BPl1 | Link to the bipod's wiki page. Activated if user clicks on the bipod's image or name. | Text | Don't use wiki markup here. Just the page name in plain text. |
BPi1 | Bipod image. | ImageName.ext | Do not use wiki markup, just plain text. Example: BPImage.png
|
Bayonet | |||
Supports 1 attachment. | |||
Bayonetn1 | Bayonet name. Displayed in the caption box below the bayonet image. | Text | |
Bayonetl1 | Link to the bayonet's wiki page. Activated if user clicks on the bayonet's image or name. | Text | Don't use wiki markup here. Just the page name in plain text. |
Bayoneti1 | Bayonet image. | ImageName.ext | Do not use wiki markup, just plain text. Example: BayonetImage.png
|
Underslung | |||
Supports up to 2 attachments. Naming convention: HGn1 HGl1 HGi1, HGn2 HGl2 HGi2 | |||
USn[1-2] | Underslung name. Displayed in the caption box below the underslung image. | Text | |
USl[1-2] | Link to the underslung's wiki page. Activated if user clicks on the underslung's image or name. | Text | Don't use wiki markup here. Just the page name in plain text. |
USi[1-2] | Underslung image. | ImageName.ext | Do not use wiki markup, just plain text. Example: USImage.png
|
Wrap | |||
Supports 1 attachments. | |||
Wrapn1 | Wrap name. Displayed in the caption box below the wrap image. | Text | |
Wrapl1 | Link to the wrap's wiki page. Activated if user clicks on the wrap's image or name. | Text | Don't use wiki markup here. Just the page name in plain text. |
Wrapi1 | Wrap image. | ImageName.ext | Do not use wiki markup, just plain text. Example: WrapImage.png
|
Crafting
Name | Description | Format | Notes |
---|---|---|---|
Crafting | |||
craftDesc | Information about crafting with this weapon. This is displayed as a body of text above the crafting boxes | Text | |
Crafting Template | |||
Supports up to 4 crafting recipes. Naming convention: Ing1n1 Ing1l1 Ing1i1 Ing1a1 Ing1s1, Ing1n2 Ing1l2 Ing1i2 Ing1a2 Ing1s2 ... | |||
Ing1n[1-4] | The name of the 1st ingredient. Displayed on mouse hover. | Text | |
Ing1i[1-4] | Image of the 1st ingredient. | ImageName.ext | Don't use wiki markup here, just plain text. Example: IngredientImage.png
|
Ing1a[1-4] | The amount of the 1st ingredient needed. Displayed in the caption box below the 1st ingredient image. | Number | Leave this parameter blank if only 1 is needed. |
Ing1s[1-4] | The size of the 1st ingredient. | Text | Use large for long items like Rifles. Otherwise, leave this parameter blank/empty.
|
Ing2n[1-4] | The name of the 2nd ingredient. Displayed on mouse hover. | Text | |
Ing2i[1-4] | Image of the 2nd ingredient. | ImageName.ext | Don't use wiki markup here, just plain text. Example: IngredientImage.png
|
Ing2a[1-4] | The amount of the 2nd ingredient needed. Displayed in the caption box below the 2nd ingredient image. | Number | Leave this parameter blank if only 1 is needed. |
Ing2s[1-4] | The size of the 2nd ingredient. | Text | Use large for long items like Rifles. Otherwise, leave this parameter blank/empty.
|
Resn[1-4] | The name of the resulting crafted item. Displayed on mouse hover. | Text | |
Resi[1-4] | Image of the resulting crafted item. | ImageName.ext | Don't use wiki markup here, just plain text. Example: ResultImage.png
|
Ress[1-4] | The size of the resulting crafted item. | Text | Use large for long items like Rifles. Otherwise, leave this parameter blank/empty.
|
Trivia
Name | Description | Format | Notes |
---|---|---|---|
Trivia | |||
Supports up to 8 pieces of trivia. Naming convention: triv1, triv2, triv3 ... | |||
triv[1-8] | Trivia text. | Text |
Empty Templates
Copy and paste this onto new or existing weapons pages. If you are unsure of a specific value, leave it blank.
All Sections Included
{{RangedWeaponPage <!--- RANGEDINFOBOX ---> <!-- General --> |wpnName = |wpnImg = |wpnType = |wpnAmmo = |wpnRepair = <!-- Characteristics --> |wpnSize = |wpnWgt = |wpnAbso = <!-- Performance --> |wpnFM = |wpnRng = |wpnROF = |wpnDex = |wpnRecoil = |wpnNoise = |wpnZero = <!-- Attachments --> |wpnMag = |wpnScope = |wpnHG = |wpnBS = |wpnMuz = |wpnLight = |wpnBi = |wpnStab = |wpnUnder = |wpnWrap = <!-- Occurrence --> |wpnLoc = |wpnRare = |wpnVariant = <!-- In-Game Description --> |wpnIGDesc = <!--- MAIN BODY ---> <!-- General Description --> |mainBodyDesc = <!-- Overview --> | wpnOverview = <!-- Attachments --> |Magn1 = |Magl1 = |Magi1 = |Scopen1 = |Scopel1 = |Scopei1 = |HGn1 = |HGl1 = |HGi1 = |BSn1 = |BSl1 = |BSi1 = |Muzn1 = |Muzl1 = |Muzi1 = |Lightn1 = |Lightl1 = |Lighti1 = |BPn1 = |BPl1 = |BPi1 = |Bayonetn1 = |Bayonetl1 = |Bayoneti1 = |USn1 = |USl1 = |USi1 = |Wrapn1 = |Wrapl1 = |Wrapi1 = <!-- Crafting --> |craftDesc = |Ing1n1 = |Ing1i1 = |Ing1a1 = <!-- Leave blank if ONE --> |Ing1s1 = <!-- use "large" for long items like rifles --> |Ing2n1 = |Ing2i1 = |Ing2a1 = <!-- Leave blank if ONE --> |Ing2s1 = <!-- use "large" for long items like rifles --> |Resn1 = |Resi1 = |Ress1 = <!-- use "large" for long items like rifles --> <!-- Trivia --> |triv1 = }}
Compact Page
{{RangedWeaponPage <!--- RANGEDINFOBOX ---> <!-- General --> |wpnName = |wpnImg = |wpnType = |wpnAmmo = |wpnRepair = <!-- Characteristics --> |wpnSize = |wpnWgt = |wpnAbso = <!-- Performance --> |wpnFM = |wpnRng = |wpnROF = |wpnDex = |wpnRecoil = |wpnNoise = |wpnZero = <!-- Attachments --> |wpnMag = |wpnScope = |wpnHG = |wpnBS = |wpnMuz = |wpnLight = |wpnBi = |wpnStab = |wpnUnder = |wpnWrap = <!-- Occurrence --> |wpnLoc = |wpnRare = |wpnVariant = <!-- In-Game Description --> |wpnIGDesc = <!--- MAIN BODY ---> <!-- General Description --> |mainBodyDesc = <!-- Overview --> | wpnOverview = }}
Pistols
{{RangedWeaponPage <!--- RANGEDINFOBOX ---> <!-- General --> |wpnName = |wpnImg = |wpnType = |wpnAmmo = |wpnRepair = [[Duct Tape]], [[Weapon Cleaning Kit]] <!-- Characteristics --> |wpnSize = |wpnWgt = |wpnAbso = 0 <!-- Performance --> |wpnFM = |wpnRng = |wpnROF = |wpnDex = |wpnRecoil = |wpnNoise = <!-- Attachments --> |wpnMag = |wpnScope = |wpnBS = |wpnMuz = |wpnLight = <!-- Occurrence --> |wpnLoc = |wpnRare = |wpnVariant = <!-- In-Game Description --> |wpnIGDesc = <!--- MAIN BODY ---> <!-- General Description --> |mainBodyDesc = <!-- Overview --> | wpnOverview = <!-- Attachments --> |Magn1 = |Magl1 = |Magi1 = |Scopen1 = |Scopel1 = |Scopei1 = |BSn1 = |BSl1 = |BSi1 = |Muzn1 = |Muzl1 = |Muzi1 = |Lightn1 = |Lightl1 = |Lighti1 = <!-- Trivia --> |triv1 = }}
All Parameters
{{RangedWeaponPage <!--- RANGEDINFOBOX ---> <!-- General --> |wpnName = |wpnImg = |wpnType = |wpnAmmo = |wpnRepair = <!-- Characteristics --> |wpnSize = |wpnWgt = |wpnAbso = <!-- Performance --> |wpnFM = |wpnRng = |wpnROF = |wpnDex = |wpnRecoil = |wpnNoise = |wpnZero = <!-- Attachments --> |wpnMag = |wpnScope = |wpnHG = |wpnBS = |wpnMuz = |wpnLight = |wpnBi = |wpnStab = |wpnUnder = |wpnWrap = <!-- Occurrence --> |wpnLoc = |wpnRare = |wpnVariant = <!-- In-Game Description --> |wpnIGDesc = <!--- MAIN BODY ---> <!-- General Description --> |mainBodyDesc = <!-- Overview --> | wpnOverview = <!-- Attachments --> |Magn1 = |Magl1 = |Magi1 = |Magn2 = |Magl2 = |Magi2 = |Magn3 = |Magl3 = |Magi3 = |Magn4 = |Magl4 = |Magi4 = |Magn5 = |Magl5 = |Magi5 = |Magn6 = |Magl6 = |Magi6 = |Scopen1 = |Scopel1 = |Scopei1 = |Scopen2 = |Scopel2 = |Scopei2 = |Scopen3 = |Scopel3 = |Scopei3 = |Scopen4 = |Scopel4 = |Scopei4 = |Scopen5 = |Scopel5 = |Scopei5 = |Scopen6 = |Scopel6 = |Scopei6 = |HGn1 = |HGl1 = |HGi1 = |HGn2 = |HGl2 = |HGi2 = |HGn3 = |HGl3 = |HGi3 = |HGn4 = |HGl4 = |HGi4 = |HGn5 = |HGl5 = |HGi5 = |HGn6 = |HGl6 = |HGi6 = |BSn1 = |BSl1 = |BSi1 = |BSn2 = |BSl2 = |BSi2 = |BSn3 = |BSl3 = |BSi3 = |BSn4 = |BSl4 = |BSi4 = |BSn5 = |BSl5 = |BSi5 = |BSn6 = |BSl6 = |BSi6 = |Muzn1 = |Muzl1 = |Muzi1 = |Muzn2 = |Muzl2 = |Muzi2 = |Muzn3 = |Muzl3 = |Muzi3 = |Lightn1 = |Lightl1 = |Lighti1 = |BPn1 = |BPl1 = |BPi1 = |Bayonetn1 = |Bayonetl1 = |Bayoneti1 = |USn1 = |USl1 = |USi1 = |USn2 = |USl2 = |USi2 = |Wrapn1 = |Wrapl1 = |Wrapi1 = <!-- Crafting --> |craftDesc = |Ing1n1 = |Ing1i1 = |Ing1a1 = <!-- Leave blank if ONE --> |Ing1s1 = <!-- use "large" for long items like rifles --> |Ing2n1 = |Ing2i1 = |Ing2a1 = <!-- Leave blank if ONE --> |Ing2s1 = <!-- use "large" for long items like rifles --> |Resn1 = |Resi1 = |Ress1 = <!-- use "large" for long items like rifles --> |Ing1n2 = |Ing1i2 = |Ing1a2 = <!-- Leave blank if ONE --> |Ing1s2 = <!-- use "large" for long items like rifles --> |Ing2n2 = |Ing2i2 = |Ing2a2 = <!-- Leave blank if ONE --> |Ing2s2 = <!-- use "large" for long items like rifles --> |Resn2 = |Resi2 = |Ress2 = <!-- use "large" for long items like rifles --> |Ing1n3 = |Ing1i3 = |Ing1a3 = <!-- Leave blank if ONE --> |Ing1s3 = <!-- use "large" for long items like rifles --> |Ing2n3 = |Ing2i3 = |Ing2a3 = <!-- Leave blank if ONE --> |Ing2s3 = <!-- use "large" for long items like rifles --> |Resn3 = |Resi3 = |Ress3 = <!-- use "large" for long items like rifles --> |Ing1n4 = |Ing1i4 = |Ing1a4 = <!-- Leave blank if ONE --> |Ing1s4 = <!-- use "large" for long items like rifles --> |Ing2n4 = |Ing2i4 = |Ing2a4 = <!-- Leave blank if ONE --> |Ing2s4 = <!-- use "large" for long items like rifles --> |Resn4 = |Resi4 = |Ress4 = <!-- use "large" for long items like rifles --> <!-- Trivia --> |triv1 = |triv2 = |triv3 = |triv4 = |triv5 = |triv6 = |triv7 = |triv8 = }}