הבדלים בין גרסאות בדף "תבנית:Search item widget"
מתוך iNature
(removes map) |
|||
(21 גרסאות ביניים של אותו משתמש אינן מוצגות) | |||
שורה 10: | שורה 10: | ||
--><blockquote>{{{?Description|}}}</blockquote><!-- | --><blockquote>{{{?Description|}}}</blockquote><!-- | ||
--><dl class="dl-horizontal"><!-- | --><dl class="dl-horizontal"><!-- | ||
− | --><dt>{{int:inature-search-string-page-types}}</dt><dd>{{{?PageType|-}}}</dd><!-- | + | --><!--<dt>{{int:inature-search-string-page-types}}</dt><dd>{{{?PageType|-}}}</dd>--><!-- |
− | --><dt>{{int:inature-search-string-page-season}}</dt><dd> | + | -->{{#if:{{{?Season|}}}|<dt>{{int:inature-search-string-page-season}}</dt><dd>{{#arraymap:{{{?Season}}}|,|x|<span class="label label-success">x</span>| }}</dd>}}<!-- |
− | --><dt>{{int:inature-search-string-page-tags}}</dt><dd>{{#if:{{{?Tags|}}}|{{#arraymap:{{{?Tags | + | --><dt>{{int:inature-search-string-page-tags}}</dt><dd>{{#if:{{{?Tags|}}}|{{#arraymap:{{#show: {{{?title}}}|?Tags}}|,|x|<span class="stag stag-{{#replace:x| |-}}">x</span>| }}}}</dd><!-- |
--><dt>{{int:inature-search-string-area}}</dt><dd>{{#if:{{{?Area|}}}|{{{?Area}}}|—}}</dd><!-- | --><dt>{{int:inature-search-string-area}}</dt><dd>{{#if:{{{?Area|}}}|{{{?Area}}}|—}}</dd><!-- | ||
− | --><dt>{{int:inature-search-string-difficulty}}</dt><dd> | + | -->{{#if:{{{?Difficulty|}}}|<dt>{{int:inature-search-string-difficulty}}</dt><dd>{{{?Difficulty}}}</dd>}}<!-- |
− | -->{{#ifeq:{{{?PageType|}}}|Tourist attractions|<dt>POI Type</dt><dd>{{#if:{{{?Attraction type|}}}|{{{?Attraction type|}}}|—}}</dd>}}<!-- | + | --><!--{{#ifeq:{{{?PageType|}}}|Tourist attractions|<dt>POI Type</dt><dd>{{#if:{{{?Attraction type|}}}|{{{?Attraction type|}}}|—}}</dd>}}--><!-- |
--></dl><!-- | --></dl><!-- | ||
--></div><!-- | --></div><!-- | ||
שורה 21: | שורה 21: | ||
-->{{#if:{{{?Location coordinates|}}}|<div class="row"><!-- | -->{{#if:{{{?Location coordinates|}}}|<div class="row"><!-- | ||
--><div class="col-md-12"><!-- | --><div class="col-md-12"><!-- | ||
− | -->{{#display_map:{{{?Location coordinates}}}|zoom=7|height=150|static=yes|controls=zoom|service= | + | --><!--{{#display_map:{{{?Location coordinates}}}|zoom=7|height=150|static=yes|controls=zoom|service=openlayer}}--><!-- |
--></div><!-- | --></div><!-- | ||
--></div>}}<!-- | --></div>}}<!-- |