Atlas/Templates
Wikimedia Commons Atlas of the World The Wikimedia Atlas of the World is an organized and commented collection of geographical, political and historical maps available at Wikimedia Commons. Discussion • Update the atlas • Index of the Atlas • Atlas in categories • Other atlases on line |
This page gives an overview of the templates used to have a common layout for the Atlas. This series consists out of the following templates:
To create the layout[edit]
Template:Atlas0[edit]
This template creates the top and the left box in each entry and should not be used independently from the following templates in this section. syntax:
{{Atlas0}}
Template:AtlasTOC[edit]
This template is usded to add a content box and is included in the following templates in this section. syntax:
{{AtlasTOC}}
Template:Atlas-country[edit]
This template creates the layout for all country entries in the atlas.
{{Atlas-country |short name = |native = |long name = |map = |location = |status = |capital = |population = |surface = |language = |religion = |intro = }}
You can add:
|flag = |index = if different name for index |the = as part of country name |dependencies = |thumb =
Template:Atlas-dependency[edit]
This template creates the layout for all dependency entries in the atlas.
{{Atlas-dependency |short name = |native = |long name = |map = |location = |status = |capital = |population = |surface = |language = |religion = |intro = }}
You can add
|flag = |index = if different name for index |the = as part of country name |thumb =
Template:Atlas-region[edit]
This template is used to have a common layout for regions of countries entries in the Atlas.
{{Atlas-region |flag = |short name = |native = |long name = delete when not available |map = |location = |status = |capital = |population = |surface = |language = |religion = |country-the = |country = |intro = }} {{general-maps|country=}} {{atlas-end}} [[Category:Atlas of |]] [[Category:Maps of ]] [[Category:]] [[Category:Atlas entries in progress fase 9]]
You can add:
|the = as part of region name |country-the = as part of region name |thumb =
Template:Atlas-oldcountry[edit]
This template is used to have a common layout for the country and territory entries in the Atlas.
{{Atlas-oldcountry |flag = |the = |short name= |native = - |long name = delete when not available |map = |location = |period = Between |capital = |language = |religion = |intro = }}
Template:Atlas-continent[edit]
This template is used to have a common layout for the continent entries in the Atlas.
{{Atlas-continent |name = |map = |population= |surface = |intro = }}
Template:Atlas-intro[edit]
This template is used to have a common layout for other entries.
{{Atlas-intro | text = description text preferably in a local official or major language of the described area | text2 = one or more invokations of {{Extra-intro}} (see below) (optional) }}
Template:Extra-intro[edit]
This template creates an extra row in an introduction table. This should be placed after the status or period row.
{{Extra-intro|language|text }}
Note: for better compatibility and layout, as well as for allowing language links at top of pages to work correctly, the implicitly numbered parameter should be replaced with the following syntax:
{{Extra-intro | lang=language-code | text=text }}
where the text can contain any formatting (including equal signs), and the language name parameter is replaced by the specification of the language code (the compatible codes are those supported by wikimedia projects with the {{#language:language-code}} parser function, used throughout Commons for generating internationalized image descriptions with {{Description}}).
The right-to-left text direction is handled automatically by this template when using the supported language codes (for now: ar, dv, he, fa, ur, yi).
Template:Extra-left[edit]
This template creates an extra row in an introduction table with the alignment to the right, to be used for languages with the arabic of hebrew script. This should be placed after the status or period row.
{{Extra-left|<language>|<text> }}
Note: This template is deprecated. It is similar to the preceding Template:Extra-intro, except that it handles right-to-left languages: the previous template can now also be used with its newer syntax (with the lang and text named parameters, where lang=language-code instead of specifying the language name). The text direction is handled automatically by that template when using the supported language codes.
Template:Atlas-end[edit]
This template adds a content and notes and references section to each entry.
{{Atlas-end}}
Section titles[edit]
Template:General-maps[edit]
{{general-maps}}
Template:Region-maps[edit]
{{region-maps}}
Template:History[edit]
{{history}}
Template:History-old[edit]
{{history-old}}
Template:Old-maps[edit]
{{old-maps}}
Template:Other-maps[edit]
{{other-maps}}
or to give the section another title
{{other-maps|<alternative title>}}
Template:Satellite-maps[edit]
{{Satellite-maps}}
Linking templates[edit]
Template:Atp[edit]
This template adds a link to an atlas entry:
{{Atp|Entry Name}}
or when the link should be to another entry:
{{Atp|Entry Name|Other entry Name}}
Template:Link[edit]
This template adds a link to an entry in wikipedia For English:
{{Link|Name entry}}
For a link in another language edition:
{{Link|Name entry|language-code}}
Map templates[edit]
Template:Lef[edit]
This template is used in each of the following templates and should not be used separately.
Template:Left[edit]
This template is used to add a map with explanation:
{{Left|Image:image-name.ext|text}}
or to give a smaller map:
{{Left|Image:image-name.ext|text|horizontalSizepx}}
Template:Left2[edit]
This template is used to add 2 maps with one explanation:
{{Left2|Image:image-name.ext|text|Image:image-name-2.ext}}
Template:Left3[edit]
This template is used to add 3 maps with one explanation:
{{Left3|Image:image-name.ext|text|Image:image-name-2.ext|Image:image-name-3.ext}}
Template:Leftlegend[edit]
This template is used to add a map with explanation, but with a legend inside (do not forget the second line):
{{Leftlegend|Image:image-name.ext}}text |}
or the give a smaller map:
{{Leftlegend|Image:image-name.ext|horizontalSizepx}}text |}
Template:Left-empty[edit]
This template is used to add a text without any map:
{{Left-empty|text}}
Note: Template:Left0 is a (redirected) alias for exactly the same template.
Template:Left-box[edit]
This template is used to have a common layout for a former country-box inside a country entry in the Atlas.
{{Left-box |short name= |period = |text = |link = |flag = |native = ( ) |extra = }}
Template:Left-box-link[edit]
This template is used to have a common layout for a former country-box inside a country entry in the Atlas.
{{Left-box-link |short name= |period = |text = |link = |flag = |moremaps = |the = the |tag = # |extra = # }}
{{Left-box-link |short name= Roman Empire |period = |text = |flag = SPQRomani.svg |the = the }}
{{Left-box-link |short name= (East) Roman Empire |period = |text = |link = Byzantine Empire |flag = Flag of the Byzantine Empire.svg |moremaps = Byzantine Empire |the = the }}
{{Left-box-link |short name= French Empire |period = |text = |flag = Flag of France.svg |moremaps = France |tag = #Revolution and expansion }}
{{Left-box-link |short name= Frankish Empire |period = |text = |the = the }}
{{Left-box-link |short name= German Empire |period = |text = |flag = Flag of the German Empire.svg |moremaps = Germany |tag = #German Empire }}
{{Left-box-link |short name= (Great) German Empire |period = |text = |link = Nazi Germany |flag = Flag of Germany 1933.svg |moremaps = Atlas of Germany |tag = #Nazi Germany }}
Template:List-flags-maps[edit]
This template is used to add a country to a list with a reference to maps in a atlas entry
{{List-flags-maps |short name= |long name= |flag = |period = , |text = - |link = |moremaps = |tag = # |extra = }}
Template:List-flags[edit]
This template is used to add a country to a list without a reference to maps.
{{List-flags |short name= |long name = |link = |period = , |text = - |extra = }}
Other templates used[edit]
The atlas uses the following templates too:
Notes and references[edit]
General remarks:
|