|
|
Line 1: |
Line 1: |
| <noinclude> | | <noinclude> |
| Dies ist die Vorlage „TauchplatzInfobox“.
| | This template is the corresponding template for the FileUpload Form. |
| Sie sollte im folgenden Format genutzt werden:
| |
| <pre>
| |
| {{TauchplatzInfobox
| |
| |Name=
| |
| |Kurzbeschreibung=
| |
| |Has coordinates=
| |
| |Has maxDepth=
| |
| |ImageLink=
| |
| |ratingGesamt=
| |
| |ratingSchwierigkeit=
| |
| |ratingFlora=
| |
| |ratingFauna=
| |
| |durchschnittlicheSichtweite=
| |
| }}
| |
| </pre>
| |
| Klick auf „Bearbeiten“, um den Quelltext der Vorlage anzusehen.
| |
| </noinclude> | | </noinclude> |
| <onlyinclude> | | <includeonly> |
| <div class="TauchplatzInfoboxOuter">
| | {| |
| <div class="TauchplatzInfobox">
| | ! [[Property:FileName|FileName]] |
| <!-- ---------------------------------------------------------------------------------------------------------------------------- -->
| | | [[FileName::File:{{{File name|}}}]] |
| <div style="background:lightsteelblue; margin-bottom:2px; text-align:center; font-size:118%; font-weight:bold; width:100%;">
| |
| {{#if: {{{Name|}}}|{{{Name|}}}|{{PAGENAME}} }}
| |
| </div>
| |
| {| style="width:100%; text-align:left; font-weight:bold;" | |
| <!-- ---------------------------------------------------------------------------------------------------------------------------- -->
| |
| |Rating | |
| |{{Rating|{{{ratingGesamt|}}}|14px|File:Star_full.png|File:Star_half.png|File:Star_empty.png}} | |
| |({{{Votes|}}} Votes)
| |
| |- | | |- |
| <!-- ---------------------------------------------------------------------------------------------------------------------------- -->
| | ! [[Property:Datum|Datum]] |
| |Schwierigkeitsgrad | | | [[Datum::{{{Datum|}}}]] |
| |{{Rating|{{{ratingSchwierigkeit|}}}|14px|File:Ausrufezeichen_full.png|File:Ausrufezeichen_half.png|File:Ausrufezeichen_empty.png}} | |
| |({{{Votes|}}} Votes)
| |
| |- | | |- |
| <!-- ---------------------------------------------------------------------------------------------------------------------------- -->
| | ! [[Property:Location|Location]] |
| |Flora | | | [[Location::{{{Location|}}}]] |
| |{{Rating|{{{ratingFlora|}}}|14px|File:Seegras_full.png|File:Seegras_half.png|File:Seegras_empty.png}} | |
| |({{{Votes|}}} Votes)
| |
| |- | | |- |
| <!-- ---------------------------------------------------------------------------------------------------------------------------- -->
| | ! [[Property:FileType|FileType]] |
| |Fauna | | | [[FileType::{{{FileType|}}}]] |
| |{{Rating|{{{ratingFauna|}}}|14px|File:Fish_full.png|File:Fish_half.png|File:Fish_empty.png}} | |
| |({{{Votes|}}} Votes)
| |
| |- | | |- |
| <!-- ---------------------------------------------------------------------------------------------------------------------------- -->
| | ! [[Property:Rechteinhaber|Rechteinhaber]] |
| |Maximale Tiefe | | | [[Eigentümer::{{{owner|}}}]] |
| |colspan="2"| | |
| {{#if: {{{Has maxDepth|}}}
| |
| | {{{Has maxDepth}}} m | |
| |
| |
| }} | |
| |- | | |- |
| <!-- ---------------------------------------------------------------------------------------------------------------------------- -->
| | ! [[Property:Quelle|Quelle]] |
| |Durchschnittliche Sichtweite | | | [[Quelle::{{{source|}}}]] |
| |colspan=2| | |
| {{#ifexpr:{{{durchschnittlicheSichtweite|}}}>-1
| |
| |{{{durchschnittlicheSichtweite|}}} m
| |
| | Keine Sichtweiten gemeldet}}
| |
| <!-- {{#if: {{{durchschnittlicheSichtweite|}}}>-1 -->
| |
| <!-- | {{{durchschnittlicheSichtweite|}}} m -->
| |
| <!-- | keine gemeldeten Sichtweiten -->
| |
| <!-- }} -->
| |
| |- | | |- |
| <!-- ---------------------------------------------------------------------------------------------------------------------------- -->
| | ! [[Property:Lizenz|Lizenz]] |
| |Koordinaten | | | [[Lizenz::{{{license|}}}]] |
| |colspan="2"|{{{Has coordinates}}} | | |- |
| |- | | ! [[Property:Lizenzkommentar|Lizenzkommentar]] |
| |colspan="3"|{{#if:{{{ImageLink|}}}|<div class="res-img">[[File:{{{ImageLink}}}]]</div>|<div class="res-img">[[File:keinbild.gif]]</div>}}
| | | [[Lizenzkommentar::{{{licenseComment|}}}]] |
| |} | | |} |
| {{#ask:[[{{PAGENAME}}]]
| | |
| | ?MapMarkerList
| | [[Category:UploadedFile]] |
| |format=template
| | {{#default_form:FileUpload}} |
| |template=GoogleMapsSymbolsPlot
| | |
| }}
| | </includeonly> |
| </div>
| |
| </div>
| |
| <!-- ---------------------------------------------------------------------------------------------------------------------------- -->
| |
| {{#set: | |
| Kurzbeschreibung={{{Kurzbeschreibung|}}}
| |
| |Rating={{{ratingGesamt|}}}
| |
| |RatingFlora={{{ratingFlora|}}}
| |
| |RatingFauna={{{ratingFauna|}}}
| |
| |Schwierigkeit={{{ratingSchwierigkeit|}}}
| |
| |Koordinaten={{{Has coordinates|}}}
| |
| |Maximaltiefe={{{Has maxDepth|}}}
| |
| |Durchschnittliche Sichtweite={{{durchschnittlicheSichtweite|}}}
| |
| |Votes={{{Votes|}}}
| |
| |Location={{PAGENAME}}
| |
| }}
| |
| </onlyinclude> | |