模板:In-wiki name

来自决策链云智库
Zeroclanzhang讨论 | 贡献2023年7月14日 (五) 16:53的版本 (创建页面,内容为“<includeonly>{{#if:{{{1|}}} |{{#switch:{{lc:{{{1}}}}} <!-- Vehicle --> |vehicle = {{#if:{{{2|}}} |{{#switch:{{lc:{{{2}}}}} |avenger stalker = AEGS_Avenger_Stalker |avenger titan = AEGS_Avenger_Titan |avenger titan renegade = AEGS_Avenger_Renegade |avenger warlock = AEGS_Avenger_Warlock |eclipse = AEGS_Eclipse |gladius = AEGS_Gladius |gladius valiant = AEGS_Gladius_Valiant |hammerhead = AEGS_Hammerhead |idris-p = AEGS_…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{In-wiki name}} returns the in-wiki ID of the page.

It is used by {{Infobox buttons}} to generate URLs to community sites.

Syntax

{{In-wiki name|item type|page name}}

Examples

  • {{In-wiki name|vehicle|MPUV Cargo}} returns ARGO_MPUV
  • {{In-wiki name|commodity|Ranta dung}} returns rantadung