Template:Play Nintendo table row: Difference between revisions

m
Text replacement - "({{|[Tt]em\|)[Mm]edia link" to "$1file link"
mNo edit summary
m (Text replacement - "({{|[Tt]em\|)[Mm]edia link" to "$1file link")
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
|-
|-
{{#if:{{{thumb|}}}|{{!}}align=center valign=top {{#if:{{{rowspan|}}}|rowspan={{{rowspan}}}}}{{!}}{{anchor|{{#if:{{{anchor|}}}|{{{anchor}}}|{{{name}}}}}}}[[File:{{{thumb|}}}{{!}}138px]]<br>{{#if:{{{thumb2|}}}|{{media link|{{{thumb2}}}|extended thumbnail}}}}}}
{{#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|}}}'''<br>{{{desc2|}}}
-->{{#ifeq:
{{#if:{{{thumb2text}}}|{{#if:{{{thumb2|}}}|A|B}}}}
|{{#if:{{{thumb2}}}|{{#if:{{{thumb2text|}}}|A|C}}}}
|<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">
<div class="contentbox mw-collapsible mw-collapsed">
{| align=center
{| align=center
Line 46: Line 53:
{{!}}align=center width=200px valign=top{{!}}{{{card_back}}}}}
{{!}}align=center width=200px valign=top{{!}}{{{card_back}}}}}
|}
|}
{{#if:{{{download|}}}|<span style="background:white;border:2px solid yellow;font-size:19px">'''''{{{download}}}'''''</span>}}<br><br>{{{printables|}}}<br><br>{{#if:{{{notes|}}}|{{{notes}}}}}
{{#if:{{{download|}}}|<span style="background:#fff;border:2px solid yellow;font-size:19px">'''''{{{download}}}'''''</span>}}<br><br>{{{printables|}}}<br><br>{{#if:{{{notes|}}}|{{{notes}}}}}
|}
|}
{|align=center
{|align=center width=650px
|-
|-
|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]}}
|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|}}}
|}''{{{instructions|}}}
</div>
</div>
|valign=top style="padding-top:53px"|{{{name|}}}{{#if:{{{sic|}}}|{{sic}}}}
{{#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>
|align=center valign=top style="padding-top:62px"|{{{link|}}}{{br}}<noinclude>
__TOC__
__TOC__
==Usage==
==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.
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 page-specific parameters and syntax presented in separate sections.


*'''<tt>name=</tt>''' The name of the web page that hosts the activity.
*'''<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>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>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 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>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>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>thumb2=</tt>''' The thumbnail you select in the list of activities to access the activity.
Line 100: Line 106:
|card_back=
|card_back=
|end_pic=
|end_pic=
|sic=
|anchor=
|notes=
}}
</pre>
===Puzzle parameters===
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.
<pre>
{{Play Nintendo table row
|name=
|desc1=
|desc2=
|link=
|thumb=
|thumb2=
|puzzle=
|compmsg1=
|compmsg2=
|sic=
|sic=
|anchor=
|anchor=