Шаблон:TGMC-Guntemplate: различия между версиями
imported>E25 Нет описания правки |
imported>E25 Нет описания правки |
||
Строка 1: | Строка 1: | ||
<noinclude> | <noinclude> | ||
{| | |||
{{#switch: {{{table_start}}} | yes | yes = {| style="border: 2px solid black; | {{#switch: {{{table_start}}} | yes | yes = {| style="border: 2px solid black; | ||
! style="background-color:#808080;"|'''Weapon:''' | ! style="background-color:#808080;"|'''Weapon:''' | ||
Строка 15: | Строка 16: | ||
|} | |} | ||
{{#switch: {{{table_end}}} | yes | yes = |} | }} | {{#switch: {{{table_end}}} | yes | yes = |} | }} | ||
|} | |||
</noinclude> | </noinclude> | ||
== Example == | == Example == |
Версия от 02:26, 12 июля 2020
Looks like someone failed to write a description
|
Example
Example
Обнаружена петля в шаблонах: Шаблон:TGMC-Guntemplate
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
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