Πρότυπο:Pagebanner: Διαφορά μεταξύ των αναθεωρήσεων

Περιεχόμενο που διαγράφηκε Περιεχόμενο που προστέθηκε
όχι υποχρεωτικά αυτό που βάζουν στα wikidata. Ελευθερία επιλογής
Geraki (συζήτηση | συνεισφορές)
προαιρετικό banner και εμβλήματα
 
Γραμμή 2:
{{DISPLAYTITLE:<span style="display:none">{{FULLPAGENAME}}</span>}}
<div class="topbanner">
<div class="name">{{#ifexist:media:{{#property:p41}}|[[Αρχείο:{{#property:p41}}{{!}}35px{{!}}{{#if: {{{pgname|}}}|Σημαία {{{pgname}}}|Σημαία {{PAGENAME}}}}]]|{{#ifexist:media:{{#property:p94}}|[[Αρχείο:{{#property:p94}}{{!}}35px{{!}}{{#if: {{{pgname|}}}|Έμβλημα {{{pgname}}}|Έμβλημα {{PAGENAME}}}}]]|}}}} {{#if: {{{pgname|}}}|'''{{{pgname}}}'''|'''{{PAGENAME}}'''}}</div>
 
<div class="iconbox">
{{#if: {{{disambig|}}} | {{#switch: {{{disambig|}}} | yes = [[Image:Question_Circle.svg|{{{size|25}}}px|link={{PAGENAME}} (disambiguation)|For other places with the same name, see {{PAGENAME}} (disambiguation}]] | #default = [[Image:Question_Circle.svg|{{{size|25}}}px|link={{{disambig}}} (disambiguation)|For other places with the same name, see {{{disambig}}} (disambiguation}]]}} |}} {{#switch: {{{star|}}} | yes = [[Image:Cscr-featured.png|{{{size|25}}}px|link=Star articles|Star article]] | #default = }} {{#switch: {{{otbp|}}} | yes = [[Image:Yes_Check_Circle.svg|{{{size|25}}}px|link=Previously Off the beaten path|Previously Off the beaten path]] | #default = }} {{#switch: {{{dotm|}}} | yes = [[Image:Yes_Check_Circle.svg|{{{size|25}}}px|link=Previous_Destinations_of_the_month|Previous destination of the month]] | #default = }} {{#switch: {{{ftt|}}} | yes = [[Image:Writing_Circle.svg|{{{size|25}}}px|link=Previous Featured travel topics|Previously featured travel topic]] | #default = }} </div>
 
{{#switch: {{{1|}}}
{{#switch: {{{1|}}} | none = [[File:Pagebanner default.jpg|frameless|1800px]] | = [[File:Pagebanner default.jpg|frameless|1800px]] | #default = [[File:{{{1|}}}|frameless|1800px|{{{caption|}}}]]}}
| none | Europe | North America | Pagebanner default.jpg | = {{#if:{{#property:P948}}|[[File:{{#property:P948}}|frameless|1800px|{{{caption|}}}]]|[[File:Pagebanner default.jpg|frameless|1800px]]}}
| Middle East | ME | North Africa | Asia | Mena-asia_default_banner.jpg | = {{#if:{{#property:P948}}|[[File:{{#property:P948}}|frameless|1800px|{{{caption|}}}]]|[[File:Mena-asia_default_banner.jpg|1800px]]}}
| South America | SA | Africa | S-amer africa default banner.jpg | = {{#if:{{#property:P948}}|[[File:{{#property:P948}}|frameless|1800px|{{{caption|}}}]]|[[File:S-amer africa default banner.jpg|1800px]]}}
| Caribbean | Caribbean default banner.jpg | = {{#if:{{#property:P948}}|[[File:{{#property:P948}}|frameless|1800px|{{{caption|}}}]]|[[File:Caribbean default banner.jpg|1800px]]}}
| Australia | Oceania | Australia-oceania default banner.jpg | = {{#if:{{#property:P948}}|[[File:{{#property:P948}}|frameless|1800px|{{{caption|}}}]]|[[File:Australia-oceania default banner.jpg|1800px]]}}
| New Zealand | NZ | NZ default banner.jpg | = {{#if:{{#property:P948}}|[[File:{{#property:P948}}|frameless|1800px|{{{caption|}}}]]|[[File:NZ default banner.jpg|1800px]]}}
| Travel topic | Topic | TT | TT Banner.jpg | = {{#if:{{#property:P948}}|[[File:{{#property:P948}}|frameless|1800px|{{{caption|}}}]]|[[File:TT Banner.jpg|1800px]]}}
| Flying | Generic flying banner.jpg = {{#if:{{#property:P948}}|[[File:{{#property:P948}}|frameless|1800px|{{{caption|}}}]]|[[File:Generic flying banner.jpg|1800px]]}}
| Dive guide | Dive | Diving | Default Scuba diving banner.JPG = {{#if:{{#property:P948}}|[[File:{{#property:P948}}|frameless|1800px|{{{caption|}}}]]|[[File:Default Scuba diving banner.JPG|1800px]]}}
| Itinerary | Itinerary banner.jpg | = {{#if:{{#property:P948}}|[[File:{{#property:P948}}|frameless|1800px|{{{caption|}}}]]|[[File:Itinerary banner.jpg|1800px]]}}
| Phrasebook | Welcome banner.jpg | = {{#if:{{#property:P948}}|[[File:{{#property:P948}}|frameless|1800px|{{{caption|}}}]]|[[File:Welcome banner.jpg|1800px]]}}
| Disambiguation page | Disambiguation banner.png | = [[File:Disambiguation banner.png|frameless|1800px]]
| #default = [[File:{{{1|}}}|frameless|1800px|{{{caption|}}}]]}}
 
<div style="position: absolute; bottom: 6px; left: 0; z-index: 3; width:100%;">