Template:WWTBAM question and Template:WWTBAM question/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
m add lang="" on A, B, C, D: not really in english => don't need translate |
OliverGalvin (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="WWTBAM question/styles.css" /> |
|||
{| cellpadding="5" cellspacing="2" style="{{#if:{{{float|}}}|width:350px; float:{{{float}}}|width:500px;}}" |
{| cellpadding="5" cellspacing="2" style="{{#if:{{{float|}}}|width:350px; float:{{{float}}}|width:500px;}}" |
||
|- class="wwtbam-title" |
|||
|- style="text-align:center; background-color:#CFB53B;" |
|||
| colspan="2" | '''{{{value}}}''' |
| colspan="2" | '''{{{value}}}''' |
||
|- class="wwtbam-question" |
|||
|- style="text-align:center; background-color:#00008B;" |
|||
| colspan="2 |
| colspan="2" | '''{{{question}}}''' |
||
|- class="wwtbam-answers" |
|||
|- style="text-align:left; background-color:#00008B;" |
|||
| {{#switch:{{{astyle|}}} |
| {{#switch:{{{astyle|}}} |
||
| correct = |
| correct = class="wwtbam-correct-answer" {{!}} <span class="wwtbam-bullet">'''⬥ A:'''</span> <span class="wwtbam-answertext">{{{a}}}</span> |
||
| chosen = |
| chosen = class="wwtbam-chosen-answer" {{!}} <span class="wwtbam-bullet">'''⬥ A:'''</span> <span class="wwtbam-answertext">{{{a}}}</span> |
||
| 5050 = |
| 5050 = class="wwtbam-5050-answer" {{!}} <span class="wwtbam-bullet">'''⬥ A:'''</span> <span class="wwtbam-answertext">{{{a}}}</span> |
||
| #default = |
| #default = class="wwtbam-default-answer" {{!}} <span class="wwtbam-bullet">'''⬥ A:'''</span> <span class="wwtbam-answertext">{{{a}}}</span> |
||
}} |
}} |
||
| {{#switch:{{{bstyle|}}} |
| {{#switch:{{{bstyle|}}} |
||
| correct = |
| correct = class="wwtbam-correct-answer" {{!}} <span class="wwtbam-bullet">'''⬥ B:'''</span> <span class="wwtbam-answertext">{{{b}}}</span> |
||
| chosen = |
| chosen = class="wwtbam-chosen-answer" {{!}} <span class="wwtbam-bullet">'''⬥ B:'''</span> <span class="wwtbam-answertext">{{{b}}}</span> |
||
| 5050 = |
| 5050 = class="wwtbam-5050-answer" {{!}} <span class="wwtbam-bullet">'''⬥ B:'''</span> <span class="wwtbam-answertext">{{{b}}}</span> |
||
| #default = |
| #default = class="wwtbam-default-answer" {{!}} <span class="wwtbam-bullet">'''⬥ B:'''</span> <span class="wwtbam-answertext">{{{b}}}</span> |
||
}} |
}} |
||
|- class="wwtbam-answers" |
|||
|- style="text-align: left; background-color: #00008B;" |
|||
| {{#switch:{{{cstyle|}}} |
| {{#switch:{{{cstyle|}}} |
||
| correct = |
| correct = class="wwtbam-correct-answer" {{!}} <span class="wwtbam-bullet">'''⬥ C:'''</span> <span class="wwtbam-answertext">{{{c}}}</span> |
||
| chosen = |
| chosen = class="wwtbam-chosen-answer" {{!}} <span class="wwtbam-bullet">'''⬥ C:'''</span> <span class="wwtbam-answertext">{{{c}}}</span> |
||
| 5050 = |
| 5050 = class="wwtbam-5050-answer" {{!}} <span class="wwtbam-bullet">'''⬥ C:'''</span> <span class="wwtbam-answertext">{{{c}}}</span> |
||
| #default = |
| #default = class="wwtbam-default-answer" {{!}} <span class="wwtbam-bullet">'''⬥ C:'''</span> <span class="wwtbam-answertext">{{{c}}}</span> |
||
}} |
}} |
||
| {{#switch:{{{dstyle|}}} |
| {{#switch:{{{dstyle|}}} |
||
| correct = |
| correct = class="wwtbam-correct-answer" {{!}} <span class="wwtbam-bullet">'''⬥ D:'''</span> <span class="wwtbam-answertext">{{{d}}}</span> |
||
| chosen = |
| chosen = class="wwtbam-chosen-answer" {{!}} <span class="wwtbam-bullet">'''⬥ D:'''</span> <span class="wwtbam-answertext">{{{d}}}</span> |
||
| 5050 = |
| 5050 = class="wwtbam-5050-answer" {{!}} <span class="wwtbam-bullet">'''⬥ D:'''</span> <span class="wwtbam-answertext">{{{d}}}</span> |
||
| #default = |
| #default = class="wwtbam-default-answer" {{!}} <span class="wwtbam-bullet">'''⬥ D:'''</span> <span class="wwtbam-answertext">{{{d}}}</span> |
||
}} |
}} |
||
{{#if:{{{caption|}}}| |
{{#if:{{{caption|}}}| |
||
Line 41: | Line 42: | ||
"float": { |
"float": { |
||
"label": "Float position", |
"label": "Float position", |
||
"description": " |
"description": "Does the box float to the left or right?", |
||
"type": "string", |
"type": "string", |
||
"example": "left", |
"example": "left", |
||
Line 48: | Line 49: | ||
"value": { |
"value": { |
||
"label": "Question value", |
"label": "Question value", |
||
"description": "The value of the question |
"description": "The value of the question, could also include question number and if there is a time limit", |
||
"example": "$1,000,000 (15 of 15) - no time limit", |
"example": "$1,000,000 (15 of 15) - no time limit", |
||
"type": "string", |
"type": "string", |
||
Line 55: | Line 56: | ||
"question": { |
"question": { |
||
"label": "Question", |
"label": "Question", |
||
"description": "The |
"description": "The Question text", |
||
"type": "string", |
"type": "string", |
||
"required": true, |
"required": true, |
||
Line 74: | Line 75: | ||
"bstyle": { |
"bstyle": { |
||
"label": "Answer B - style", |
"label": "Answer B - style", |
||
"description": "Style for |
"description": "Style for Answer B", |
||
"example": "chosen", |
"example": "chosen", |
||
"type": "string" |
"type": "string" |
||
Line 86: | Line 87: | ||
"cstyle": { |
"cstyle": { |
||
"label": "Answer C - style", |
"label": "Answer C - style", |
||
"description": "Style for |
"description": "Style for Answer C", |
||
"example": "5050", |
"example": "5050", |
||
"type": "string" |
"type": "string" |
||
Line 98: | Line 99: | ||
"dstyle": { |
"dstyle": { |
||
"label": "Answer D - style", |
"label": "Answer D - style", |
||
"description": "Style for |
"description": "Style for Answer D", |
||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
Line 110: | Line 111: | ||
"caption": { |
"caption": { |
||
"label": "Caption", |
"label": "Caption", |
||
"description": "displayed at |
"description": "displayed at bottom", |
||
"type": "line" |
"type": "line" |
||
} |
} |
||
Line 131: | Line 132: | ||
"description": "Shows a question box for a Who Wants To Be A Millionaire question." |
"description": "Shows a question box for a Who Wants To Be A Millionaire question." |
||
} |
} |
||
</templatedata> |
</templatedata></noinclude> |
||
</noinclude> |