Difference between revisions of "Extension:FlashCard"
Jump to navigation
Jump to search
(New page: {{toplink |linkpage =Help:Extensions |linktext =Extensions |pagetype=Help }} ===Syntax === Call the extension by useing the tag <code><nowiki><FlashCard></nowiki></code>and then uss the fo...) |
|||
| Line 5: | Line 5: | ||
}} | }} | ||
===Syntax === | ===Syntax === | ||
| − | Call the extension by useing the tag <code><nowiki><FlashCard></nowiki></code>and then uss the following parameters. | + | Call the extension by useing the tag <code><nowiki><FlashCard></nowiki></code> and then uss the following parameters. |
{|border="2" width="800px" align="left" cellspacing="0" cellpadding="4" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show" | {|border="2" width="800px" align="left" cellspacing="0" cellpadding="4" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse;empty-cells:show" | ||
!bgcolor="#A7C1F2" width="100px"|Parameter | !bgcolor="#A7C1F2" width="100px"|Parameter | ||
Revision as of 13:43, 27 February 2010
|
|
Syntax
Call the extension by useing the tag <FlashCard> and then uss the following parameters.
| Parameter | Output |
|---|---|
| questions=x | Declared inside the tag. Where x is equal to the number of questions |
| qx= | Where x is the question number |
| ax= | Defines the answer for the question. Where x is the question number the answer belongs to. |
| lx= | Defines the article link for the question. Where x is the question number the link belongs to. |
ie.
<FlashCard questions="2">
|q1=
|a1=
|l1=
|q2=
|a2=
|l2=
</FlashCard>
Example
| Syntax |
<FlashCard questions="3">
| ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Output |
| ||||||||||||||||