コンテンツにスキップ

利用者:Omotecho/sandbox/WMR test infobox

Procedures tried to cope with CX2 fail to output enwp to jawp, template:infobox_Rail_company[編集]

In short: I find it much easier to adopt jawp template and redo the whole thing. I can transfer data from enwp template into local template, and that’s seems to be the fastest to go around the CX2 output issue.

Procedures tried to cope with CX2 fail to output some template

Error message shows they include broken images, maybe anyone as included. Map image does not have any problem to display:

  1. |image_filename = 350232_at_Watford_Junction.jpg |caption = 350232 in the transitional LNR livery at {{stnlnk|Watford Junction}}
  2. |logo_filename = WestMidlandsTrains.svg
  3. |map = [[File:West Midlands Trains route map 2018 01.png|250px|Route map]]

Problem: infobox template mismatch Between enwp vs jawp

case_a)

exact copy of enwp _template:infobox Rail company_ for en:West Midlands Trains gives us template error. Template:Infobox Rail company

case_b-1)

Change infobox name to: “Infobox rail”, all other contents untouched:

{{{railroad_name}}}
ロゴ
公式サイト wmtrains.co.uk
テンプレートを表示
  • case_b_2)

Template name “rail”, and nowiki all micro templates in a plainlist: |fleet = West Midlands Railway {{plainlist| London Northwestern Railway.

{{{railroad_name}}}
ロゴ
公式サイト wmtrains.co.uk
テンプレートを表示
case_c-1)

Change template name to “Infobox rail line”:

West Midlands Trains
概要
駅数 178
ウェブサイト wmtrains.co.uk
路線図
Route map
テンプレートを表示
case_c-2)
  • Fixed envelope template name to “Infobox rail line”:
  • micro template “brc”.
  • {{brc}} is a micro template that jawp does not have. I nowiki-ed them, but not succeeded to show those contents in plainlist as in: plainlist|*2 {{brc|139}} ''Parry People Mover'' sets....
  • en:Template:BRC suggests, “...This template links to the British Rail Class #, e.g. {{BRC|158}} produces a link to [[:en:British Rail Class 158]], and display Class 158...”
  • {{stnlnk}} is localized from stnlnk to [[template:sta]];
  • Pulled out ★plainlist to footer.
West Midlands Trains
概要
所在地

本線 West Midlands
en:Greater London

支線 North West
East Midlands
* West Midlands Railway
* London Northwestern Railway
駅数 ★178
ウェブサイト wmtrains.co.uk
路線図
Route map
テンプレートを表示
West Midlands Railway
  • 2 ★139 Parry People Mover sets
  • 8 ★153 Super Sprinter sets
  • 23 ★170 Turbostar sets
  • 35 ★172 Turbostar sets
  • 26 ★323 electric multiple units

London Northwestern Railway

  • 3 ★230 D-Train sets
  • 15 ★319 electric multiple units
  • 87 ★350 Desiro sets

See also[編集]

Infoboxes on enwp for Rail transport has smaller number of entries compared to that of jawp: In enwp it has 3 subcats, and totals to 18 templates/subcats, as jawp has 24 such templates/subcats.

  • Compare “Rail transport infoboxes” (wikidata)
対照表、鉄道の基礎情報のテンプレート
enwp :en:category:Rail_transport_infobox_templates jawp :ja:Category:鉄道の基礎情報テンプレート
__ __ ja_l Template:Infobox TfL line
__ ja_I Template:Infobox トンネル
__ ja_I Template:Infobox 列車名
P ► Infobox rail line tracked parameters‎ (empty) . .
R ► Railway station infobox templates‎ (1 cat,10 pages) . .
Template:Infobox station . .
Template:Adelaide color . .
Template:Infobox GB station . Template:Infobox GB station
Template:Infobox station . .
Template:Infobox London station . Template:Infobox London station
Template:Infobox Manchester Metrolink station . .
Template:Infobox New York City Subway station . Template:Infobox New York City Subway station
Template:Infobox T&W Metro station . .
__ ja_R Template:Infobox rail
__ ja_R Template:Infobox rail line
__ ja_R Template:Infobox rail network
__ ja_R Template:Infobox rail service
S . ja_S Template:Infobox Station
T . ja_T Template:Infobox tunnel
U United Kingdom rail transport infobox templates‎ (8頁) . .
Template:Infobox GB station . .
Template:Infobox British computerised railway ticket system . .
Template:Infobox London Tramlink route . .
Template:Infobox London station . .
Template:Infobox Manchester Metrolink station . .
Template:Infobox T&W Metro station . .
Template:Infobox UK disused station . Template:Infobox UK disused station
Template:Infobox UK heritage station . Template:Infobox UK heritage station
__ . え (駅) Template:駅情報
. え (駅) Template:駅情報/朝鮮
. え (駅) Template:駅情報/中国
__ . Template:機関車情報表
__ . Template:Infobox 公共交通
. Template:鉄道コンテナ
__ . Template:Infobox 鉄道事故
. Template:車両基地
__ . Template:鉄道車両
. Template:鉄道車両貨車
__ . Template:列車名
__ . Template:Infobox 鉄道路線
備考 . 00