Jump to content

Template:ABCD: Difference between revisions

From IdeaWazaWiki
wikademia>Rayc
mNo edit summary
wikademia>Rayc
I wonder why I never noticed that bug...
Line 8: Line 8:
<div class="NavHead" style="background-color:transparent; text-align:left"> '''{{#if:{{{Atext|}}}''' | {{{Atext}}}  }} </div>
<div class="NavHead" style="background-color:transparent; text-align:left"> '''{{#if:{{{Atext|}}}''' | {{{Atext}}}  }} </div>
<div class="NavContent" style="text-align:left">
<div class="NavContent" style="text-align:left">
{{#if:{{{Danswer|}}} | {{{Aanswer}}} }}
{{#if:{{{Aanswer|}}} | {{{Aanswer}}} }}
</div>
</div>
</div>
</div>
Line 16: Line 16:
<div class="NavHead" style="background-color:transparent; text-align:left"> '''{{#if:{{{Btext|}}}''' | {{{Btext}}}  }}</div>
<div class="NavHead" style="background-color:transparent; text-align:left"> '''{{#if:{{{Btext|}}}''' | {{{Btext}}}  }}</div>
<div class="NavContent" style="text-align:left">
<div class="NavContent" style="text-align:left">
{{#if:{{{Danswer|}}} | {{{Banswer}}} }}
{{#if:{{{Banswer|}}} | {{{Banswer}}} }}
</div>
</div>
</div>
</div>
Line 24: Line 24:
<div class="NavHead" style="background-color:transparent; text-align:left"> '''{{#if:{{{Ctext|}}}''' | {{{Ctext}}}  }}</div>
<div class="NavHead" style="background-color:transparent; text-align:left"> '''{{#if:{{{Ctext|}}}''' | {{{Ctext}}}  }}</div>
<div class="NavContent" style="text-align:left">
<div class="NavContent" style="text-align:left">
{{#if:{{{Danswer|}}} | {{{Canswer}}} }}
{{#if:{{{Canswer|}}} | {{{Canswer}}} }}
</div>
</div>
</div>
</div>

Revision as of 00:09, 24 October 2006


This template create a test question with four choices and answers. The choices will automatically be bolded, by the answers will not be.

Usage

{{ABCD
| Question = Question goes here
| Atext = A text goes here
| Aanswer = Answer for A goes here
| Btext = B text goes here
| Banswer = Answer for B goes here
| Ctext = C text goes here
| Canswer = Answer for C goes here
| Dtext = D text goes here
| Danswer = Answer for D goes here
}}

which produces:

Question goes here