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
 
(15 intermediate revisions by 4 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: white; padding-top:22px"|<span style="background:#ABC; font-size:17px; -moz-border-radius:1em; border-radius:1em; padding-left:.5em; padding-right:.5em;">'''{{{page|}}}</span><br><br>{{#if:{{{image|}}}|[[File:{{{image}}}|750px]]}}<br><br>
|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/>
|-{{#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 13: Line 16:
{|
{|
|-{{#if:{{{answer5|}}}|<nowiki/>
|-{{#if:{{{answer5|}}}|<nowiki/>
{{!}}align=center style="background:#DADADA;{{#if:{{{correct5|}}}|border:5px solid green}}" width=200px height=50px{{!}}''{{#if:{{{correct5|}}}|<b>}}{{{answer5}}}}}
{{!}}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>
{|
{|{{#if:{{{right1|}}}|align=center width=100%}}
{{#if:{{{right1|}}}|{{!}}align=center width=100%}}
|-
|-
{{#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|}}}}}
{{#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|}}}}}
Line 25: Line 39:
|}
|}
|}{{br}}<noinclude>
|}{{br}}<noinclude>
==Usage==
==Usage==
This template should be used to format [[Play Nintendo]] quizzes roughly as they appear on the official website.
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.
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>
{{PlayNintendoQuiz
{{Play Nintendo quiz
|page=
|page=
|image=
|image=
Line 53: 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>
{{PlayNintendoQuiz
{{Play Nintendo quiz
|page=
|page=
|image=
|image=
Line 63: Line 78:
|answer4=
|answer4=
|answer5=
|answer5=
|answer6=
|answer7=
|answer8=
|answer9=
|answer10=
}}
}}
</pre>
</pre>


[[Category:Formatting templates]]
[[Category:Content templates]]</noinclude>
</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=
}}