请输入您要查询的百科知识:

 

词条 Module:IncrementParams/doc
释义

  1. Usage

  2. Output

  3. See also

{{module rating|alpha}}

This module increments numbered template parameters. This is useful for inserting new rows into infobox templates, and for other similar tasks where renaming many parameters by hand would be tedious.

Usage

Due to the way templates work, you cannot pass template input to this module in the normal way. Instead, you have to edit the module page directly to get the desired result. Please follow the seven steps listed in the module code.

Once you have finished editing the module, you can use it on any page, with the code:

{{subst:#invoke:IncrementParams|main}}

You can also view it as pre-formatted text using the pre parameter. Warning - this doesn't work with subst.

{{#invoke:IncrementParams|main|pre=yes}}

Or you can simply copy and paste the code from the following section.

Output

The module currently outputs the following text:

{{#invoke:IncrementParams|main|pre=yes}}

See also

  • {{tl|Infobox}}
  • {{tl|Sidebar}}
随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/22 13:26:52