Help:Using templates in OA: Difference between revisions

From Opasnet
Jump to navigation Jump to search
m (changed object description link first, template link in brackets))
(→‎Creating a new OA object: removed categorising by using parameter)
Line 13: Line 13:
'''Example:''' 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>
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>


(The conventional way to do this would be to add the code <nowiki>[[Category:Intarese method]]</nowiki> at the end of your wikipage.)
Remember to assign your page into some category as well. 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 13:43, 9 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}}

Remember to assign your page into some category as well. The conventional way to do this would be to add the code [[Category:Intarese method]] at the end of your wikipage.)