Шаблон:TGMC-Guntemplate: различия между версиями

imported>E25
Нет описания правки
imported>E25
Нет описания правки
Строка 15: Строка 15:
|-
|-
{{#if: {{{table_end|}}} | {{!}}} | }}
{{#if: {{{table_end|}}} | {{!}}} | }}
|}
<noinclude>
<noinclude>


Строка 22: Строка 21:
{{TGMC-Guntemplate
{{TGMC-Guntemplate
|table_start = y
|table_start = y
|table_end = yes
|table_end =  
|image = T12AR.png
|image = T12AR.png
|name = Exmaplar gun
|name = Exmaplar gun

Версия от 21:21, 12 июля 2020

|- |style="width:150px; border: 3px solid black; border-bottom: 3px solid black; padding: 6px;"|TGMC fix.png Gun name |style="border: 3px solid black; border-bottom: 3px solid black; padding: 6px;"| Looks like someone failed to write a description

Ammo:
TGMC fix.png

{{{mag_name}}}

Holds X number of boolets, make you go 'Ow'.

|-


Example

Meaning of Parameters

table_start adds the coloumbs for the table if the variable is set to 'yes', should only be used at the start of tables
table_end adds a |} if the variable is set to 'yes', means formatting won't have to be done manually
image is the icon for the gun
image_size is the size of the gun icon, 128px by default
name name of the weaon
anchor anchor point for linking
desc description for the weapon
mag_image icon the for magainze
mag_image_size icon size for the magainze, 64px by default
mag_name name for the magazine
mag_anchor anchor for the mag
mag_desc description for the magazine

Weapon: Description:
T12AR.png

Exmaplar gun

This better work

Ammo:
T12AR mag.png

{{{mag_name}}}

Fingers crossed