Jump to content

Template:ABCD: Difference between revisions

From IdeaWazaWiki
wikademia>Rayc
mNo edit summary
wikademia>Wikademia
m 20 revisions
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<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}}}  }}  
{{#if:{{{Question|}}} | {{{Question}}}  }}  
|}</includeonly>
|}
{{MultiCol}}
<div class="NavFrame" style="clear:left; text-align: center; border: 0px; width:200px">
<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">
<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">
<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">
<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>
<noinclude>
==Usage==
 
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  
:{{ABCD  
:| Question =  
:| 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
| 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
}}
[[Category:Templates]]
[[de:Vorlage:ABCD]]
</noinclude>
</noinclude>

Latest revision as of 05:21, 23 March 2009


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