Template:Glitch: Difference between revisions

Added support for the Nintendo Switch ports of Pikmin 1 and 2, and split the skeleton by game.
mNo edit summary
(Added support for the Nintendo Switch ports of Pikmin 1 and 2, and split the skeleton by game.)
 
(42 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{#if:{{{youtube|}}} | {{#ev:youtube|{{{youtube}}}|320|right|{{{caption|Demonstration of the glitch.}}} }} }}
<includeonly>{{#if:{{{image|}}} | [[File:{{{image}}}|240px|{{{image-align|right}}}|thumb|{{{icaption|Demonstration of the glitch.}}}]] }}
{{#if:{{{image|}}} | [[File:{{{image}}}|240px|right|thumb|{{{caption|Demonstration of the glitch.}}}]] }}
</includeonly>{| class="wikitable"
 
{|class="wikitable"
! Reproducibility
! Reproducibility
! Danger
! Consequences {{#if:{{{p1|{{{npcp1|{{{p1s|{{{p2|{{{npcp2|{{{p2s|{{{p3|{{{p3d|{{{versions|}}} }}} }}} }}} }}} }}} }}} }}} }}} | !! Versions }} {{#if:{{{demonstration|{{{youtube|}}} }}} | !! Demonstration }} {{#if:{{{other|}}} | !! Other demonstrations }}
{{#if:{{{p1| {{{p2| {{{npcp1| {{{npcp2|}}} }}} }}} }}} | ! Versions }}
|-
|-
| {{{reproducibility}}}
| {{{reproducibility}}}
| {{{danger}}}
|{{{consequences}}} {{#if:{{{p1|{{{npcp1|{{{p1s|}}} }}} }}} | {{!!}} ''Pikmin'': {{{p1|Unknown}}}<br>''New Play Control! Pikmin'': {{{npcp1|Unknown}}}<br>''Pikmin 1'' (Nintendo Switch): {{{p1s|Unknown}}} }} {{#if:{{{p2|{{{npcp2|{{{p2s|}}} }}} }}} | {{!}}{{!}} ''Pikmin 2'': {{{p2|Unknown}}}<br>''New Play Control! Pikmin 2'': {{{npcp2|Unknown}}}<br>''Pikmin 2'' (Nintendo Switch): {{{p2s|Unknown}}} }} {{#if:{{{p3|{{{p3d|}}} }}} | {{!!}} ''Pikmin 3'': {{{p3|Unknown}}}<br>''Pikmin 3 Deluxe'': {{{p3d|Unknown}}} }} {{#if:{{{versions|}}} | {{!!}} {{{versions}}} }} {{#if:{{{demonstration|{{{youtube|}}} }}} | {{!!}} {{{demonstration|[http://www.youtube.com/watch?v={{{youtube}}} {{{vcaption|YouTube video}}} ]}}} }} {{#if:{{{other|}}} | {{!!}} {{{other}}} }}
{{#if:{{{p1| {{{npcp1|}}} }}} | {{!}} ''Pikmin'': {{{p1|?}}}<br />''New Play Control! Pikmin'': {{{npcp1|?}}} }}
|}
{{#if:{{{p2| {{{npcp2|}}} }}} | {{!}} ''Pikmin 2'': {{{p2|?}}}<br />''New Play Control! Pikmin 2'': {{{npcp2|?}}} }} |}
*'''Effects''': {{{effects}}}
*'''Effects''': {{{effects}}}
*'''Prerequisites''': {{{prerequisites|{{{prereq|None.}}} }}}
*'''Prerequisites''': {{{prerequisites|{{{prereq|None.}}} }}}
*'''How to''': {{{howto}}}
*'''How to''': {{{howto}}}
*'''Notes''': {{{notes|None.}}}
*'''Notes''': {{{notes|None.}}} {{#if:{{{normal|}}} |
*'''What would happen normally''': {{{normal}}} }}
*'''Possible explanation''': {{{explanation|None.}}}
*'''Possible explanation''': {{{explanation|None.}}}
{{clear|left}}<noinclude>


{{clear}}
==Info==
<noinclude>
This template must be used to fill in the glitch information on the [[glitch]] articles.


----
==Parameters==
This template must be used to fill in the glitch information on the [[:Category:Glitches|glitch articles]]. Fields:
Read [[Pikipedia:Glitch notes]] on info over how each field works.


*youtube: If there's a YouTube video, write its ID here (that code after "watch?v=" in the URL).
{| class = "wikitable"
*image: If there's an image, write its filename here.
! Parameter || Mandatory || Default || Detailed description
*caption: If the video or image should have a caption different than "Demonstration of the glitch.", write it here.
|-
*'''reproducibility''': How easy it is to reproduce.
! image
*'''danger''': How dangerous it is.
| No ||  || If there's an image, write its filename here.
*p1: Does it work in the original Pikmin? If this is a glitch in either P1 or NPC!P1, you ''should'' have both.
|-
*p2: Does it work in the original Pikmin 2? If this is a glitch in either P2 or NPC!P2, you ''should'' have both.
! image-align
*npcp1: Does it work on New Play Control! Pikmin?
| No || right || If the image needs to be moved to the left, give this the value "left".
*npcp2: Does it work on New Play Control! Pikmin 2?
|-
*'''effects''': What the glitch does.
! youtube
*prerequisites: Prerequisites. You can also use "prereq".
| No ||  || If there is a YouTube video demonstrating the glitch, write its ID here (that code after "watch?v=" in the URL).
*'''howto''': Instructions.
|-
*notes: Notes.
! icaption
*explanation: Possible explanation.
| No || Demonstration of the glitch. || Caption for the image, in case you need to point out something special.
|-
! vcaption
| No || YouTube video || Caption on the video link's text, in case you need to point out something special, like at what time in the video it happens.
|-
! demonstration
| No ||  || If you have another form of demonstrating the glitch that isn't a YouTube video or an image on the wiki, type it here.
|-
! other
| No ||  || Other demonstrations.
|-
! reproducibility
| '''Yes''' ||  || How easy it is to reproduce, either purposely or accidentally.
|-
! consequences
| '''Yes''' ||  || Player consequences for performing this glitch.
|-
! p1
| No || Unknown || Explain whether the glitch works in ''Pikmin'' for the GameCube ("Yes") or not ("No"), or if it's unknown for this platform version ("unknown"). If this glitch works on at least one version of ''Pikmin'', you must include both this and the next parameters.
|-
! npcp1
| No || Unknown || Same as above, but for ''New Play Control! Pikmin'' on the [[Wii]].
|-
! p1s
| No || Unknown || Same as above, but for ''Pikmin 1'' on the [[Nintendo Switch]].
|-
! p2
| No || Unknown || Same as "p1", but for ''Pikmin 2'' (and its ports).
|-
! npcp2
| No || Unknown || Same as above, but for ''New Play Control! Pikmin 2'' on the Wii.
|-
! p2s
| No || Unknown || Same as above, but for ''Pikmin 2'' on the Nintendo Switch.
|-
! p3
| No || Unknown || Same as "p1", but for ''Pikmin 3''. If it only got introduced in a certain [[update]], or got fixed after a certain update, specify that here, too.
|-
! p3d
| No || Unknown || Same as above, but for ''Pikmin 3 Deluxe'' on the [[Nintendo Switch|Switch]].
|-
! versions
| No ||  || A generic field to specify versions in, when the previous ones won't cut it.
|-
! effects
| '''Yes''' ||  || What the glitch does.
|-
! prereq
| No || None. || Any prerequisites needed before triggering the glitch.
|-
! howto
| '''Yes''' ||  || Instructions on how to perform the glitch.
|-
! notes
| No || None. || Any extra notes that should be pointed out.
|-
! normal
| No ||  || What should happen normally, if the glitch didn't exist. If it's obvious, don't include this parameter.
|-
! explanation
| No || None. || Possible explanation.
|}
 
==Skeleton==
;''Pikmin''
<pre>
{{ glitch | reproducibility = | consequences = | p1 = | npcp1 = | p1s = | versions = | image = | video = | icaption = | image-align = | vcaption = | demonstration = | other =
| effects =
| prerequisites =
| howto =
| notes =
| normal =
| explanation =
}}
</pre>
 
;''Pikmin 2''
<pre>
{{ glitch | reproducibility = | consequences = | p2 = | npcp2 = | p2s = | versions = | image = | video = | icaption = | image-align = | vcaption = | demonstration = | other =
| effects =
| prerequisites =
| howto =
| notes =
| normal =
| explanation =
}}
</pre>
 
;''Pikmin 3''
<pre>
{{ glitch | reproducibility = | consequences = | p3 = | p3d = | versions = | image = | video = | icaption = | image-align = | vcaption = | demonstration = | other =
| effects =
| prerequisites =
| howto =
| notes =
| normal =
| explanation =
}}
</pre>
 
==Examples==
{| class = "wikitable"
! Code || style = "width: 100%;" | Result
|-
| <pre>{{glitch | reproducibility = High | consequences = Harmless
| p1 = Yes | npcp1 = No | p1s = No | image = Red Pikmin.png
| icaption = An example image that actually doesn't demonstrate a glitch.
| effects = Some effects.
| howto = An example guide.
}}</pre>
| {{glitch | reproducibility = High | consequences = Harmless | p1 = Yes | npcp1 = No | p1s = No | image = Red Pikmin.png | icaption = An example image that actually doesn't demonstrate a glitch.
| effects = Some effects.
| howto = An example guide.
}}
|-
| <pre>{{glitch | reproducibility = Low | consequences = Depends
| effects = Some effects.
| prereq = Some prerequisites.
| howto = An example guide.
| notes = Please note that these are examples.
| normal = You'd have the actual glitchless behavior here.
| explanation = The example is explained by having somebody writing it out.
}}</pre>
| {{glitch | reproducibility = Low | consequences = Depends
| effects = Some effects.
| prereq = Some prerequisites.
| howto = An example guide.
| notes = Please note that these are examples.
| normal = You'd have the actual glitchless behavior here.
| explanation = The example is explained by having somebody writing it out.
}}
|}


Read [[Pikipedia:Glitch notes]] on info over how each field works. Fields in bold are mandatory.
[[Category:Templates]]</noinclude>
</noinclude>