模板:短语表:修订间差异

来自「荏苒之境」
创建页面,内容为“<noinclude>{{模板文档}}</noinclude><includeonly><!-- -->{{#cargo_query:tables={{{表名}}} | fields=Theme,Language,Phrase | order by=Language,Theme | format=table }}<!-- -->{{#cargo_declare:_table={{{表名}}} | Theme = String | Language = String (unique) | Phrase = Wikitext }}<!-- --></includeonly><noinclude> <templatedata> { "params": { "表名": { "description": "短语表的名称。", "type": "line", "required": true } }, "description":…”
 
文字替换 -“onlyinclude”替换为“includeonly”
标签手工回退
 
(未显示同一用户的25个中间版本)
第1行: 第1行:
<noinclude>{{模板文档}}</noinclude><includeonly><!--
<includeonly><!--
-->{{#cargo_query:tables={{{表名}}}
-->{{#cargo_declare:_table={{{表名}}}
| Theme = String
| Language = String
| Phrase = Wikitext
}}
 
{{#cargo_query:tables={{{表名}}}
| fields=Theme,Language,Phrase
| fields=Theme,Language,Phrase
| order by=Language,Theme
| order by=Language,Theme
| format=table
| format=table
}}<!--
}}<!--
-->{{#cargo_declare:_table={{{表名}}}
--></includeonly><noinclude>
{{#cargo_declare:_table=PhraseThemes
| PhraseTable = String
| Theme = String
| Theme = String
| Language = String (unique)
| Language = String
| Phrase = Wikitext
| Translation = Text
}}<!--
}}
--></includeonly><noinclude>
<templatedata>
<templatedata>
{
{
第20行: 第27行:
}
}
},
},
"description": "用于创建短语表的组件。"
"description": "用于创建短语表的组件。",
"format": "inline"
}
}
</templatedata>
</templatedata>
[[Category:模板]]
[[Category:模板]]
</noinclude>
</noinclude>

2025年10月12日 (日) 16:09的最新版本

此模板定义表格“PhraseThemes”。 查看表格.

用于创建短语表的组件。

模板参数[编辑模板数据]

此模板首选参数不换行的行内格式。

参数描述类型状态
表名表名

短语表的名称。

单行文本必需