Template:Play Nintendo table row: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
 
(58 intermediate revisions by 3 users not shown)
Line 1: Line 1:
|-
|-
|align=center valign=top|{{anchor|{{#if:{{{anchor|}}}|{{{anchor}}}|{{{name}}}}}}}[[File:{{{thumb|}}}|138px]]
{{#if:{{{thumb|}}}|{{!}}align=center valign=top {{#if:{{{rowspanthumb|}}}|rowspan={{{rowspanthumb}}}}}{{!}}{{anchor|{{#if:{{{anchor|}}}|{{{anchor}}}|{{#if:{{{altname|}}}|{{{altname}}}|{{{name}}}}}}}}}[[File:{{{thumb|}}}{{!}}138px]]<!--
|align=left valign=top style="padding-top:22px"|'''''{{{desc1|}}}
-->{{#ifeq:
 
{{#if:{{{thumb2text}}}|{{#if:{{{thumb2|}}}|A|B}}}}
''{{{desc2|}}}
|{{#if:{{{thumb2}}}|{{#if:{{{thumb2text|}}}|A|C}}}}
{|class="mw-collapsible mw-collapsed" align=center
|<br>bigger thumbnail:<br><small>{{file link|{{{thumb2text}}}|with text}} • {{file link|{{{thumb2}}}|without text}}</small>
|{{#if:{{{thumb2|}}}|<br>{{file link|{{{thumb2}}}|bigger thumbnail (without text)}}}}{{#if:{{{thumb2text|}}}|<br>{{file link|{{{thumb2text}}}|bigger thumbnail (with text)}}}}
}}}}<!--
-->{{#if:{{{altname|}}}|<br>''{{{altname}}}''}}
|align=left valign=top style="padding-top:22px"|{{#if:{{{desc1|}}}|'''''{{{desc1}}}'''<br>{{{desc2}}}}}
<div class="contentbox mw-collapsible mw-collapsed">
{| align=center
|
|
|-
|-
|align=center|{{#if:{{{banner|}}}|[[File:{{{banner}}}{{!}}600px]]}}<br>
|align=center {{#if:{{{card1|}}}|style="background: #F0F0F0"}}|{{#if:{{{banner|}}}|[[File:{{{banner}}}{{!}}600px]]}}{{#if:{{{card1|}}}|<span style="font-size: 20px">'''Cards'''</span>}}<br>
'''''<span style="font-size: 20px">{{{question|}}}</span><br>
'''''<span style="font-size: 20px">{{{question|}}}</span><br>
{|style="text-align:"
{|style="text-align:"
Line 26: Line 32:
{{!}}align=center style="background:#DADADA" width=200px height=50px {{#if:{{{top|}}}|valign=top}}{{!}}''{{{opt11}}}}}{{#if:{{{opt12|}}}|<nowiki/>
{{!}}align=center style="background:#DADADA" width=200px height=50px {{#if:{{{top|}}}|valign=top}}{{!}}''{{{opt11}}}}}{{#if:{{{opt12|}}}|<nowiki/>
{{!}}align=center style="background:#DADADA" width=200px height=50px {{#if:{{{top|}}}|valign=top}}{{!}}''{{{opt12}}}}}
{{!}}align=center style="background:#DADADA" width=200px height=50px {{#if:{{{top|}}}|valign=top}}{{!}}''{{{opt12}}}}}
{{#if:{{{card1|}}}|<nowiki/>
{{!}}align=center width=200px valign=top{{!}}{{{card1}}}}}{{#if:{{{card2|}}}|<nowiki/>
{{!}}align=center width=200px valign=top{{!}}{{{card2}}}}}{{#if:{{{card3|}}}|<nowiki/>
{{!}}align=center width=200px valign=top{{!}}{{{card3}}}}}{{#if:{{{card4|}}}|<nowiki/>
{{!-}}<nowiki/>
{{!}}align=center width=200px valign=top{{!}}{{{card4}}}}}{{#if:{{{card5|}}}|<nowiki/>
{{!}}align=center width=200px valign=top{{!}}{{{card5}}}}}{{#if:{{{card6|}}}|<nowiki/>
{{!}}align=center width=200px valign=top{{!}}{{{card6}}}}}{{#if:{{{card7|}}}|<nowiki/>
{{!-}}<nowiki/>
{{!}}align=center width=200px valign=top{{!}}{{{card7}}}}}{{#if:{{{card8|}}}|<nowiki/>
{{!}}align=center width=200px valign=top{{!}}{{{card8}}}}}{{#if:{{{card9|}}}|<nowiki/>
{{!}}align=center width=200px valign=top{{!}}{{{card9}}}}}{{#if:{{{card10|}}}|<nowiki/>
{{!-}}<nowiki/>
{{!}}align=center width=200px valign=top{{!}}{{{card10}}}}}{{#if:{{{card11|}}}|<nowiki/>
{{!}}align=center width=200px valign=top{{!}}{{{card11}}}}}{{#if:{{{card12|}}}|<nowiki/>
{{!}}align=center width=200px valign=top{{!}}{{{card12}}}}}<nowiki/>
{{!-}}<nowiki/>
{{!}}align=center width=200px valign=top{{!}}{{{card13|}}}{{#if:{{{card_back|}}}|<nowiki/>
{{!}}align=center width=200px valign=top{{!}}{{{card_back}}}}}
|}
|}
{{#if:{{{download|}}}|<span style="background:white;border:2px solid yellow;font-size:19px">'''''{{{download}}}'''''</span>}}<br>{{{printables|}}}<br><br>{{#if:{{{notes|}}}|{{{notes}}}}}
{{#if:{{{download|}}}|<span style="background:#fff;border:2px solid yellow;font-size:19px">'''''{{{download}}}'''''</span><br><small>(play.nintendo.com)</small>}}<br><br>{{{printables|}}}<br><br>{{#if:{{{notes|}}}|{{{notes}}}}}
|}
|}
''{{{instructions|}}}
{|align=center width=650px
|valign=top style="padding-top:53px"|{{{name|}}}
|-
|valign=top style="padding-top:62px"|{{{link|}}}{{br}}<noinclude>
|align=center {{#if:{{{puzzle|}}}|style="background: #F0F0F0"}}|{{#if:{{{end_pic|}}}|<span style="font-size: 20px">'''Celebration image'''</span><br>[[File:{{{end_pic}}}{{!}}600px]]}}{{#if:{{{puzzle|}}}|<span style="font-size: 20px">'''Completed puzzle'''</span><br>[[File:{{{puzzle}}}{{!}}600px]]<br>'''''{{{compmsg1}}}'''<br>{{{compmsg2}}}<br>Your time was ''[mm:ss]}}
|}''{{{instructions|}}}
</div>
{{#if:{{{name|}}}|{{!}}valign=top style="padding-top:53px" {{#if:{{{rowspanname|}}}|rowspan={{{rowspanname}}}}}{{!}}{{{name}}}{{#if:{{{sic|}}}|{{sic}}}}}}
|align=center valign=top style="padding-top:62px"|{{{link|}}}{{br}}<noinclude>
__TOC__
==Usage==
This template is used to quickly format rows within tables on pages related to [[Play Nintendo]]. Below are explanations for the purpose of each parameter in the template, with page-specific parameters and syntax presented in separate sections.
 
*'''<tt>name=</tt>''' The name of the web page that hosts the activity.
*'''<tt>desc1=</tt>''' The headline written in bold above the activity on Play Nintendo.
*'''<tt>desc2=</tt>''' The activity's description written in the colored space above it on Play Nintendo.
*'''<tt>link=</tt>''' The link to the activity; it is advisable to also add a link to an archive of the activity to prove its legitimacy if Nintendo takes it down. Web pages can be manually archived using a digital archive website such as [https://archive.org/web/ Wayback Machine].
*'''<tt>thumb=</tt>''' The square thumbnail used to represent the activity in Play Nintendo's search suggestions.
*'''<tt>thumb2=</tt>''' The thumbnail you select in the list of activities to access the activity.
*'''<tt>banner=</tt>''' The presentation picture shown in an activity.
*'''<tt>anchor=</tt>''' Used to link to specific activities. Normally, you don't have to use this parameter since '''<tt>name</tt>''' is already used as an anchor by default. However, some activity names may contain special characters such as "|" which conflict with the Wiki markup, and thus cannot be used in internal links. If this situation arises, the '''<tt>anchor</tt>''' parameter allows you to type in an alternative anchor while '''<tt>name</tt>''' is reserved for the activity's proper name.
*'''<tt>notes=</tt>''' Any additional explanations or [[MarioWiki:Trivia|trivia]] about an activity. You do not need to add this parameter if you feel that additional information isn't needed.
*'''<tt>sic=</tt>''' Filling this parameter with something ("1", for example) will insert the "[[Template:Sic|sic]]" notation next to an activity's name. This notation indicates that the name contains a textual error that was reproduced as it is from its source—for instance, the title of ''[[Mario Party: Star Rush]]'' being written without a colon in "[[List of Play Nintendo opinion polls#Mario Party Star Rush Minigames|Mario Party Star Rush Minigames]]".
 
===Memory Match-up parameters===
The following parameters and code are to be used on the [[List of Play Nintendo memory match-up activities]] page.
*'''<tt>card1, card2, etc.=</tt>''' The cards in a Memory Match-up activity.
*'''<tt>card_back=</tt>''' The image shown on the back side of the cards in a Memory Match-up activity.
*'''<tt>end_pic=</tt>''' The picture shown when you match all cards in a Memory Match-up activity.
 
<pre>
{{Play Nintendo table row
|name=
|desc1=
|desc2=
|link=
|thumb=
|thumb2=
|card1=
|card2=
|card3=
|card4=
|card5=
|card6=
|card7=
|card8=
|card9=
|card10=
|card11=
|card12=
|card13=
|card_back=
|end_pic=
|sic=
|anchor=
|notes=
}}
</pre>


==Usage==
===Puzzle parameters===
This template is used to quickly format rows within tables on [[Play Nintendo]]-related pages. Below are explanations for the purpose of each parameter in the template, with specific parameters and codes presented in separate sections.
The following parameters and code are to be used on the [[List of Play Nintendo puzzles]] page.
*'''<tt>puzzle=</tt>''' An image of the completed puzzle.
*'''<tt>compmsg1=</tt>''' The bolded, large text shown upon completing a puzzle.
*'''<tt>compmsg2=</tt>''' The text in default type shown upon completing a puzzle.


*'''<tt>name=</tt>''' The name of the web page that hosts the activity or printable.
<pre>
*'''<tt>desc1=</tt>''' The headline written in bold above the activity or printable on Play Nintendo.
{{Play Nintendo table row
*'''<tt>desc2=</tt>''' The activity's or printable's description written in the colored space above it on Play Nintendo.
|name=
*'''<tt>link=</tt>''' The link to the activity or printable.
|desc1=
*'''<tt>archive=</tt>''' A link to an archive of the activity or printable. Web pages can be manually archived using a digital archive website such as [https://archive.org/web/ Wayback Machine]. Archiving an activity or printable is recommended to prove its legimitacy in the eventuality that Nintendo takes it down from their own website.
|desc2=
*'''<tt>thumb=</tt>''' The square thumbnail used to represent the activity or printable in Play Nintendo's search suggestions.
|link=
*'''<tt>banner=</tt>''' The presentation picture shown in an activity or printable.
|thumb=
*'''<tt>anchor=</tt>''' Used to link to specific activities or printables. Normally, you don't have to use this parameter since '''<tt>name</tt>''' is already used as an anchor by default. However, some activity or printable names may contain special characters such as "|" which conflict with the Wiki markup, and thus cannot be used in internal links. If this situation arises, the '''<tt>anchor</tt>''' parameter allows you to type in an alternative anchor while '''<tt>name</tt>''' is reserved for the activity's or printable's proper name.
|thumb2=
*'''<tt>notes=</tt>''' Any additional explanations or [[MarioWiki:Trivia|trivia]] about an activity or printable. You do not need to add this parameter if you feel that additional information isn't needed.
|puzzle=
|compmsg1=
|compmsg2=
|sic=
|anchor=
|notes=
}}
</pre>


===Opinion poll parameters===
===Opinion poll parameters===
Line 53: Line 142:


<pre>
<pre>
{{PlayNintendoTable
{{Play Nintendo table row
|name=
|name=
|desc1=
|desc1=
|desc2=
|desc2=
|link=
|link=
|archive=
|thumb=
|thumb=
|thumb2=
|banner=
|banner=
|question=
|question=
Line 74: Line 163:
|opt11=
|opt11=
|opt12=
|opt12=
|sic=
|top=
|top=
|anchor=
|anchor=
Line 81: Line 171:


===Printable parameters===
===Printable parameters===
The following parameters and code are to be used on pages with printables, such as [[List of miscellaneous Play Nintendo printables]].
The following parameters and code are to be used on pages with printables, such as [[List of Play Nintendo crafts]].
*'''<tt>download=</tt>''' An official Play Nintendo download link for the printable.
*'''<tt>download=</tt>''' An official Play Nintendo download link for the printable.
*'''<tt>printables=</tt>''' A picture of the printable as presented on Play Nintendo.
*'''<tt>printables=</tt>''' A picture of the printable as presented on Play Nintendo.
Line 87: Line 177:


<pre>
<pre>
{{PlayNintendoTable
{{Play Nintendo table row
|name=
|name=
|desc1=
|desc1=
|desc2=
|desc2=
|link=
|link=
|archive=
|thumb=
|thumb=
|thumb2=
|banner=
|banner=
|download=
|download=
Line 99: Line 189:
|notes=
|notes=
|instructions=
|instructions=
|sic=
|anchor=
|anchor=
}}
}}
Line 104: Line 195:




[[Category:Formatting templates]]</noinclude>
[[Category:Content templates]]</noinclude>

Latest revision as of 15:14, July 31, 2024

|-

|align=left valign=top style="padding-top:22px"|







|align=center valign=top style="padding-top:62px"|

Usage

This template is used to quickly format rows within tables on pages related to Play Nintendo. Below are explanations for the purpose of each parameter in the template, with page-specific parameters and syntax presented in separate sections.

  • name= The name of the web page that hosts the activity.
  • desc1= The headline written in bold above the activity on Play Nintendo.
  • desc2= The activity's description written in the colored space above it on Play Nintendo.
  • link= The link to the activity; it is advisable to also add a link to an archive of the activity to prove its legitimacy if Nintendo takes it down. Web pages can be manually archived using a digital archive website such as Wayback Machine.
  • thumb= The square thumbnail used to represent the activity in Play Nintendo's search suggestions.
  • thumb2= The thumbnail you select in the list of activities to access the activity.
  • banner= The presentation picture shown in an activity.
  • anchor= Used to link to specific activities. Normally, you don't have to use this parameter since name is already used as an anchor by default. However, some activity names may contain special characters such as "|" which conflict with the Wiki markup, and thus cannot be used in internal links. If this situation arises, the anchor parameter allows you to type in an alternative anchor while name is reserved for the activity's proper name.
  • notes= Any additional explanations or trivia about an activity. You do not need to add this parameter if you feel that additional information isn't needed.
  • sic= Filling this parameter with something ("1", for example) will insert the "sic" notation next to an activity's name. This notation indicates that the name contains a textual error that was reproduced as it is from its source—for instance, the title of Mario Party: Star Rush being written without a colon in "Mario Party Star Rush Minigames".

Memory Match-up parameters

The following parameters and code are to be used on the List of Play Nintendo memory match-up activities page.

  • card1, card2, etc.= The cards in a Memory Match-up activity.
  • card_back= The image shown on the back side of the cards in a Memory Match-up activity.
  • end_pic= The picture shown when you match all cards in a Memory Match-up activity.
{{Play Nintendo table row
|name=
|desc1=
|desc2=
|link=
|thumb=
|thumb2=
|card1=
|card2=
|card3=
|card4=
|card5=
|card6=
|card7=
|card8=
|card9=
|card10=
|card11=
|card12=
|card13=
|card_back=
|end_pic=
|sic=
|anchor=
|notes=
}}

Puzzle parameters

The following parameters and code are to be used on the List of Play Nintendo puzzles page.

  • puzzle= An image of the completed puzzle.
  • compmsg1= The bolded, large text shown upon completing a puzzle.
  • compmsg2= The text in default type shown upon completing a puzzle.
{{Play Nintendo table row
|name=
|desc1=
|desc2=
|link=
|thumb=
|thumb2=
|puzzle=
|compmsg1=
|compmsg2=
|sic=
|anchor=
|notes=
}}

Opinion poll parameters

The following parameters and code are to be used on the List of Play Nintendo opinion polls page.

  • question= The question presented in the poll.
  • opt1, opt2, etc.= The options available in the poll.
  • top= Put anything here (preferrably an indicative "y" or "yes") to align the content in all opt parameters at the top of their box. Content that takes up a varying number of rows can look chaotic if it's aligned at the center by default; the top parameter fixes this by bringing everything to the same level in their boxes.
{{Play Nintendo table row
|name=
|desc1=
|desc2=
|link=
|thumb=
|thumb2=
|banner=
|question=
|opt1=
|opt2=
|opt3=
|opt4=
|opt5=
|opt6=
|opt7=
|opt8=
|opt9=
|opt10=
|opt11=
|opt12=
|sic=
|top=
|anchor=
|notes=
}}

Printable parameters

The following parameters and code are to be used on pages with printables, such as List of Play Nintendo crafts.

  • download= An official Play Nintendo download link for the printable.
  • printables= A picture of the printable as presented on Play Nintendo.
  • instructions= Instructions from Play Nintendo on using the printable material.
{{Play Nintendo table row
|name=
|desc1=
|desc2=
|link=
|thumb=
|thumb2=
|banner=
|download=
|printables=
|notes=
|instructions=
|sic=
|anchor=
}}