Difference between revisions of "Template:Pagebanner"
Jump to navigation
Jump to search
(Blanked the page) Tags: Visual edit Blanking |
(Undo revision 1137 by Ianbirtwistle (talk)) Tag: Undo |
||
Line 1: | Line 1: | ||
− | + | <templatestyles src="Pagebanner/styles.css"/> | |
+ | <includeonly>{{#ifeq: {{NAMESPACE}} | {{ns:User}} | {{Userpagebanner}} }}<!-- | ||
+ | -->{{CountryData2HTML}}{{GPX indicator}}{{PAGEBANNER:{{#switch: {{{1|}}} | ||
+ | | none | ||
+ | | Europe | ||
+ | | North America | ||
+ | | Pagebanner default.jpg | ||
+ | | Pagebanner_default.jpg | ||
+ | | = {{#if: {{#property:P948}} | {{#property:P948}} | Pagebanner default.jpg }} | ||
+ | | Middle East | ||
+ | | ME | ||
+ | | North Africa | ||
+ | | Asia | ||
+ | | Mena-asia default banner.jpg | ||
+ | | Mena-asia_default_banner.jpg | ||
+ | | = {{#if: {{#property:P948}} | {{#property:P948}} | Mena-asia_default_banner.jpg }} | ||
+ | | South America | ||
+ | | SA | ||
+ | | Africa | ||
+ | | S-amer africa default banner.jpg | ||
+ | | S-amer_africa_default_banner.jpg | ||
+ | | = {{#if: {{#property:P948}} | {{#property:P948}} | S-amer africa default banner.jpg }} | ||
+ | | Caribbean | ||
+ | | Caribbean default banner.jpg | ||
+ | | Caribbean_default_banner.jpg | ||
+ | | = {{#if: {{#property:P948}} | {{#property:P948}} | Caribbean default banner.jpg }} | ||
+ | | Australia | ||
+ | | Oceania | ||
+ | | Australia-oceania default banner.jpg | ||
+ | | Australia-oceania_default_banner.jpg | ||
+ | | = {{#if: {{#property:P948}} | {{#property:P948}} | Australia-oceania default banner.jpg }} | ||
+ | | New Zealand | ||
+ | | NZ | ||
+ | | NZ default banner.jpg | ||
+ | | NZ_default_banner.jpg | ||
+ | | = {{#if: {{#property:P948}} | {{#property:P948}} | NZ default banner.jpg }} | ||
+ | | Travel topic | ||
+ | | Topic | ||
+ | | TT | ||
+ | | TT Banner.jpg | ||
+ | | TT_Banner.jpg | ||
+ | | = {{#if: {{#property:P948}} | {{#property:P948}} | TT Banner.jpg }} | ||
+ | | Flying | ||
+ | | Generic flying banner.jpg | ||
+ | | Generic_flying_banner.jpg | ||
+ | | = {{#if: {{#property:P948}} | {{#property:P948}} | Generic flying banner.jpg }} | ||
+ | | Dive guide | ||
+ | | Dive | ||
+ | | Diving | ||
+ | | Default Scuba diving banner.JPG | ||
+ | | Default_Scuba_diving_banner.JPG | ||
+ | | = {{#if: {{#property:P948}} | {{#property:P948}} | Default Scuba diving banner.JPG }} | ||
+ | | Itinerary | ||
+ | | Itinerary banner.jpg | ||
+ | | Itinerary_banner.jpg | ||
+ | | = {{#if: {{#property:P948}} | {{#property:P948}} | Itinerary banner.jpg }} | ||
+ | | Phrasebook | ||
+ | | Welcome banner.jpg | ||
+ | | Welcome_banner.jpg | ||
+ | | = {{#if: {{#property:P948}} | {{#property:P948}} | Welcome banner.jpg }} | ||
+ | | Disambiguation page | ||
+ | | Disambiguation banner.png | ||
+ | | Disambiguation_banner.png | ||
+ | | = Disambiguation banner.png | ||
+ | | #default = {{{1|}}} | ||
+ | }} | ||
+ | | {{#if: {{{caption|}}} | tooltip={{{caption|}}} }} | ||
+ | | {{#if: {{{pgname|}}} | pgname={{{pgname|}}} }} | ||
+ | | {{#if: {{{origin|}}} | origin={{{origin|}}} }} | ||
+ | | {{#if: {{{unesco|}}} | icon-unesco=UNESCO_World_Heritage_List }} | ||
+ | | {{#if: {{{star|}}} | icon-star=Star_article }} | ||
+ | | {{#if: {{{otbp|}}} | icon-otbp=Previously_Off_the_beaten_path }} | ||
+ | | {{#if: {{{dotm|}}} | icon-dotm=Previous_Destinations_of_the_month }} | ||
+ | | {{#if: {{{ftt|}}} | icon-ftt=Previous_Featured_travel_topics }} | ||
+ | | toc={{#ifeq: {{{notoc|}}} | true | no | yes }} | ||
+ | }}<!-- | ||
+ | -->{{#if: {{{disambig|}}} | ||
+ | | {{#switch: {{{disambig|}}} | ||
+ | | yes={{other uses}} | ||
+ | | #default ={{other uses|{{{disambig}}}}} | ||
+ | }} | ||
+ | | | ||
+ | }}<!-- Banner categories | ||
+ | -->{{#if: {{{unesco|}}} | [[Category:UNESCO World Heritage Sites]] }} {{#if: {{{otbp|}}} | [[Category:Previously Off the beaten path]] }} {{#if: {{{dotm|}}} | [[Category:Previous Destinations of the month]] }} {{#if: {{{ftt|}}} | [[Category:Previous Featured travel topics]] }}<!-- | ||
+ | -->{{#ifeq:{{NAMESPACE}}|{{NS:0}}|{{#if:{{#invoke:Wikidata|getSiteLink|enwiki}}||[[Category:Articles without Wikipedia links (via Wikidata)]]}}}}<!-- | ||
+ | -->{{#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 | ||
+ | | Pagebanner_default.jpg | ||
+ | | Mena-asia default banner.jpg | ||
+ | | Mena-asia_default_banner.jpg | ||
+ | | S-amer africa default banner.jpg | ||
+ | | S-amer_africa_default_banner.jpg | ||
+ | | Caribbean default banner.jpg | ||
+ | | Caribbean_default_banner.jpg | ||
+ | | Australia-oceania default banner.jpg | ||
+ | | Australia-oceania_default_banner.jpg | ||
+ | | TT Banner.jpg | ||
+ | | TT_Banner.jpg | ||
+ | | Generic flying banner.jpg | ||
+ | | Generic_flying_banner.jpg | ||
+ | | Default Scuba diving banner.JPG | ||
+ | | Default_Scuba_diving_banner.JPG | ||
+ | | Itinerary banner.jpg | ||
+ | | Itinerary_banner.jpg | ||
+ | | Welcome_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><noinclude>{{documentation}}</noinclude> |
Revision as of 13:12, 9 August 2020
Template documentation
[create]