Difference between revisions of "Template:Object"

From Agri4castWiki
Jump to: navigation, search
(Created page with '<span title="go to table defenition">{{{1}}}</span><noinclude> {{Templateinfo| === purpose === A template to create a tooltip and link to the…')
 
Line 1: Line 1:
[[Appendix 5: CGMS tables#{{{1}}}|<span title="go to table defenition">{{{1}}}</span>]]<noinclude>
+
[[Appendix 5: CGMS tables#{{{1}}}|<span title="go to table defenition">{{{2}}}</span>]]<noinclude>
  
 
{{Templateinfo|
 
{{Templateinfo|
Line 13: Line 13:
 
===Example===
 
===Example===
 
code:
 
code:
<pre>{{Object|GRID_WEATHER}}</pre>
+
<pre>{{Object|WEATHER_OBS_GRID}}</pre>
  
 
result:
 
result:
{{Object|GRID_WEATHER}}
+
{{Object|WEATHER_OBS_GRID|test}}
 
}}</noinclude>
 
}}</noinclude>

Revision as of 14:42, 20 February 2014

[[Appendix 5: CGMS tables#{{{1}}}|{{{2}}}]]

(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|my_table_name}}

Example

code:

{{Object|WEATHER_OBS_GRID}}

result: WEATHER_OBS_GRID