Function: RenderMapplusLinks

Parameters

Implementation

%STARTINCLUDE%
%~~ DBQUERY{topic="%name%"
*~~ format="%DBCALL{"%TOPIC%" section="format"}%"}%
%STOPINCLUDE%

Format

%STARTSECTION{"format"}%
~~~    <li>Anzeige in der [[http://www.mapplus.ch/][Mapplus]] Onlinekarte (Topographische Karte der Swisstopo)
~~~    <ul>
$percntCALC{$IF($EXACT($formfield(Einstiegskoordinate_x),),<li>Es wurden noch keine Einstiegskoordinaten eingegeben</li>,<li><a href='
*~~ https://canyon.carto.net/cwiki/bin/custom/create_mapplus_links.pl?x=$expand(Einstiegskoordinate_x)&
*~~ y=$expand(Einstiegskoordinate_y)&icon=6' target='_new'>Einstieg</a></li>)}$percnt
$percntCALC{$IF($EXACT($formfield(Ausstiegskoordinate_x),),<li>Es wurden noch keine Ausstiegskoordinaten eingegeben</li>,<li><a href='
*~~ https://canyon.carto.net/cwiki/bin/custom/create_mapplus_links.pl?x=$expand(Ausstiegskoordinate_x)&
*~~ y=$expand(Ausstiegskoordinate_y)&icon=12' target='_new'>Ausstieg</a></li>)}$percnt
~~~    </ul>

%ENDSECTION{"format"}%

Test

  • Anzeige in der Mapplus Onlinekarte (Topographische Karte der Swisstopo)

  • -- PeterSykora - 25 Mar 2009

    Topic revision: r1 - 2009-03-25 - PeterSykora