Difference between revisions of "Help:Using templates in OA"

From Testiwiki
Jump to: navigation, search
m (clarified the instructions)
m (further clarify)
Line 10: Line 10:
 
* [[template:nugget|nugget]] ([[nugget|description]])
 
* [[template:nugget|nugget]] ([[nugget|description]])
  
Example:<br><br>
 
  
If you want to denote your wikipage as a '''method object''', insert the following wikicode at the beginning of your wikipage:
+
'''Example:''' If you want to denote your wikipage as a '''method object''', insert the following wikicode at the beginning of your wikipage:
 
<pre>{{method}}</pre>
 
<pre>{{method}}</pre>
You can also add more categories to your wikipage by placing an optional parameter into the template code:
+
If you want, you can also assign your wikipage into a specific category (in the example below: "Intarese method") by inserting the name of that category within the template code:
<pre>{{method|intarese method}}</pre>
+
<pre>{{method|Intarese method}}</pre>
 +
 
 +
(The conventional way to do this would be to add the code <nowiki>[[Category:Intarese method]]</nowiki> at the end of your wikipage.)

Revision as of 09:39, 8 October 2008

Creating a new OA object

Currently we have the following OA objects:


Example: If you want to denote your wikipage as a method object, insert the following wikicode at the beginning of your wikipage:

{{method}}

If you want, you can also assign your wikipage into a specific category (in the example below: "Intarese method") by inserting the name of that category within the template code:

{{method|Intarese method}}

(The conventional way to do this would be to add the code [[Category:Intarese method]] at the end of your wikipage.)