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
 
(29 intermediate revisions by 6 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}}}|600px]]}}<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/>
{{!}}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:{{{answer1|}}}|{{!}}style="background:#DADADA;{{#if:{{{correct1|}}}|border:5px solid green}}" width=200px height=50px{{!}}''{{#if:{{{correct1|}}}|<b>}}{{{answer1}}}}}
|colspan=4 align=center|
{{#if:{{{answer2|}}}|{{!}} style="background:#DADADA;{{#if:{{{correct2|}}}|border:5px solid green}}" width=200px height=50px{{!}}''{{#if:{{{correct2|}}}|<b>}}{{{answer2}}}}}
{|
{{#if:{{{answer3|}}}|{{!}}style="background:#DADADA;{{#if:{{{correct3|}}}|border:5px solid green}}" width=200px height=50px{{!}}''{{#if:{{{correct3|}}}|<b>}}{{{answer3}}}}}
|-{{#if:{{{answer5|}}}|<nowiki/>
{{#if:{{{answer4|}}}|{{!}}style="background:#DADADA;{{#if:{{{correct4|}}}|border:5px solid green}}" width=200px height=50px{{!}}''{{#if:{{{correct4|}}}|<b>}}{{{answer4}}}}}
{{!}}align=center style="background:#DADADA;{{#if:{{{correct5|}}}|border:5px solid green}}" width=200px height=50px{{!}}''{{#if:{{{correct5|}}}|<b>}}{{{answer5}}}}}<!--
{{#if:{{{answer5|}}}|{{!}}style="background:#DADADA;{{#if:{{{correct4|}}}|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 20: Line 39:
|}
|}
|}{{br}}<noinclude>
|}{{br}}<noinclude>
==Usage==
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.


==Usage==
This template should be used to format [[Play Nintendo]] quizzes roughly as they appear on the official website. The table above will be produced by the following code:
<pre>
<pre>
{{PlayNintendoQuiz
{{Play Nintendo quiz
|page=
|page=
|image=
|image=
Line 44: Line 65:
}}
}}
</pre>
</pre>
[[Category:Formatting templates]]
 
</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 13: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=
}}