Difference between revisions of "Help:Document a Heureka variable"

From Heureka Wiki
Jump to navigation Jump to search
(New page: #Search for page "Variable:name" where ''name'' is the name of the variable you want to make an article for. #Accept to create the new page #Use template ForestInputData by adding the fol...)
 
Line 4: Line 4:
 
#Click Preview
 
#Click Preview
 
#Now you can see the template parameters in triple-brackets
 
#Now you can see the template parameters in triple-brackets
#Assign each parameter a value (for example a string) by inserting a vertical bar after ForestInputData, foolowed by the parameter name. Example:  
+
#Use the preview to find out the name of each parameter expected. Manually assign each parameter a value (for example a string) by inserting a vertical bar after ForestInputData, foolowed by the parameter name. Example:  
 
<pre>
 
<pre>
 
  {{ForestInputData  
 
  {{ForestInputData  
|description = field vegetation code according to NFI...
+
  |description = field vegetation code according to NFI...
 +
  |type = integer
 
  }}
 
  }}
 
</pre>
 
</pre>
 +
In the example, "description" and "type" are the parameter names, and the text after the "="-sign the value given to these parameters.

Revision as of 15:19, 2 September 2008

  1. Search for page "Variable:name" where name is the name of the variable you want to make an article for.
  2. Accept to create the new page
  3. Use template ForestInputData by adding the following text:
     {{ForestInputData}}
  4. Click Preview
  5. Now you can see the template parameters in triple-brackets
  6. Use the preview to find out the name of each parameter expected. Manually assign each parameter a value (for example a string) by inserting a vertical bar after ForestInputData, foolowed by the parameter name. Example:
 {{ForestInputData 
  |description = field vegetation code according to NFI...
  |type = integer
 }}

In the example, "description" and "type" are the parameter names, and the text after the "="-sign the value given to these parameters.