@model IEnumerable<(string, IEnumerable)> @{ var loc = Utilities.CurrentLocalization.LocalizationIndex; }
@foreach (var (pluginName, commandList) in Model) {

@(pluginName == "Native" ? ViewBag.Localization["WEBFRONT_HELP_COMMANDS_NATIVE_TITLE"] : pluginName)

@foreach (var command in commandList) { }
@loc["WEBFRONT_HELP_COMMAND_DESC_NAME"] @loc["WEBFRONT_HELP_COMMAND_DESC_ALIAS"] @loc["WEBFRONT_HELP_COMMAND_DESC_DESCRIPTION"] @loc["WEBFRONT_HELP_COMMAND_DESC_REQUIRES_TARGET"] @loc["WEBFRONT_HELP_COMMAND_DESC_SYNTAX"] @loc["WEBFRONT_HELP_SUPPORTED_GAMES"] @loc["WEBFRONT_HELP_COMMAND_DESC_REQUIRED_LEVEL"]
@command.Name @command.Alias @command.Description @command.RequiresTarget @ViewBag.CommandPrefix@command.Syntax.Split(ViewBag.CommandPrefix)[1] @if (command.SupportedGames is not null && command.SupportedGames.Any()) {
@foreach (var game in command.SupportedGames) {
@game.ToString()
}
} else {
@loc["WEBFRONT_HELP_ALL_GAMES"]
}
@command.Permission.ToLocalizedLevelName()
@foreach (var command in commandList) { }
@loc["WEBFRONT_HELP_COMMAND_DESC_NAME"] @command.Name
@loc["WEBFRONT_HELP_COMMAND_DESC_ALIAS"] @command.Alias
@loc["WEBFRONT_HELP_COMMAND_DESC_DESCRIPTION"] @command.Description
@loc["WEBFRONT_HELP_COMMAND_DESC_REQUIRES_TARGET"] @command.RequiresTarget
@loc["WEBFRONT_HELP_COMMAND_DESC_SYNTAX"] @ViewBag.CommandPrefix@command.Syntax.Split(ViewBag.CommandPrefix)[1]
@loc["WEBFRONT_HELP_SUPPORTED_GAMES"] @if (command.SupportedGames is not null && command.SupportedGames.Any()) {
@foreach (var game in command.SupportedGames) {
@game.ToString()
}
} else {
@loc["WEBFRONT_HELP_ALL_GAMES"]
}
@loc["WEBFRONT_HELP_COMMAND_DESC_REQUIRED_LEVEL"] @command.Permission.ToLocalizedLevelName()
}