Template:Play Nintendo table row: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(this could use a table of contents tbh)
No edit summary
Line 31: Line 31:
''{{{instructions|}}}
''{{{instructions|}}}
|valign=top style="padding-top:53px"|{{{name|}}}
|valign=top style="padding-top:53px"|{{{name|}}}
|valign=top style="padding-top:62px"|[{{{link|}}}]<br>{{#if:{{{archive|}}}|[{{{archive}}} <small>archive</small>]}}{{br}}<noinclude>
|align=center valign=top style="padding-top:62px"|{{{link|}}}{{br}}<noinclude>


__TOC__
__TOC__
Line 40: Line 40:
*'''<tt>desc1=</tt>''' The headline written in bold above the activity or printable on Play Nintendo.
*'''<tt>desc1=</tt>''' The headline written in bold above the activity or printable on Play Nintendo.
*'''<tt>desc2=</tt>''' The activity's or printable's description written in the colored space above it on Play Nintendo.
*'''<tt>desc2=</tt>''' The activity's or printable's description written in the colored space above it on Play Nintendo.
*'''<tt>link=</tt>''' The link to the activity or printable.
*'''<tt>link=</tt>''' The link to the activity or printable; it is advisable to also add a link to an archive of the activity or printable to prove its legitimacy in the eventuality that Nintendo takes it down. Web pages can be manually archived using a digital archive website such as [https://archive.org/web/ Wayback Machine].
*'''<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.
*'''<tt>thumb=</tt>''' The square thumbnail used to represent the activity or printable in Play Nintendo's search suggestions.
*'''<tt>thumb=</tt>''' The square thumbnail used to represent the activity or printable in Play Nintendo's search suggestions.
*'''<tt>banner=</tt>''' The presentation picture shown in an activity or printable.
*'''<tt>banner=</tt>''' The presentation picture shown in an activity or printable.
Line 59: Line 58:
|desc2=
|desc2=
|link=
|link=
|archive=
|thumb=
|thumb=
|banner=
|banner=
Line 93: Line 91:
|desc2=
|desc2=
|link=
|link=
|archive=
|thumb=
|thumb=
|banner=
|banner=

Revision as of 21:43, December 31, 2020

|- |align=center valign=top|[[File:|138px]] |align=left valign=top style="padding-top:22px"|






|valign=top style="padding-top:53px"|

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

Usage

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 syntax presented in separate sections.

  • name= The name of the web page that hosts the activity or printable.
  • desc1= The headline written in bold above the activity or printable on Play Nintendo.
  • desc2= The activity's or printable's description written in the colored space above it on Play Nintendo.
  • link= The link to the activity or printable; it is advisable to also add a link to an archive of the activity or printable to prove its legitimacy in the eventuality that 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 or printable in Play Nintendo's search suggestions.
  • banner= The presentation picture shown in an activity or printable.
  • anchor= Used to link to specific activities or printables. Normally, you don't have to use this parameter since name 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 anchor parameter allows you to type in an alternative anchor while name is reserved for the activity's or printable's proper name.
  • notes= Any additional explanations or trivia about an activity or printable. You do not need to add this parameter if you feel that additional information isn't needed.

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.
{{PlayNintendoTable
|name=
|desc1=
|desc2=
|link=
|thumb=
|banner=
|question=
|opt1=
|opt2=
|opt3=
|opt4=
|opt5=
|opt6=
|opt7=
|opt8=
|opt9=
|opt10=
|opt11=
|opt12=
|top=
|anchor=
|notes=
}}

Printable parameters

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

  • 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.
{{PlayNintendoTable
|name=
|desc1=
|desc2=
|link=
|thumb=
|banner=
|download=
|printables=
|notes=
|instructions=
|anchor=
}}