Bot: Automatski unos stranica |
m bnz |
||
| Redak 1: | Redak 1: | ||
Posljednja izmjena od 3. travanj 2022. u 09:49
Parametri predloška
<templatedata> { "params": { "DRŽAVA": { "label": "Država", "description": "Kratica države, koja postoji od 2 (dijelovi GB od 3) slova", "example": "HR", "type": "line", "required": true }, "VRSTA_CESTE": { "label": "Vrsta ceste", "description": "Kratica vrste ceste, npr. A za Autoceste ili D za Državne ceste u Hrvatskoj.", "example": "D", "type": "line", "required": true }, "BROJ": { "label": "Broj", "description": "Broj ceste, npr. 1 kod autoceste A1.", "example": "1", "type": "line", "required": true }, "IME": { "label": "Ime", "description": "Ime ceste. Pokazano iznad znaka", "example": "Posavska autocesta", "type": "line", "default": "Artikelname", "suggested": true }, "ZNAK": { "label": "Znak", "description": "Ovaj parametar se samo koristi, ako znak još ne postoji kao slika.", "example": "keines", "type": "line" }, "EBROJ": { "label": "Broj europskog pravca", "description": "Samo koristiti ako je cesta istodobno dio europskog pravca.", "example": "60", "type": "number", "suggested": true }, "EBROJ1": { "label": "Broj europskog pravca 1", "description": "Samo koristiti, ako je cesta dio daljnih europskih pravaca.", "example": "314", "type": "number" }, "EBROJ2": { "label": "Broj europskog pravca 2", "inherits": "EBROJ1" }, "EBROJ3": { "label": "Broj europskog pravca 3", "inherits": "EBROJ1" }, "EBROJ4": { "label": "Broj europskog pravca 4", "inherits": "EBROJ1" }, "EBROJ5": { "label": "Broj europskog pravca 5", "inherits": "EBROJ1" }, "EBROJ6": { "label": "Broj europskog pravca 6", "inherits": "EBROJ1" }, "EBROJ7": { "label": "Broj europskog pravca 7", "inherits": "EBROJ1" }, "KARTA": { "label": "Karta", "description": "Karta ceste. Postoje 3 mogučnosti: a) prazno (Karta će biti pokazana automatski, ako postoji) b) „nema“, c) Ime datoteke karte u formatu Karta.svg", "example": "Karta.svg", "type": "line", "suggested": true }, "KARTA-VELIČINA": { "label": "Veličina karte", "description": "Širina karte. Ako se ništa ne upiše, automatski se uzima vrijednost 300px", "example": "200px", "type": "line", "default": "300px", "suggested": true }, "U_IZGRADNJI-KM": { "label": "U izgradnji", "description": "Dužina ceste, koja je u izgradnji (u kilometrima)", "example": "23", "type": "number", "suggested": true }, "DOVRŠENO-KM": { "label": "Dovršeno", "description": "Dužina ceste, koja je dovršena (u kilometrima)", "example": "100", "type": "number", "suggested": true }, "PLANIRANO-KM": { "label": "Planirano", "description": "Dužina ceste, koja je planirana (u kilometrima)", "example": "3", "type": "number", "suggested": true }, "UPRAVITELJ": { "label": "Upravitelj", "description": "Ovdje se upiše upravitelj.", "type": "line", "suggested": true }, "UPRAVITELJ1": { "label": "Upravitelj 1", "description": "Samo upisati, ako postoji još jedan upravitelj.", "type": "line" }, "POČETAK-IME": { "label": "Početak, Mjesto", "description": "Mjesto/grad, koji je početnoj točki ceste najbliži.", "example": "Samobor", "type": "line", "suggested": true }, "POČETAK-LAT": { "label": "Početak, Stupanj geografske širine", "description": "Stupanj geografske širine, ako se upiše obavezno upisati POČETAK-LON i POČETAK-REGION", "example": "48/12/10/N", "type": "line", "suggested": true }, "POČETAK-LON": { "label": "Početak, Stupanj geografske dužine", "description": "Stupanj geografske dužine, ako se upiše obavezno upisati POČETAK-LAT i POČETAK-REGION", "example": "15/36/10/E", "type": "line", "suggested": true }, "POČETAK-REGION": { "label": "Početak, Regija", "description": "Regija/županija u formatu ISO 3166-2, ako se upiše obavezno upisati POČETAK-LAT i POČETAK-LON", "example": "HR-01", "type": "line", "suggested": true }, "KRAJ-IME": { "label": "Ende, Ort", "description": "Mjesto/grad, koji je krajnjoj točki ceste najbliži.", "example": "Samobor", "type": "line", "suggested": true }, "KRAJ-LAT": { "label": "Kraj, Stupanj geografske širine", "inherits": "POČETAK-LAT" }, "KRAJ-LON": { "label": "Kraj, Stupanj geografske dužine", "inherits": "POČETAK-LON" }, "KRAJ-REGION": { "label": "Kraj, Regija", "inherits": "POČETAK-REGION" }, "UKUPNA_DUŽINA": { "label": "Ukupna dužina", "description": "Ukupna dužina ceste u kilometrima. Kod DRŽAVA = GB, ENG, NIR, SCT i WLS se automatski upise i vrijednost u miljama.", "example": "123", "type": "number", "suggested": true }, "UKUPNA_DUŽINA-DODATAK": { "label": "Ukupna dužina, dodatak", "description": "Tekst će biti pokazan iza vrijednosti iz parametra UKUPNA_DUŽINA", "type": "content", "suggested": true }, "BACKGROUND_UKUPNO": { "label": "Ukupna dužina, boja", "example": "F5F5F5", "type": "line", "suggested": true }, "BACKGROUND_IZGRADNJA": { "label": "U izgradnji, boja", "example": "EEEEEE", "type": "line", "suggested": true }, "BACKGROUND_PLANIRANO": { "label": "Planirano, boja", "example": "DDD", "type": "line", "suggested": true }, "REGION": { "label": "Regije", "description": "Upis regije/županije", "example": "\n* Županija1\n* Županija2", "type": "content", "required": true }, "UVJET_UPORABE": { "label": "Uvjeti uporabe", "type": "content", "suggested": true, "description": "Uvjeti uporabe", "example": "cestarina" }, "STANJE_IZGRADNJE": { "label": "Stanje izgradnje", "description": "Stanje izgradnje", "example": "2x2 prometne trake", "type": "line", "suggested": true }, "STATUS": { "label": "Status", "description": "Sadašnji status ceste, kao \"raspušteno\".", "example": "raspušteno", "type": "line", "suggested": true }, "SLIKA": { "label": "Slika", "description": "Ime datoteke", "example": "Slika.jpg", "type": "wiki-file-name", "suggested": true }, "SLIKA-VELIČINA": { "label": "Veličina slike", "description": "Širina slike. Ako se ništa ne upiše: 200px", "example": "100px", "type": "line", "default": "200px", "suggested": true }, "SLIKA-OPIS": { "label": "Opis slike", "description": "Tekst ispod slike", "type": "content", "suggested": true }, "LISTA": { "label": "Tijek ceste", "description": "Ovdje se može upisati tijek ceste", "type": "content", "suggested": true } }, "description": "Opis parametara predloška Infookvir za ceste", "paramOrder": [ "DRŽAVA", "IME", "VRSTA_CESTE", "BROJ", "ZNAK", "EBROJ", "EBROJ1", "EBROJ2", "EBROJ3", "EBROJ4", "EBROJ5", "EBROJ6", "EBROJ7", "KARTA", "KARTA-VELIČINA", "UPRAVITELJ", "UPRAVITELJ1", "POČETAK-IME", "POČETAK-REGION", "POČETAK-LAT", "POČETAK-LON", "KRAJ-IME", "KRAJ-REGION", "KRAJ-LAT", "KRAJ-LON", "UKUPNA_DUŽINA", "UKUPNA_DUŽINA-DODATAK", "DOVRŠENO-KM", "U_IZGRADNJI-KM", "PLANIRANO-KM", "BACKGROUND_UKUPNO", "BACKGROUND_IZGRADNJA", "BACKGROUND_PLANIRANO", "REGION", "UVJET_UPORABE", "STANJE_IZGRADNJE", "STATUS", "SLIKA", "SLIKA-VELIČINA", "SLIKA-OPIS", "LISTA" ] } </templatedata>
Podržane države
Predložak
{{Infookvir Cesta
|DRŽAVA =
|VRSTA_CESTE =
|BROJ =
|IME =
|EBROJ =
|EBROJ1 =
|EBROJ2 =
|EBROJ3 =
|KARTA =
|UPRAVITELJ =
|UPRAVITELJ1 =
|POČETAK-IME =
|POČETAK-REGION =
|POČETAK-LAT =
|POČETAK-LON =
|KRAJ-IME =
|KRAJ-REGION =
|KRAJ-LAT =
|KRAJ-LON =
|UKUPNA_DUŽINA =
|UKUPNA_DUŽINA-DODATAK =
|DOVRŠENO-KM =
|U_IZGRADNJI-KM =
|PLANIRANO-KM =
|REGION =
|UVJET_UPORABE =
|STANJE_IZGRADNJE =
|SLIKA =
|SLIKA-VELIČINA =
|SLIKA-OPIS =
}}
Primjer (potpuna integracija)
- "
colspan="2" style="min-width:300px; font-size: 110%; color:#fff
| |
|---|---|
| Autocesta "Primjer" | |
| |
colspan="2" style="color:#fff
| |
| Dovršeno U izgradnji Planirano | |
colspan="2" style="color:#fff
| |
| Upravitelj: | Hrvatske autoceste d.o.o. (HAC) |
| Od: | Samobor (45°48′07″N 15°42′44″E / 45.8019°N 15.7123°E) |
| Do: | Ičići (45°18′49″N 14°17′13″E / 45.3135°N 14.2869°E) |
| Ukupna dužina: | 547,3 km |
| od toga dovršeno: | 0,0 km |
| od toga u izgradnji: | 0,0 km |
| od toga planirano: | 547,3 km |
|
|
|
| Uvjet uporabe: | Cestarina |
| Stanje izgradnje: | 2x1 i 2x2 prometna traka |
| Ovo je samo primjer! | |
{{Infookvir Cesta
|DRŽAVA = HR
|VRSTA_CESTE = A
|BROJ = 12
|IME = Autocesta "Primjer"
|EBROJ = 57
|EBROJ1 = 65
|EBROJ2 = 70
|KARTA =
|UPRAVITELJ =
|UPRAVITELJ1 =
|POČETAK-IME = [[Samobor]]
|POČETAK-REGION = HR-01
|POČETAK-LAT = 45.8019
|POČETAK-LON = 15.7123
|KRAJ-IME = [[Ičići]]
|KRAJ-REGION = HR-08
|KRAJ-LAT = 45.3135
|KRAJ-LON = 14.2869
|UKUPNA_DUŽINA = 547,3
|UKUPNA_DUŽINA-DODATAK =
|DOVRŠENO-KM = 0,0
|U_IZGRADNJI-KM = 0,0
|PLANIRANO-KM = 547,3
|REGION = *[[Zagrebačka županija]]
*...
*...
|UVJET_UPORABE = Cestarina
|STANJE_IZGRADNJE =2x1 i 2x2 prometna traka
|SLIKA = Gthumb.svg
|SLIKA-OPIS = Ovo je samo primjer!
}}

