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

From Heureka Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
#Search for page "Variable:name" where ''name'' is the name of the variable you want to make an article for.  
+
#Search for page "Variable:VarName" where ''VarName'' is the name of the variable you want to make an article for.  
 
#Accept to create the new page
 
#Accept to create the new page
#Use template ForestInputData by adding the following text:<pre> {{ForestInputData}}</pre>
+
#The template AddNewVariable is automatically loaded (which in turn uses ForestInputData which has the field definitions)
#Click Preview
+
#Edit the parameter values after the "="-signs according to your choice
#Now you can see the template parameters in triple-brackets
 
#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>
 
{{ForestInputData
 
  |description = field vegetation code according to NFI...
 
  |type = integer
 
}}
 
</pre>
 
In the example, "description" and "type" are the parameter names, and the text after the "="-sign the value given to these parameters.
 

Latest revision as of 08:09, 24 October 2008

  1. Search for page "Variable:VarName" where VarName is the name of the variable you want to make an article for.
  2. Accept to create the new page
  3. The template AddNewVariable is automatically loaded (which in turn uses ForestInputData which has the field definitions)
  4. Edit the parameter values after the "="-signs according to your choice