Template:Play Nintendo quiz: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary |
mNo edit summary |
||
(46 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{|align=left style="border:3px solid gray; border-radius:1em; padding-left:.5em; padding-right:.5em; margin-bottom:5px" width=70% | {|align=left style="border:3px solid gray; border-radius:1em; padding-left:.5em; padding-right:.5em; margin-bottom:5px" width=70% | ||
|- | |- | ||
|align=center width=11% style="background: | |align=center width=11% style="background:#fff; padding-top:22px"|<span style="background:#ABC; font-size:17px; border-radius:1em; padding-left:.5em; padding-right:.5em;">'''{{{page|}}}</span><br><br>{{#if:{{{image|}}}|[[File:{{{image}}}|750px]]}}<br><br> | ||
'''''<span style="font-size:20px">{{{question|}}}<span> | '''''<span style="font-size:20px">{{{question|}}}</span> | ||
{|align=center style="padding-top:10px; text-align:center" | {|align=center style="padding-top:10px; text-align:center" | ||
|-{{#if:{{{answer1|}}}|<nowiki/> | |||
{{!}}style="background:#DADADA;{{#if:{{{correct1|}}}|border:5px solid green}}" width=200px height=50px{{!}}''{{#if:{{{correct1|}}}|<b>}}{{{answer1}}}}}<!-- | |||
-->{{#if:{{{answer2|}}}|<nowiki/> | |||
{{!}}style="background:#DADADA;{{#if:{{{correct2|}}}|border:5px solid green}}" width=200px height=50px{{!}}''{{#if:{{{correct2|}}}|<b>}}{{{answer2}}}}}<!-- | |||
-->{{#if:{{{answer3|}}}|<nowiki/> | |||
{{!}}style="background:#DADADA;{{#if:{{{correct3|}}}|border:5px solid green}}" width=200px height=50px{{!}}''{{#if:{{{correct3|}}}|<b>}}{{{answer3}}}}}<!-- | |||
-->{{#if:{{{answer4|}}}|<nowiki/> | |||
{{!}}style="background:#DADADA;{{#if:{{{correct4|}}}|border:5px solid green}}" width=200px height=50px{{!}}''{{#if:{{{correct4|}}}|<b>}}{{{answer4}}}}} | |||
|- | |- | ||
{{#if:{{{ | |colspan=4 align=center| | ||
{{#if:{{{ | {| | ||
{{#if:{{{ | |-{{#if:{{{answer5|}}}|<nowiki/> | ||
{{#if:{{{ | {{!}}align=center style="background:#DADADA;{{#if:{{{correct5|}}}|border:5px solid green}}" width=200px height=50px{{!}}''{{#if:{{{correct5|}}}|<b>}}{{{answer5}}}}}<!-- | ||
-->{{#if:{{{answer6|}}}|<nowiki/> | |||
{{!}}align=center style="background:#DADADA" width=200px height=50px{{!}}''{{{answer6}}}}}<!-- | |||
-->{{#if:{{{answer7|}}}|<nowiki/> | |||
{{!}}align=center style="background:#DADADA" width=200px height=50px{{!}}''{{{answer7}}}}}<!-- | |||
-->{{#if:{{{answer8|}}}|<nowiki/> | |||
{{!}}align=center style="background:#DADADA" width=200px height=50px{{!}}''{{{answer8}}}}} | |||
|} | |||
{| | |||
{{#if:{{{answer9|}}}|<nowiki/> | |||
{{!}}align=center style="background:#DADADA" width=200px height=50px{{!}}''{{{answer9}}}}}<!-- | |||
-->{{#if:{{{answer10|}}}|<nowiki/> | |||
{{!}}align=center style="background:#DADADA" width=200px height=50px{{!}}''{{{answer10}}}}} | |||
|} | |||
|} | |} | ||
<br> | <br> | ||
{|align=center width=100% | {|{{#if:{{{right1|}}}|align=center width=100%}} | ||
|- | |- | ||
|style=background:#1DDB81;color:#484848 | {{#if:{{{right1|}}}|{{!}}style=background:#1DDB81;color:#484848{{!}}[[File:Play Nintendo skill quiz correct answer.png|25px]]'''''<span style=font-size:16px>{{{right1}}}'''''</span><br>''{{{right2|}}}}} | ||
''{{{right2|}}} | |||
|- | |- | ||
|style=background:#EE0500;color:white | {{#if:{{{wrong1|}}}|{{!}}style=background:#EE0500;color:white{{!}}[[File:Play Nintendo skill quiz wrong answer.png|25px]]'''''<span style=font-size:16px>{{{wrong1}}}'''''</span><br>''{{{wrong2|}}}}} | ||
''{{{wrong2|}}} | |||
|} | |} | ||
|}{{br}}<noinclude> | |}{{br}}<noinclude> | ||
==Usage== | ==Usage== | ||
This template should be used to format [[Play Nintendo]] quizzes | This template should be used to format [[Play Nintendo]] quizzes similarly to how they appear on the official website. | ||
For [[List of Play Nintendo skill quizzes|skill quizzes]], use the code below. To mark a correct answer, add "1" to its corresponding "correct" parameter. You do not need to have the other "correct" parameters in the code. | |||
<pre> | <pre> | ||
{{ | {{Play Nintendo quiz | ||
|page= | |page= | ||
|image= | |image= | ||
Line 35: | Line 57: | ||
|answer4= | |answer4= | ||
|correct4= | |correct4= | ||
|answer5= | |||
|correct5= | |||
|right1= | |right1= | ||
|right2= | |right2= | ||
Line 41: | Line 65: | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category: | |||
</noinclude> | For [[List of Play Nintendo personality quizzes|personality quizzes]], use the code below. Personality quizzes do not have correct or incorrect answers and, as such, do not need the "correct", "right" and "wrong" parameters at all. | ||
<pre> | |||
{{Play Nintendo quiz | |||
|page= | |||
|image= | |||
|question= | |||
|answer1= | |||
|answer2= | |||
|answer3= | |||
|answer4= | |||
|answer5= | |||
|answer6= | |||
|answer7= | |||
|answer8= | |||
|answer9= | |||
|answer10= | |||
}} | |||
</pre> | |||
[[Category:Content templates]]</noinclude> |
Latest revision as of 12:46, August 3, 2024
|
Usage
This template should be used to format Play Nintendo quizzes similarly to how they appear on the official website.
For skill quizzes, use the code below. To mark a correct answer, add "1" to its corresponding "correct" parameter. You do not need to have the other "correct" parameters in the code.
{{Play Nintendo quiz |page= |image= |question= |answer1= |correct1= |answer2= |correct2= |answer3= |correct3= |answer4= |correct4= |answer5= |correct5= |right1= |right2= |wrong1= |wrong2= }}
For personality quizzes, use the code below. Personality quizzes do not have correct or incorrect answers and, as such, do not need the "correct", "right" and "wrong" parameters at all.
{{Play Nintendo quiz |page= |image= |question= |answer1= |answer2= |answer3= |answer4= |answer5= |answer6= |answer7= |answer8= |answer9= |answer10= }}