Template:Play Nintendo quiz: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
{|align=center style="padding-top:10px; text-align:center" | {|align=center style="padding-top:10px; text-align:center" | ||
|-{{#if:{{{answer1|}}}|<nowiki/> | |-{{#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:{{{correct1|}}}|border:5px solid green}}" width=200px height=50px{{!}}''{{#if:{{{correct1|}}}|<b>}}{{{answer1}}}}}<!-- | ||
{{!}}style="background:#DADADA;{{#if:{{{correct2|}}}|border:5px solid green}}" width=200px height=50px{{!}}''{{#if:{{{correct2|}}}|<b>}}{{{answer2}}}}}{{#if:{{{answer3|}}}|<nowiki/> | -->{{#if:{{{answer2|}}}|<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:{{{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}}}}} | {{!}}style="background:#DADADA;{{#if:{{{correct4|}}}|border:5px solid green}}" width=200px height=50px{{!}}''{{#if:{{{correct4|}}}|<b>}}{{{answer4}}}}} | ||
|- | |- | ||
Line 23: | Line 26: | ||
{| | {| | ||
{{#if:{{{answer9|}}}|<nowiki/> | {{#if:{{{answer9|}}}|<nowiki/> | ||
{{!}}align=center style="background:#DADADA" width=200px height=50px{{!}}''{{{answer9}}}}} | {{!}}align=center style="background:#DADADA" width=200px height=50px{{!}}''{{{answer9}}}}}<!-- | ||
{{#if:{{{answer10|}}}|<nowiki/> | -->{{#if:{{{answer10|}}}|<nowiki/> | ||
{{!}}align=center style="background:#DADADA" width=200px height=50px{{!}}''{{{answer10}}}}} | {{!}}align=center style="background:#DADADA" width=200px height=50px{{!}}''{{{answer10}}}}} | ||
|} | |} | ||
Line 40: | Line 43: | ||
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. | 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 | {{Play Nintendo quiz | ||
Line 63: | Line 67: | ||
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. | 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> | <pre> | ||
{{Play Nintendo quiz | {{Play Nintendo quiz |
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= }}