Шаблон:Program: различия между версиями
Перейти к навигации
Перейти к поиску
imported>Senefi (Changed other to default) |
imported>Senefi Нет описания правки |
||
Строка 30: | Строка 30: | ||
|/datum/computer_file/program/category | |/datum/computer_file/program/category | ||
Only provide if program has a category. | Only provide if program has a category. | ||
|}</noinclude> | |}<templatedata> | ||
{ | |||
"params": { | |||
"Category": { | |||
"description": "The category the program belongs to.", | |||
"example": "Supply" | |||
}, | |||
"Name": { | |||
"description": "Name of the program.", | |||
"example": "Emojipedia", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"Name", | |||
"Category" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata></noinclude> |
Версия от 22:43, 6 июня 2023
This template allows you to display modular computer programs with a color coded background
Usage
{{Program|Name=NT IRN|Category=Supply}}
Gives the output: NT IRN
Variables
Name | Parameter | DM Variable |
---|---|---|
Name | text string | /datum/computer_file_program/filedesc
This variable is unique to each program and is it's display name. |
Category | one of the following text strings:
Do not provide a category for Example |
/datum/computer_file/program/category
Only provide if program has a category. |
Нет описания.
Параметр | Описание | Тип | Статус | |
---|---|---|---|---|
Name | Name | Name of the program.
| Строковый (без форматирования) | обязательный |
Category | Category | The category the program belongs to.
| Неизвестно | необязательный |