Vorlage:Infobox Stadt: Unterschied zwischen den Versionen
Rick (Diskussion | Beiträge) (1.Verbesserung (to be continued)) |
Rick (Diskussion | Beiträge) (2.Überarbeitung (ohne googlemaps-Koordinaten)) |
||
Zeile 17: | Zeile 17: | ||
</pre> | </pre> | ||
Klicke auf „Bearbeiten“, um den Vorlagentext anzusehen. | Klicke auf „Bearbeiten“, um den Vorlagentext anzusehen. | ||
</noinclude><includeonly>{| style="width: 25em; font-size: 90%; border: 1px solid #aaaaaa | </noinclude><includeonly>{| style="width: 25em; font-size: 90%; border: 1px solid #aaaaaa; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;" | ||
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big> | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big> | ||
|- | |- | ||
{{#if: {{{Koordinaten}}} | | {{#if: {{{Koordinaten}}} | | ||
{{Überblicktabelle Zeile|Bezeichnung='''Koordinaten'''|Wert={{#arraymap:{{{Koordinaten|}}}|,|x|x}} }} | |||
| | |||
| | |||
}} | }} | ||
<!-- | |||
{{#if:{{#show: {{FULLPAGENAME}}|?Koordinaten}}|{{Tablesection|Label={{ | {{#if:{{#show: {{FULLPAGENAME}}|?Koordinaten}}|{{Tablesection|Label={{ | ||
#ask: | #ask: | ||
Zeile 34: | Zeile 33: | ||
| height=250 | | height=250 | ||
}}}}}} | }}}}}} | ||
--> | |||
{{#if: {{{Land|}}} | | |||
| [[ | {{Überblicktabelle Zeile|Bezeichnung='''Land'''|Wert=[[{{{Land}}}]] }} | ||
| | }} | ||
{{#if: {{{Kontinent|}}} | | |||
| [[ | {{Überblicktabelle Zeile|Bezeichnung='''Kontinent'''|Wert=[[{{{Kontinent}}}]] }} | ||
}} | |||
{{#if: {{{Einwohner}}} | | {{#if: {{{Einwohner|}}} | | ||
{{Überblicktabelle Zeile|Bezeichnung='''Einwohner'''|Wert=[[{{{Einwohner}}}]] }} | |||
| {{{Einwohner | |||
}} | }} | ||
{{#if: {{{Quellen}}} | | {{#if: {{{Quellen}}} | | ||
{{Überblicktabelle Zeile|Bezeichnung='''Quellen'''|Wert={{#arraymap:{{{Quellen|}}}|,|x|[[Quelle:{{#sub:x|0|2}}{{#sub:x|-3}}|x]]}} }} | |||
| {{#arraymap:{{{Quellen|}}}|,|x|[[Quelle::x]]}} | |||
}} | }} | ||
|} | |} | ||
</includeonly> | </includeonly> | ||
<noinclude>[[Kategorie:Vorlagen|Infobox Stadt]]</noinclude> | <noinclude>[[Kategorie:Vorlagen|Infobox Stadt]]</noinclude> |
Version vom 22. August 2018, 20:43 Uhr
Die Vorlage für Stadt-Infoboxen sollte zukünftig jedem Stadt-Artikel voran gestellt werden.
Benutzung
Bei Benutzung des Formulars Neue Stadt wird diese Vorlage automatisch in den Artikel eingefügt. Bei bereits bestehenden Artikeln kann folgende Vorlage kopiert werden:
{{Infobox Stadt |Koordinaten= |Lageplan= |Bezeichnung= |Land= |Kontinent= |Einwohner= |Quellen= }}
Klicke auf „Bearbeiten“, um den Vorlagentext anzusehen.