Template:SearchTest

From The Scuba Wiki

(Difference between revisions)
Jump to: navigation, search
 
(34 intermediate revisions not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "SearchTest" template.
This is the "SearchTest" template.
-
It should be called in the following format:
+
 
-
<pre>
+
-
{{SearchTest
+
-
|searchwatertype=
+
-
}}
+
-
</pre>
+
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
-
{| class="wikitable"
+
{| style="font-size: 90%; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; text-align:left;"
-
! searchwatertype
+
! Water Type:
| {{#arraymap:{{{searchwatertype|}}}|,|x|[[Search_watertype::x]]}}
| {{#arraymap:{{{searchwatertype|}}}|,|x|[[Search_watertype::x]]}}
|-
|-
-
! searchregion
+
! Region:
| {{#arraymap:{{{searchregion|}}}|,|x|[[Search_region::x]]}}
| {{#arraymap:{{{searchregion|}}}|,|x|[[Search_region::x]]}}
 +
|-
 +
! Skill Level:
 +
| {{#arraymap:{{{searchskill|}}}|,|x|[[Search_skilllevel::x]]}}
|}
|}
-
{{PAGENAME}}
 
-
{{#ask: [[{{PAGENAME}}]] | ?Search_watertype#=}}
+
'''Double click on the map to zoom in to a specific region.'''
 +
'''Click on the indicator for a link to the Dive Site page.'''
{{#ask:[[Category:Dive Site]]
{{#ask:[[Category:Dive Site]]
-
       [[Category:{{#ask: [[{{PAGENAME}}]] | ?Search_region#=}}]]
+
       [[Category:{{#ask:[[{{PAGENAME}}]]|?Search_region#=}}]]
-
       [[Site_watertype::{{#ask: [[{{PAGENAME}}]] | ?Search_watertype#=}}]]
+
       {{#if: {{{searchskill|}}} |[[Site_watertype::{{#ask:[[{{PAGENAME}}]]|?Search_watertype#=}}]]|}}
-
   |? site_gpscoord|format=googlemaps|height=600|width=800|type=hybrid}}
+
      {{#if: {{{searchskill|}}} |[[Site_skilllevel::{{#ask:[[{{PAGENAME}}]]|?Search_skilllevel#=}}]]|}}
 +
   | ?site_gpscoord|format=googlemaps|height=400|width=600|type=hybrid}}
-
[[Category:SearchTest]]
+
[[Category:SearchTest]]</includeonly>
-
</includeonly>
+

Latest revision as of 03:37, 29 January 2010

This is the "SearchTest" template.

Edit the page to see the template text.

Personal tools
support the site