Difference between revisions of "Template:Pagebanner"
Jump to navigation
Jump to search
Tag: 2017 source edit |
Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
− | <div class=" | + | <div class="noprint"> |
+ | <div id="mf-pagebanner" style="position:relative;"><!-- | ||
+ | -->{{#ifeq: {{NAMESPACE}} | {{ns:User}} | {{Userpagebanner}} }} | ||
+ | <div class="topbanner"> | ||
+ | <div class="name">{{#if: {{{pgname|}}}|{{{pgname}}}|{{PAGENAME}}}}</div> | ||
+ | <div class="topbanner-wrapper"> | ||
+ | <div class="ct-widget__container"> | ||
+ | <div id="ctWidget" class="ct-sidebar ct-sidebar--hotel"> | ||
+ | <div class="ct-widget__widget"> | ||
+ | <div class="ct-widget__body"></div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | {{#if: {{{1|}}} | [[File:{{{1|}}}|frameless|1800px|{{{caption|}}}]] | [[File:Default Banner.jpg|frameless|1800px]] }} | ||
+ | </div> | ||
+ | <div class="topbanner-toc"> | ||
+ | {{#ifeq:{{{notoc|}}}|true||<div class="hlist tocbox-{{#switch: {{{box|}}} | black=b| white=w| grey=s| gray=s| #default=b}}">__TOC__</div>}} | ||
+ | <div style="clear:both"></div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | {{#if: {{{disambig|}}} | ||
+ | | {{#switch: {{{disambig|}}} | ||
+ | | yes=:''For other places with the same name, see [[{{PAGENAME}} (disambiguation)]].'' | ||
+ | | #default =:''For other places with the same name, see [[{{{disambig}}} (disambiguation)]].'' | ||
+ | }} | ||
+ | | | ||
+ | }} | ||
+ | <div id="moved_title"> </div> | ||
+ | <noinclude> | ||
+ | {{documentation}} | ||
+ | </noinclude><includeonly> | ||
+ | {{#ifeq: {{{1|}}}|Disambiguation banner.png|{{#ifeq:{{NAMESPACE}}|{{NS:0}}|[[Category:Has standard banner]]}}| | ||
+ | {{#if:{{#property:P948}}|{{#ifeq:{{{index|}}}|yes||[[Category:Has custom banner]]}}| | ||
+ | {{#ifeq: {{NAMESPACE}} | {{ns:}} | | ||
+ | {{#switch: {{{1|}}} | ||
+ | | = {{#ifeq:{{{index|}}}|yes||[[Category:Has default banner]]}} | ||
+ | | Pagebanner default.jpg | ||
+ | | Mena-asia_default_banner.jpg | ||
+ | | S-amer africa default banner.jpg | ||
+ | | Caribbean default banner.jpg | ||
+ | | Australia-oceania default banner.jpg | ||
+ | | TT Banner.jpg | ||
+ | | Generic flying banner.jpg | ||
+ | | Default Scuba diving banner.JPG | ||
+ | | Itinerary banner.jpg | ||
+ | | Welcome banner.jpg | ||
+ | | Europe | ||
+ | | North America | ||
+ | | Middle East | ||
+ | | ME | ||
+ | | North Africa | ||
+ | | Asia | ||
+ | | South America | ||
+ | | SA | ||
+ | | Africa | ||
+ | | Caribbean | ||
+ | | Australia | ||
+ | | Oceania | ||
+ | | New Zealand | ||
+ | | NZ | ||
+ | | Travel topic | ||
+ | | Topic | ||
+ | | TT | ||
+ | | Flying | ||
+ | | Dive guide | ||
+ | | Dive | ||
+ | | Diving | ||
+ | | Itinerary | ||
+ | | Phrasebook | ||
+ | | NZ default banner.jpg = {{#ifeq:{{{index|}}}|yes||[[Category:Has default banner]]}} | ||
+ | | #default = {{#ifeq:{{{index|}}}|yes||[[Category:Has custom banner]]}}{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{#ifeq:{{{fop|}}}|yes||[[Category:Banner missing from Wikidata]]}}}} | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | }}</includeonly> |
Revision as of 00:03, 10 August 2020
Template documentation
[create]