Zum Inhalt springen

Vorlage:Ausflugstipp Infobox: Unterschied zwischen den Versionen

Complete Recode
Keine Bearbeitungszusammenfassung
(Complete Recode)
Zeile 1: Zeile 1:
<includeonly>{| class="infoboxblau" style="border-color: #{{SkandWikiColor|{{{map}}}-light}}; border-left-color: #{{SkandWikiColor|{{{map}}}-dark}}" align="right"
<includeonly>
{{!}} colspan=2 align="center" style="background-color:#{{SkandWikiColor|{{{map|}}}-dark}}; color:#{{SkandWikiColor|white}};" {{!}} '''{{if empty|{{{name|}}}|{{PAGENAMEBASE}} }}'''
{{Infobox
{{!-}}
| bodystyle    = border: 1px solid #{{SkandWikiColor|{{{Map}}}-light}}; border-left: 4px solid #{{SkandWikiColor|{{{Map}}}-dark}};background-color: #ffffff;
| colspan=2 align="center" class="tocbox" style="background-color: #{{SkandWikiColor|{{{map|}}}-light}};" | __TOC__
| abovestyle  = background-color:#{{SkandWikiColor|{{{Map}}}-dark}}; color:#{{SkandWikiColor|{{{Map}}}-dark-font}};
<!--|-
| above        = <span {{#if:{{{name_lang|}}}|lang="{{{name_lang}}}"}} {{#ifeq:{{{name_italics|false}}}|true|style="font-style: italic;"|}}>{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</span>
| colspan="2" align="center" | {{#if:{{{map|}}}
 
          | {{Location map|{{{map}}}
|headerstyle  = background:#{{SkandWikiColor|{{{Map}}}-dark}};color:#{{SkandWikiColor|{{{Map}}}-dark-font}};
                    | border = infobox | float = center
|labelstyle  = background:#{{SkandWikiColor|{{{Map}}}-light}};
                    | alt = {{{map_alt|}}}
                    | width = {{{map_width|}}}
| data1 = {{Location map|map={{{Map}}}|lat={{{Breitegrand}}}|long={{{Längengrad}}}|name={{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}} |label={{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}} |width=285x285  |caption= | mapStyle= center}}
                    | default_width = 285
| label2 =
                    | max_width = 285
| data2 = {{Coord|{{{Breitegrand}}}|{{{Längengrad}}}|scale=10000|name={{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}}}
                    | caption = {{{map_caption|}}}
|header3 = Kontakt
                    | relief = {{{relief|}}}
| label4 = Adresse
                    | label = {{if empty|{{{label|}}}|{{{map_label|}}}}}
|  data4 = {{{Adresse|}}}
                    | position = {{if empty|{{{label_position|}}}|{{{map_label_position|}}}}}
| label5 = Telefon
                    | mark = {{{mark|}}}
| data5 = {{#if:{{{Telefon|}}}|{{LinkPhone | phone = {{Vorwahl|{{{Map}}}}} {{{Telefon}}} | format = true }}}}  
                    | marksize = {{{mark_width|}}}
| label6 = Fax
                    | coordinates = {{if empty|{{{coordinates|}}}|{{{coords|}}}}} }}
|  data6 = {{#if:{{{Fax|}}}|{{LinkPhone | phone = {{Vorwahl|{{{Map}}}}} {{{Fax}}} | format = true | isFax=true }}}}  
          | {{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|{{{image_map|}}}}}}|size={{if empty|{{{map_size|}}}|{{{mapsize|}}}|{{{map_width|}}} }}|sizedefault=240px|maxsize=272px|alt={{{map_alt|}}}}}
| label7 = Website
          }}-->
|  data7 = {{#if:{{{Website|}}}|{{{Website}}}}}  
<!--|-
| label8 = E-Mail
| Koordinaten
| data8 = {{#if:{{{Mail|}}}|{{{Mail}}}}}  
| class="left" | {{#if:{{{coordinates|{{{coords|}}}}}}|{{#invoke:Coordinates|toDec|{{{coordinates|{{{coords|}}}}}}|type:landmark}}{{{coords_ref|}}}}}  -->
}}
|-
| colspan=2 align="center" style="background-color:#{{SkandWikiColor|{{{map|}}}-dark}}; color:#{{SkandWikiColor|white}};" | Kontakt
|- class="zebrablau" style="background-color: #{{SkandWikiColor|{{{map|}}}-light}};"
| Adresse
| class="left" |{{{Adresse}}}
|-
| Telefon
| class="left" | {{Calling code|{{{map}}}}} {{{Telefon|-}}}
|- class="zebrablau" style="background-color: #{{SkandWikiColor|{{{map|}}}-light}};"
| Fax
| class="left" | {{Calling code|{{{map}}}}} {{{Fax|-}}}
|-
| Webseite
| class="left" | {{#if: {{{Website|}}} | [{{{Website}}} {{#if: {{{Website-Text|}}} | {{{Website-Text}}} | {{{Website}}} }}] | - }}
|- class="zebrablau" style="background-color: #{{SkandWikiColor|{{{map|}}}-light}};"
| E-Mail
| class="left" | {{#if: {{{Mail-Name|}}} | {{{Mail-Name}}}{{@}}{{{Mail-Domain}}} | - }}
|}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>