From cba1f04ed4544d902b4e63070ad7f5c0dc356410 Mon Sep 17 00:00:00 2001 From: "Hongyang Du (hond)" Date: Thu, 19 Dec 2019 14:02:36 +0800 Subject: [PATCH] Update Functions-injected-from-LG.md --- .../docs/Functions-injected-from-LG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/experimental/language-generation/docs/Functions-injected-from-LG.md b/experimental/language-generation/docs/Functions-injected-from-LG.md index 96fc0d7fb5..19a79df814 100644 --- a/experimental/language-generation/docs/Functions-injected-from-LG.md +++ b/experimental/language-generation/docs/Functions-injected-from-LG.md @@ -102,13 +102,13 @@ And it returns a herocard: Return the evaluated result of given template name and scope. ``` -template(, ) +template(, '', '', ...) ``` | Parameter | Required | Type | Description | | --------- | -------- | ---- | ----------- | | <*templateName*> | Yes | String | A string represents the template name | -| <*scope*> | Yes | Object | The scope to pass parameters to the template | +| <*param1*>,<*param2*>, ... | Yes | Object | The parameters passed to the template | ||||| | Return value | Type | Description | @@ -132,7 +132,7 @@ Suppose we have template: ``` ``` -template("welcome", { userName = "DL" }) +template("welcome", "DL") ``` And it returns one of these results: @@ -239,4 +239,4 @@ And it returns the result: ``` false -``` \ No newline at end of file +```