Template:Play Nintendo table row: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
Line 30: Line 30:
|}
|}
|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>a</small>]}}{{br}}<noinclude>
|valign=top style="padding-top:62px"|[{{{link|}}}]<br>{{#if:{{{archive|}}}|[{{{archive}}} <small>archive</small>]}}{{br}}<noinclude>


==Code==
==Code==

Revision as of 22:12, November 23, 2020

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

[[File:|600px]]


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

|valign=top style="padding-top:62px"|[]

Code

{{PlayNintendoPoll
|name=
|desc1=
|desc2=
|link=
|archive=
|preview=
|banner=
|question=
|opt1=
|opt2=
|opt3=
|opt4=
|opt5=
|opt6=
|opt7=
|opt8=
|opt9=
|opt10=
|opt11=
|opt12=
|top=
|anchor=
|notes=
}}

Usage

This template is used to quickly format entries within a table on the List of Play Nintendo opinion polls page. Below are explanations for the purpose of each parameter in the template.

  • name= The name of the web page that hosts the poll.
  • desc1= The headline written in bold above the poll on Play Nintendo.
  • desc2= The poll's description written in the colored space above it on Play Nintendo.
  • link= The link to the poll.
  • archive= A link to an archive of the poll. Web pages can be manually archived using a digital archive website such as Wayback Machine. Archiving a poll is recommended to prove its legimitacy in the eventuality that Nintendo takes it down from their own website.
  • preview= The square thumbnail used to represent the poll in Play Nintendo's search suggestions.
  • banner= The picture shown before a poll's question.
  • 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.
  • anchor= Used to link to specific polls. Normally, you don't have to use this parameter since name is already used as an anchor by default. However, some poll names may contain special characters such as "|" which conflict with the Wiki markup, and thus cannot be used when linking to a poll. If this situation arises, the anchor parameter allows you to type in an alternative anchor while name is reserved for the poll's proper name.
  • notes= Any additional explanations or trivia about a poll. You do not need to add this parameter if you feel that additional information isn't needed.