本WIKI由陵点捌伍于2020年12月22日申请开通,编辑权限开放,建议收藏。
本站单位与协议等翻译由局桑负责,相关数据基于1.12版本
欢迎加入红色警戒3Bwiki群:图标动员兵.png851351730 一起抓虫交流
如发现相关内容有问题请通过上述QQ群询问或通过别的方式寻找一下站长
全站通知:

模板:Specs-Link/Documentation

来自红警3WIKI_BWIKI_哔哩哔哩
跳到导航 跳到搜索

Description

This template can be used to quickly insert a link to the corresponding article of a vehicle using their code. The displayed link uses a shortened name of the vehicle.

Usage

The template is structured as {{Specs-Link| "arg1" | "arg2"}}

  • "arg1" must be the vehicle's in-game code. This can be found at the top of the vehicle's wiki article while in the wikitext editor, after "code=". This code is case sensitive. E.g. [[{{#unit:f-86f-40_japan|article}}|f-86f-40_japan]]
  • "arg2" is optional. It allows the overriding of the text inserted by the template, while retaining the correct link to the vehicle's article. Overriding should only be used in cases where it explicitly disambiguates the link. Example:
    • ki_84_ko displays as [[{{#unit:ki_84_ko|article}}|{{#unit:ki_84_ko|pseudonym}}]], while ki_84_ko_china also displays as [[{{#unit:ki_84_ko_china|article}}|{{#unit:ki_84_ko_china|pseudonym}}]]. This can be confusing, so it would be acceptable to override ki_84_ko_china to display as [[{{#unit:ki_84_ko_china|article}}|␗Ki-84 ko]].
    • "arg2" also accepts 2 predefined values that set the form of the automatically inserted name.
      • "short" - Inserts the name provided by {{Specs|pseudonym}} of the given vehicle. This is the same as the default behaviour (i.e. omitting "arg2" altogether).
        • {{Specs-Link|us_m1_abrams}} : [[{{#unit:us_m1_abrams|article}}|{{#unit:us_m1_abrams|pseudonym}}]]
        • {{Specs-Link|us_m1_abrams|short}} : [[{{#unit:us_m1_abrams|article}}|{{#unit:us_m1_abrams|pseudonym}}]]
      • "full" - Inserts the name provided by {{Specs|name}} of the given vehicle, which sometimes but doesn't necessarily differ from {{Specs|pseudonym}}.
        • {{Specs-Link|us_m1_abrams|full}} : [[{{#unit:us_m1_abrams|article}}|{{#unit:us_m1_abrams|name}}]]