z Wikipédie, slobodnej encyklopédie
Dokumentácia
Použitie
Šablóna slúži na vloženie obrázka linky MHD. Je náhradou za šablónu rcb.
- {{MHD|mesto|číslo linky}}
Typ
|
Zadanie
|
Výsledok
|
Metro
|
{{MHD|praha|A}} alebo {{MHD|budapest|M1}}
|
alebo
|
Električka
|
{{MHD|ba|2}} alebo {{MHD|ba|7}}
|
alebo
|
Trolejbus
|
{{MHD|ba|40}} alebo {{MHD|ba|205}}
|
alebo
|
Autobus
|
{{MHD|ba|21}} alebo {{MHD|ba|79}}
|
alebo
|
Regionálny autobus
|
{{MHD|idsbk|215}} alebo {{MHD|idsbk|720}}
|
alebo
|
Náhradná doprava
|
{{MHD|ba|X}} alebo {{MHD|ba|X8}}
|
alebo
|
Vlak
|
{{MHD|idsbk|S8}} alebo {{MHD|idsbk|S70}}
|
alebo
|
Logo
|
{{MHD|logo|A}} alebo {{MHD|logo|E}}
|
alebo
|
Parametre
Požadovaným vstupom:
{{{1}}}
je mesto, IDS alebo logo (toto je overované, chybové hlásenie je potom: Mesto {{{1}}} neexistuje!)
{{{2}}}
je:
- linka (pri {{{1}}} = mesto alebo IDS; toto je overované, chybové hlásenie je potom: Linka {{{2}}} v meste {{{1}}} neexistuje!)
- druh loga (pri {{{1}}} = logo; toto je overované, chybové hlásenie je potom: Logo {{{2}}} neexistuje!)
{{{3}}}
je veľkosť obrázku v pixeloch. Stačí zadať len číslo bez „px“; tento parameter nie je povinný.
Možnosti
Momentálne je možné zadať linky pre mestá Bratislava, Trnava, Poprad, Vysoké Tatry, Budapest a Praha.
Pri zadávaní linky typu „Regionálne autobusy“ alebo „Vlaky“ v meste „Bratislava“ sa zadáva všeobecne parameter „idsbk“, nakoľko tieto linky premávajú aj mimo Bratislavy.
- správny zápis:
{{MHD|idsbk|720}}
alebo {{MHD|idsbk|S70}}
- nesprávny zápis:
{{MHD|ba|720}}
alebo {{MHD|ba|S70}}
Bratislava
Zadanie
|
Výsledok
|
{{MHD|ba|1}}
|
|
{{MH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|
|
{{MHD|ba|N10}}
|
|
{{MHD|ba|N21}}
|
|
{{MHD|ba|N29}}
|
|
{{MHD|ba|N31}}
|
|
{{MHD|ba|N33}}
|
|
{{MHD|ba|N34}}
|
|
{{MHD|ba|N37}}
|
|
{{MHD|ba|N44}}
|
|
{{MHD|ba|N47}}
|
|
{{MHD|ba|N53}}
|
|
{{MHD|ba|N55}}
|
|
{{MHD|ba|N56}}
|
|
{{MHD|ba|N61}}
|
|
{{MHD|ba|N70}}
|
|
{{MHD|ba|N72}}
|
|
{{MHD|ba|N74}}
|
|
{{MHD|ba|N80}}
|
|
{{MHD|ba|N91}}
|
|
{{MHD|ba|N93}}
|
|
{{MHD|ba|N95}}
|
|
{{MHD|ba|N99}}
|
|
{{MHD|ba|X}}
|
|
{{MHD|ba|X1 električka}}
|
|
{{MHD|ba|X2 električka}}
|
|
{{MHD|ba|X3 električka}}
|
|
{{MHD|ba|X4 električka}}
|
|
{{MHD|ba|X5 električka}}
|
|
{{MHD|ba|X6 električka}}
|
|
{{MHD|ba|X7 električka}}
|
|
{{MHD|ba|X8 električka}}
|
|
{{MHD|ba|X9 električka}}
|
|
{{MHD|ba|X1}}
|
|
{{MHD|ba|X2}}
|
|
{{MHD|ba|X3}}
|
|
{{MHD|ba|X4}}
|
|
{{MHD|ba|X5}}
|
|
{{MHD|ba|X6}}
|
|
{{MHD|ba|X7}}
|
|
{{MHD|ba|X8}}
|
|
{{MHD|ba|X9}}
|
|
{{MHD|ba|X33}}
|
|
{{MHD|ba|ŠL14}}
|
|
{{MHD|ba|SS2}}
{{MHD|ba|SL2}}
|
|
{{MHD|ba|SS3}}
{{MHD|ba|SL3}}
|
|
{{MHD|ba|SS6}}
{{MHD|ba|SL6}}
|
|
Regionálne linky a vlaky
|
{{MHD|idsbk|205}}
|
|
{{MHD|idsbk|209}}
|
|
{{MHD|idsbk|215}}
|
|
{{MHD|idsbk|216}}
|
|
{{MHD|idsbk|219}}
|
|
{{MHD|idsbk|225}}
|
|
{{MHD|idsbk|235}}
|
|
{{MHD|idsbk|239}}
|
|
{{MHD|idsbk|240}}
|
|
{{MHD|idsbk|245}}
|
|
{{MHD|idsbk|246}}
|
|
{{MHD|idsbk|249}}
|
|
{{MHD|idsbk|250}}
|
|
{{MHD|idsbk|251}}
|
|
{{MHD|idsbk|259}}
|
|
{{MHD|idsbk|260}}
|
|
{{MHD|idsbk|265}}
|
|
{{MHD|idsbk|269}}
|
|
{{MHD|idsbk|275}}
|
|
{{MHD|idsbk|277}}
|
|
{{MHD|idsbk|289}}
|
|
{{MHD|idsbk|299}}
|
|
{{MHD|idsbk|506}}
|
|
{{MHD|idsbk|510}}
|
|
{{MHD|idsbk|515}}
|
|
{{MHD|idsbk|520}}
|
|
{{MHD|idsbk|521}}
|
|
{{MHD|idsbk|525}}
|
|
{{MHD|idsbk|526}}
|
|
{{MHD|idsbk|527}}
|
|
{{MHD|idsbk|528}}
|
|
{{MHD|idsbk|529}}
|
|
{{MHD|idsbk|531}}
|
|
{{MHD|idsbk|539}}
|
|
{{MHD|idsbk|540}}
|
|
{{MHD|idsbk|545}}
|
|
{{MHD|idsbk|550}}
|
|
{{MHD|idsbk|551}}
|
|
{{MHD|idsbk|555}}
|
|
{{MHD|idsbk|565}}
|
|
{{MHD|idsbk|598}}
|
|
{{MHD|idsbk|599}}
|
|
{{MHD|idsbk|605}}
|
|
{{MHD|idsbk|609}}
|
|
{{MHD|idsbk|610}}
|
|
{{MHD|idsbk|620}}
|
|
{{MHD|idsbk|622}}
|
|
{{MHD|idsbk|628}}
|
|
{{MHD|idsbk|630}}
|
|
{{MHD|idsbk|632}}
|
|
{{MHD|idsbk|640}}
|
|
{{MHD|idsbk|645}}
|
|
{{MHD|idsbk|648}}
|
|
{{MHD|idsbk|649}}
|
|
{{MHD|idsbk|657}}
|
|
{{MHD|idsbk|658}}
|
|
{{MHD|idsbk|659}}
|
|
{{MHD|idsbk|666}}
|
|
{{MHD|idsbk|699}}
|
|
{{MHD|idsbk|710}}
|
|
{{MHD|idsbk|711}}
|
|
{{MHD|idsbk|715}}
|
|
{{MHD|idsbk|720}}
|
|
{{MHD|idsbk|725}}
|
|
{{MHD|idsbk|727}}
|
|
{{MHD|idsbk|729}}
|
|
{{MHD|idsbk|730}}
|
|
{{MHD|idsbk|737}}
|
|
{{MHD|idsbk|740}}
|
|
{{MHD|idsbk|798}}
|
|
{{MHD|idsbk|799}}
|
|
{{MHD|idsbk|901}}
|
|
{{MHD|idsbk|S8}}
|
|
{{MHD|idsbk|S20}}
|
|
{{MHD|idsbk|S25}}
|
|
{{MHD|idsbk|S50}}
|
|
{{MHD|idsbk|S55}}
|
|
{{MHD|idsbk|S60}}
|
|
{{MHD|idsbk|S65}}
|
|
{{MHD|idsbk|S70}}
|
|
{{MHD|idsbk|R50}}
|
|
{{MHD|idsbk|R60}}
|
|
{{MHD|idsbk|R70}}
|
|
{{MHD|idsbk|AT1}}
|
|
{{MHD|idsbk|AT2}}
|
|
Trnava
Zadanie
|
Výsledok
|
{{MHD|tt|1}}
|
|
{{MHD|tt|2}}
|
|
{{MHD|tt|3}}
|
|
{{MHD|tt|4}}
|
|
{{MHD|tt|5}}
|
|
{{MHD|tt|6}}
|
|
{{MHD|tt|12}}
|
|
{{MHD|tt|13}}
|
|
{{MHD|tt|14}}
|
|
{{MHD|tt|16}}
|
|
{{MHD|tt|21}}
|
|
{{MHD|tt|22}}
|
|
{{MHD|tt|23}}
|
|
Poprad a Vysoké Tatry
Zadanie
|
Výsledok
|
{{MHD|tatry|1}}
|
|
{{MHD|tatry|2}}
|
|
{{MHD|tatry|3}}
|
|
{{MHD|tatry|4}}
|
|
{{MHD|tatry|5}}
|
|
{{MHD|tatry|6}}
|
|
{{MHD|tatry|7}}
|
|
{{MHD|tatry|8}}
|
|
{{MHD|tatry|Ski 1A}}
|
|
{{MHD|tatry|182}}
|
|
{{MHD|tatry|183}}
|
|
{{MHD|tatry|184}}
|
|
{{MHD|tatry|185}}
|
|
Brezno
Zadanie
|
Výsledok
|
{{MHD|brezno|1}}
|
|
{{MHD|brezno|2}}
|
|
{{MHD|brezno|3}}
|
|
{{MHD|brezno|4}}
|
|
{{MHD|brezno|5}}
|
|
{{MHD|brezno|6}}
|
|
Budapest
Zadanie
|
Výsledok
|
{{MHD|budapest|M1}}
|
|
{{MHD|budapest|M2}}
|
|
{{MHD|budapest|M3}}
|
|
{{MHD|budapest|M4}}
|
|
{{MHD|budapest|M5}}
|
|
Praha
Zadanie
|
Výsledok
|
{{MHD|praha|A}}
|
|
{{MHD|praha|B}}
|
|
{{MHD|praha|C}}
|
|
{{MHD|praha|D}}
|
|
{{MHD|praha|E}}
|
|
Logá
Zadanie
|
Výsledok
|
{{MHD|logo|A}}
|
|
{{MHD|logo|E}}
|
|
{{MHD|logo|M}}
|
|
{{MHD|logo|N}}
|
|
{{MHD|logo|T}}
|
|
{{MHD|logo|V}}
|
|
Ak máte otázku k tejto šablóne, alebo potrebujete jej rozšírenie a neviete ho správne naformátovať, pýtajte sa v diskusii k šablóne. Pokiaľ je potrebné šablónu urgentne opraviť, obráťte sa na technickú podporu. Na testovanie šablóny môžete vytvoriť testy šablóny.