Template:SiteSearch

From The Scuba Wiki

(Difference between revisions)
Jump to: navigation, search
 
(11 intermediate revisions not shown)
Line 4: Line 4:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
-
'''The results below are from the last search.  Edit the page with the "edit with form" tab above to run your search.'''
+
'''To run your own search, click [{{SERVER}}/wiki/index.php?title={{FULLPAGENAMEE}}&action=formedit here.]'''
Search parameters:
Search parameters:
Line 22: Line 22:
! Current/Surge:
! Current/Surge:
| {{#arraymap:{{{searchcurrent|}}}|,|x|[[Search_current::x]]}}
| {{#arraymap:{{{searchcurrent|}}}|,|x|[[Search_current::x]]}}
 +
|-
 +
! Tech Dive Type:
 +
| {{#arraymap:{{{searchtechdivetype|}}}|,|x|[[Search_techdivetype::x]]}}
|}
|}
----
----
-
'''Double click on the map to zoom in to a specific region.'''
+
{| style="width: 36em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
-
 
+
! Double click on the map to zoom in to a specific region. &nbsp; &nbsp; &nbsp; <font color="red">Browse all sites in [[{{#ask:[[{{PAGENAME}}]]|?Search_region#=}} Map|{{#ask:[[{{PAGENAME}}]]|?Search_region#=}}]]</font>
-
'''Click on the indicator for a link to the Dive Site page.'''
+
|-
-
 
+
! Click on the indicator for a link to the Dive Site page &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <font color="red">Browse the [[World Map]]</font>.
-
{{#ask:[[Category:Dive Site]]
+
|-
 +
|{{#ask:[[Category:Dive Site]]
       [[Category:{{#ask:[[{{PAGENAME}}]]|?Search_region#=}}]]
       [[Category:{{#ask:[[{{PAGENAME}}]]|?Search_region#=}}]]
       {{#if: {{{searchwatertype|}}} |[[Site_watertype::{{#ask:[[{{PAGENAME}}]]|?Search_watertype#=}}]]|}}
       {{#if: {{{searchwatertype|}}} |[[Site_watertype::{{#ask:[[{{PAGENAME}}]]|?Search_watertype#=}}]]|}}
Line 36: Line 40:
       {{#if: {{{searchdivetype|}}} |[[Site_divetype::{{#ask:[[{{PAGENAME}}]]|?Search_divetype#=}}]]|}}
       {{#if: {{{searchdivetype|}}} |[[Site_divetype::{{#ask:[[{{PAGENAME}}]]|?Search_divetype#=}}]]|}}
       {{#if: {{{searchcurrent|}}} |[[Site_current::{{#ask:[[{{PAGENAME}}]]|?Search_current#=}}]]|}}
       {{#if: {{{searchcurrent|}}} |[[Site_current::{{#ask:[[{{PAGENAME}}]]|?Search_current#=}}]]|}}
-
   | ?site_gpscoord|format=googlemaps|height=400|width=600|type=hybrid}}
+
      {{#if: {{{searchtechdivetype|}}} |[[Site_techdivetype::{{#ask:[[{{PAGENAME}}]]|?Search_techdivetype#=}}]]|}}
-
 
+
   | ?site_gpscoord|format=googlemaps|height=400|width=600|type=hybrid|limit=1000}}
 +
|}
{{#ask:[[Category:Dive Site]]
{{#ask:[[Category:Dive Site]]
       [[Category:{{#ask:[[{{PAGENAME}}]]|?Search_region#=}}]]
       [[Category:{{#ask:[[{{PAGENAME}}]]|?Search_region#=}}]]
-
      [[Site_gpscoord::]]
 
       {{#if: {{{searchwatertype|}}} |[[Site_watertype::{{#ask:[[{{PAGENAME}}]]|?Search_watertype#=}}]]|}}
       {{#if: {{{searchwatertype|}}} |[[Site_watertype::{{#ask:[[{{PAGENAME}}]]|?Search_watertype#=}}]]|}}
       {{#if: {{{searchskill|}}} |[[Site_skilllevel::{{#ask:[[{{PAGENAME}}]]|?Search_skilllevel#=}}]]|}}
       {{#if: {{{searchskill|}}} |[[Site_skilllevel::{{#ask:[[{{PAGENAME}}]]|?Search_skilllevel#=}}]]|}}
       {{#if: {{{searchdivetype|}}} |[[Site_divetype::{{#ask:[[{{PAGENAME}}]]|?Search_divetype#=}}]]|}}
       {{#if: {{{searchdivetype|}}} |[[Site_divetype::{{#ask:[[{{PAGENAME}}]]|?Search_divetype#=}}]]|}}
       {{#if: {{{searchcurrent|}}} |[[Site_current::{{#ask:[[{{PAGENAME}}]]|?Search_current#=}}]]|}}
       {{#if: {{{searchcurrent|}}} |[[Site_current::{{#ask:[[{{PAGENAME}}]]|?Search_current#=}}]]|}}
-
   | }}
+
      {{#if: {{{searchtechdivetype|}}} |[[Site_techdivetype::{{#ask:[[{{PAGENAME}}]]|?Search_techdivetype#=}}]]|}}
 +
   | ?site_gpscoord#=GPS Waypoint}}
-
__SHOWFACTBOX__
 
[[Category:SiteSearch]]</includeonly>
[[Category:SiteSearch]]</includeonly>

Latest revision as of 16:09, 2 February 2010

This is the "SiteSearch" template.

Edit the page to see the template text.

support the site