Cookies help us deliver our services. By using our services, you agree to our use of cookies. More information

Difference between revisions of "Template:ABCD"

From Bioblast
(Created page with "{{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...")
 
Line 1: Line 1:
{{ABCD
<includeonly>
| Question = Question goes here
<div class="multilingual" style="background-color:#f7f8ff; text-align:justify; padding:5px; border:1px solid #8888aa; border-right-width:2px; border-bottom-width:2px; margin-bottom:2em" >
{|
{{#if:{{{Question|}}} | {{{Question}}}  }}
|}
{{MultiCol}}
<div class="NavFrame" style="clear:left; text-align: center; border: 0px; width:200px; cursor:pointer">
<div class="NavHead" style="background-color:transparent; text-align:left"> '''{{#if:{{{Atext|}}}''' | {{{Atext}}}  }} </div>
<div class="NavContent" style="text-align:left">
{{#if:{{{Aanswer|}}} | {{{Aanswer}}} }}
</div>
</div>
<div class="NavEnd">&nbsp;</div>
{{ColBreak}}
<div class="NavFrame" style="clear:left; text-align: center; border: 0px; width:200px; cursor:pointer">
<div class="NavHead" style="background-color:transparent; text-align:left"> '''{{#if:{{{Btext|}}}''' | {{{Btext}}}  }}</div>
<div class="NavContent" style="text-align:left">
{{#if:{{{Banswer|}}} | {{{Banswer}}} }}
</div>
</div>
<div class="NavEnd">&nbsp;</div>
{{ColBreak}}
<div class="NavFrame" style="clear:left; text-align: center; border: 0px; width:200px; cursor:pointer">
<div class="NavHead" style="background-color:transparent; text-align:left"> '''{{#if:{{{Ctext|}}}''' | {{{Ctext}}}  }}</div>
<div class="NavContent" style="text-align:left">
{{#if:{{{Canswer|}}} | {{{Canswer}}} }}
</div>
</div>
<div class="NavEnd">&nbsp;</div>
{{ColBreak}}
<div class="NavFrame" style="clear:left; text-align: center; border: 0px; width:200px; cursor:pointer">
<div class="NavHead" style="background-color:transparent; text-align:left"> '''{{#if:{{{Dtext|}}}''' | {{{Dtext}}}  }}</div>
<div class="NavContent" style="text-align:left">
{{#if:{{{Danswer|}}} | {{{Danswer}}} }}
</div>
</div>
<div class="NavEnd">&nbsp;</div>
{{EndMultiCol}}
</div>
</includeonly>
<noinclude>
 
This template creates a test question with four choices and answers. The choices will automatically be bolded, but 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:
{{ABCD  
| Question = Question goes here  
| Atext = A text goes here
| Atext = A text goes here
| Aanswer = Answer for A goes here
| Aanswer = Answer for A goes here
Line 10: Line 68:
| Danswer = Answer for D goes here
| Danswer = Answer for D goes here
}}
}}
[[Category:Templates]]
[[de:Vorlage:ABCD]]
</noinclude>

Revision as of 23:27, 3 November 2018


This template creates a test question with four choices and answers. The choices will automatically be bolded, but 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

de:Vorlage:ABCD