Difference between revisions of "Template:Object"

From Agri4castWiki
Jump to: navigation, search
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Appendix 5: CGMS tables#{{{1}}}|<span title="go to table defenition">{{{2}}}</span>]]<noinclude>
+
<includeOnly>[[Appendix_5:_Database_objects/{{{2|CGMS14xxx}}}#{{{1}}}|<span title="go to table defenition">{{{1}}}</span>]]</includeOnly><noinclude>
  
 
{{Templateinfo|
 
{{Templateinfo|
Line 9: Line 9:
  
 
=== Code ===
 
=== Code ===
<pre>{{Object|my_table_name}}</pre>
+
<pre>{{Object|table_name|database_name (default: CGMS14xxx)}}</pre>
  
 
===Example===
 
===Example===
Line 16: Line 16:
  
 
result:
 
result:
{{Object|WEATHER_OBS_GRID|test}}
+
{{Object|WEATHER_OBS_GRID}}
 
}}</noinclude>
 
}}</noinclude>

Latest revision as of 13:11, 7 March 2016


(The template info below is not shown when the template is used in a page)

purpose

A template to create a tooltip and link to the table defenition.

usage

Adds a hover tekst "go to table defenition" to the link, which can be viewed in most browsers by holding the mouse cursor over the table name. When clicking the link you will be pointed to the defenition of the corresponding table.

Code

{{Object|table_name|database_name (default: CGMS14xxx)}}

Example

code:

{{Object|WEATHER_OBS_GRID}}

result: WEATHER_OBS_GRID