Шаблон:TGMC-Guntemplate: различия между версиями
imported>E25 Нет описания правки |
imported>E25 Нет описания правки |
||
(не показано 16 промежуточных версий 2 участников) | |||
Строка 1: | Строка 1: | ||
{| | {{Important | ||
{{# | |Title=Code broke | ||
! style="background-color:#808080;" | |Note=Stuff is kinda broke atm, we know; don't use it till it gets fixed|Image=Pinpointer.gif | ||
! style="background-color:#808080;" | |Image=Monkeymind.gif | ||
|Color=#FFC | |||
}} | |||
{{#if: {{{table_start|}}} |{{{!}} | |||
! style="background-color:#808080; border: 2px solid black;"{{!}}'''Weapon:''' | |||
! style="background-color:#808080; border: 2px solid black;"{{!}}'''Description:''' }} | |||
|- | |- | ||
|style="width:150px; border: 3px solid black; border-bottom: 3px solid black; padding: 6px;"|[[file:{{{image|TGMC_fix.png}}}|{{{image_size|128px}}}]] | |style="width:150px; border: 3px solid black; border-bottom: 3px solid black; padding: 6px;"|[[file:{{{image|TGMC_fix.png}}}|{{{image_size|128px}}}]] | ||
Строка 11: | Строка 19: | ||
{| border="2" | {| border="2" | ||
|+ style="text-align:left;"|'''Ammo:''' | |+ style="text-align:left;"|'''Ammo:''' | ||
|width= | |style="width=150px"|[[File:{{{mag_image|TGMC_fix.png}}}|{{{mag_image_size|64px}}}]] | ||
[[#{{{mag_anchor|UNDEFINED}}}|'''{{{mag_name}}}''']] | [[#{{{mag_anchor|UNDEFINED}}}|'''{{{mag_name}}}''']] | ||
|{{{mag_desc|Holds X number of boolets, make you go 'Ow'.}}} | |{{{mag_desc|Holds X number of boolets, make you go 'Ow'.}}} | ||
|} | |} | ||
{{# | |- | ||
|} | {{#if: {{{table_end|}}} | {{!}}} | }} | ||
< | <noinclude> | ||
== Example == | == Example == | ||
{{TGMC-Guntemplate | {{TGMC-Guntemplate | ||
|table_start = | |table_start = y | ||
|table_end = | |table_end = | ||
|image = T12AR.png | |image = T12AR.png | ||
|name = Exmaplar gun | |name = Exmaplar gun |
Текущая версия от 00:35, 13 июля 2020
Code broke
Stuff is kinda broke atm, we know; don't use it till it gets fixed |
|-
|style="width:150px; border: 3px solid black; border-bottom: 3px solid black; padding: 6px;"|
Gun name
|style="border: 3px solid black; border-bottom: 3px solid black; padding: 6px;"|
Looks like someone failed to write a description
Holds X number of boolets, make you go 'Ow'. |
|-
Example[править код]
Code broke
Stuff is kinda broke atm, we know; don't use it till it gets fixed |
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: | ||
---|---|---|---|
This better work
|