Vorlage:Infobox Types in area: Unterschied zwischen den Versionen

Aus KletterWiki
Wechseln zu: Navigation, Suche
[gesichtete Version][gesichtete Version]
Zeile 1: Zeile 1:
 
<onlyinclude>{| cellpadding="4mm" valign="top" style="border:2px solid #daf0ff;"
 
<onlyinclude>{| cellpadding="4mm" valign="top" style="border:2px solid #daf0ff;"
 
|-valign="top" halign="center"
 
|-valign="top" halign="center"
{{ #if:  {{{aid|}}} | }}  
+
{{ #ifexist:  {{PAGENAME}}/Aid | }}  
{{ #if:  {{{alpine|}}} | {{!}}{{Imagemap
+
{{ #ifexist:  {{PAGENAME}}/Alpine | {{!}}{{Imagemap
 
  | image=alpine.png
 
  | image=alpine.png
 
  | width=x50px  
 
  | width=x50px  
  | link={{PAGENAME}} (Alpin)
+
  | link={{PAGENAME}}/Alpine
 
  | Alt=  
 
  | Alt=  
  | tooltip={{PAGENAME}} Alpinklettern
+
  | tooltip={{PAGENAME}} alpine climbing
 
  | form=  
 
  | form=  
 
  | desc=none  
 
  | desc=none  
 
}} {{!}} }}
 
}} {{!}} }}
{{ #if:  {{{artificial|}}} | }}
+
{{ #ifexist:  {{PAGENAME}}/Art | }}
{{ #if:  {{{boulder|}}} | {{!}}{{Imagemap
+
{{ #ifexist:  {{PAGENAME}}/Bouldering | {{!}}{{Imagemap
 
  | image=bouldering.png
 
  | image=bouldering.png
 
  | width=x50px  
 
  | width=x50px  
  | link={{PAGENAME}} (Bloulder)
+
  | link={{PAGENAME}}/Bouldering
 
  | Alt=  
 
  | Alt=  
  | tooltip={{PAGENAME}} Bouldern
+
  | tooltip={{PAGENAME}} bouldering
 
  | form=  
 
  | form=  
 
  | desc=none  
 
  | desc=none  
 
}} {{!}} }}
 
}} {{!}} }}
{{ #if:  {{{dws|}}} | }}
+
{{ #ifexist:  {{PAGENAME}}/DWS | }}
{{ #if:  {{{gym|}}} | {{!}}{{Imagemap
+
{{ #ifexist:  {{PAGENAME}}/Gyms | {{!}}{{Imagemap
 
  | image=gym.png
 
  | image=gym.png
 
  | width=x50px  
 
  | width=x50px  
  | link={{PAGENAME}} (Hallen)
+
  | link={{PAGENAME}}/Gyms
 
  | Alt=  
 
  | Alt=  
  | tooltip={{PAGENAME}} Kletterhallen
+
  | tooltip={{PAGENAME}} gyms
 
  | form=  
 
  | form=  
 
  | desc=none  
 
  | desc=none  
 
}} {{!}} }}
 
}} {{!}} }}
{{ #if:  {{{ice|}}} | {{!}}{{Imagemap
+
{{ #ifexist:  {{PAGENAME}}/IceMixedDry | {{!}}{{Imagemap
 
  | image=ice.png
 
  | image=ice.png
 
  | width=x50px  
 
  | width=x50px  
  | link={{PAGENAME}} (IceMixedDry)
+
  | link={{PAGENAME}}/IceMixedDry
 
  | Alt=  
 
  | Alt=  
  | tooltip={{PAGENAME}} Eisklettern
+
  | tooltip={{PAGENAME}} ice climbing
 
  | form=  
 
  | form=  
 
  | desc=none  
 
  | desc=none  
 
}} {{!}} }}
 
}} {{!}} }}
{{ #if:  {{{rock|}}} | {{!}}{{Imagemap
+
{{ #ifexist:  {{PAGENAME}}/Rock | {{!}}{{Imagemap
 
  | image=rock.png
 
  | image=rock.png
 
  | width=x50px  
 
  | width=x50px  
  | link={{PAGENAME}} (Fels)
+
  | link={{PAGENAME}}/Rock
 
  | Alt=  
 
  | Alt=  
  | tooltip={{PAGENAME}} Felsklettern
+
  | tooltip={{PAGENAME}} rock climbing
 
  | form=  
 
  | form=  
 
  | desc=none  
 
  | desc=none  
 
}} {{!}} }}
 
}} {{!}} }}
{{ #if:  {{{sport|}}} | {{!}}{{Imagemap
+
{{ #ifexist:  {{PAGENAME}}/Sport | {{!}}{{Imagemap
 
  | image=sport.png
 
  | image=sport.png
 
  | width=x50px  
 
  | width=x50px  
  | link={{PAGENAME}} (Sport)
+
  | link={{PAGENAME}}/Sport
 
  | Alt=  
 
  | Alt=  
  | tooltip={{PAGENAME}} Sportklettern
+
  | tooltip={{PAGENAME}} sport climbing
 
  | form=  
 
  | form=  
 
  | desc=none  
 
  | desc=none  
 
}} {{!}} }}
 
}} {{!}} }}
{{ #if:  {{{trad|}}} | {{!}}{{Imagemap
+
{{ #ifexist:  {{PAGENAME}}/Trad | {{!}}{{Imagemap
 
  | image=tradclimbing.png
 
  | image=tradclimbing.png
 
  | width=x50px  
 
  | width=x50px  
  | link={{PAGENAME}} (Trad)
+
  | link={{PAGENAME}}/Trad
 
  | Alt=  
 
  | Alt=  
 
  | tooltip={{PAGENAME}} trad climbing
 
  | tooltip={{PAGENAME}} trad climbing
Zeile 70: Zeile 70:
 
</onlyinclude>
 
</onlyinclude>
 
<noinclude>
 
<noinclude>
<pre>{{Infobox Types in area
+
<pre>{{Infobox Types in area}}</pre> Diese Infobox stellt automatisch Links für die entsprechenden Subpages, falls sie existieren.
|aid=
+
|alpine=
+
|artificial=
+
|boulder=
+
|dws=
+
|gym=
+
|ice=
+
|rock=
+
|sport=
+
|trad=
+
}}</pre>
+
{{Infobox Types in area|alpine=1|boulder=1|ice=1|gym=1|sport=1|trad=1}}
+
 
</noinclude>
 
</noinclude>

Version vom 20. Juni 2009, 14:55 Uhr


{{Infobox Types in area}}
Diese Infobox stellt automatisch Links für die entsprechenden Subpages, falls sie existieren.