Odp:Development

From Odp

(Difference between revisions)
Jump to: navigation, search
(Testing Variables extension)
(Testing Variables extension)
Line 19: Line 19:
==Testing Variables extension==
==Testing Variables extension==
Details about this extension can be found [http://www.mediawiki.org/wiki/Extension:Variables here]
Details about this extension can be found [http://www.mediawiki.org/wiki/Extension:Variables here]
 +
Syntax:
Syntax:
<pre>
<pre>

Revision as of 13:30, 7 May 2008

This page is used to discuss new features between ODP admiinistrators, testing templates or new extensions.


Testing ImageMap extension

ImageMap extension is installed. BUT IT DOES NOT WORK ALREADY.

<imagemap>
Image:Foo.jpg|200px|picture of a foo
poly 131 45 213 41 210 110 127 109 [[Community:Display|Display]]
poly 104 126 105 171 269 162 267 124 [[Community:Keyboard|Keyboard]]
rect 15 95 94 176   [[Community:Foo type A|Foo type A]]
# A comment, this line is ignored
circle 57 57 20    [[Community:Foo type B|Foo type B]]
desc bottom-left
</imagemap>

Testing Variables extension

Details about this extension can be found here

Syntax:

{{#vardefine:A|value of A}}
{{#vardefine:B|1000}}
Value of A is '''{{#var:A}}''' and value of B is '''{{#var:B}}'''

Result:


Value of A is value of A and value of B is 1000

Testing template Definition

Title of definition
We test if the second paramenter of the template allows use of wikitext.

Of example:

  • bullett list of
  • items
Personal tools
Quality Committee
Content OP publishers