模板:Bb/doc

維基百科,自由的百科全書
跳至導覽 跳至搜尋

介紹[編輯]

這個模板可以產生國家棒球代表隊的內部連結,而且附帶國旗。

機制/原理[編輯]

這個模板產生國家名稱加上「棒球代表隊」的內部連結。

用法[編輯]

  1. {{bb|TPE}}File:Flag of Chinese Taipei for Olympic games.svg 中華台北
  2. {{bb|Chinese Taipei}}File:Flag of Chinese Taipei for Olympic games.svg 中華台北
  3. {{bb|中華台北}}File:Flag of Chinese Taipei for Olympic games.svg 中華台北
  4. {{bb|TPE|name = 其他的名稱}}File:Flag of Chinese Taipei for Olympic games.svg 其他的名稱
  5. {{bb|ITA|1943}}File:War flag of the Italian Social Republic.svg 意大利,請參考模板:Country data Italy
  6. {{bb|ITA|1861}}File:Flag of Italy (1861–1946).svg 意大利
  7. {{bb|JPN|name = 大和}}File:Flag of Japan.svg 大和

參數[編輯]

<templatedata> { "params": { "1": { "required": true, "label": "flaglink/core", "type": "string/line", "description": "國家代號或名稱" }, "2": { "required": false, "label": "variant ", "type": "string/line", "description": "變體,例如不同時期的國旗" }, "3": { "required": false, "label": "size", "type": "number", "description": "國旗尺寸,請小心使用" }, "4": { "required": false, "label": "name", "type": "string/line", "description": "顯示名" } }, "description": "國家棒球代表隊模板", "format": "inline" } </templatedata>