Template:Sublevel units: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if: {{{1|}}} | {{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{1}}}.jpg|{{{1}}}|center|96x96px]] }}
<includeonly>{{#if: {{{1|}}} | {{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{1}}}.jpg|{{{1}}}|center|96x96px]] {{#if:{{{3|}}} | | {{!}}{{!}} colspan = 5 rowspan = 2 {{!}} }} }} {{#if: {{{3|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{3}}}.jpg|{{{3}}}|center|96x96px]] {{#if:{{{5|}}} | | {{!}}{{!}} colspan = 4 rowspan = 2 {{!}} }}}} {{#if: {{{5|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{5}}}.jpg|{{{5}}}|center|96x96px]] {{#if:{{{7|}}} | | {{!}}{{!}} colspan = 3 rowspan = 2 {{!}} }}}} {{#if: {{{7|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{7}}}.jpg|{{{7}}}|center|96x96px]] {{#if:{{{9|}}} | | {{!}}{{!}} colspan = 2 rowspan = 2 {{!}} }}}} {{#if: {{{9|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{9}}}.jpg|{{{9}}}|center|96x96px]] {{#if:{{{11|}}} | | {{!}}{{!}} colspan = 1 rowspan = 2 {{!}} }}}} {{#if: {{{11|}}} | {{!}}{{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{11}}}.jpg|{{{11}}}|center|96x96px]] }}
{{#if: {{{3|}}} | {{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{3}}}.jpg|{{{3}}}|center|96x96px]] }}
{{#if: {{{5|}}} | {{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{5}}}.jpg|{{{5}}}|center|96x96px]] }}
{{#if: {{{7|}}} | {{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{7}}}.jpg|{{{7}}}|center|96x96px]] }}
{{#if: {{{9|}}} | {{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{9}}}.jpg|{{{9}}}|center|96x96px]] }}
{{#if: {{{11|}}} | {{!}} style = "background-color: #4D3299; width: 96px;" {{!}} [[File:P2CU_{{{11}}}.jpg|{{{11}}}|center|96x96px]] }}
{{!}}-
{{!}}-
{{#if: {{{2|}}} | {{!}} style = "font-size: 80%;" {{!}} {{{2}}} }}
{{#if: {{{2|}}} | {{!}} style = "font-size: 80%;" {{!}} {{{2}}} }} {{#if: {{{4|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{4}}} }}{{#if: {{{6|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{6}}} }}{{#if: {{{8|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{8}}} }}{{#if: {{{10|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{10}}} }}{{#if: {{{12|}}} | {{!}}{{!}} style = "font-size: 80%;" {{!}} {{{12}}} }}
{{#if: {{{4|}}} | {{!}} style = "font-size: 80%;" {{!}} {{{4}}} }}
{{!}}-
{{#if: {{{6|}}} | {{!}} style = "font-size: 80%;" {{!}} {{{6}}} }}
</includeonly><noinclude>
{{#if: {{{8|}}} | {{!}} style = "font-size: 80%;" {{!}} {{{8}}} }}
{{#if: {{{10|}}} | {{!}} style = "font-size: 80%;" {{!}} {{{10}}} }}
{{#if: {{{12|}}} | {{!}} style = "font-size: 80%;" {{!}} {{{12}}} }}
{{!}}-<noinclude>
 
This template is to be used in conjunction with [[Template:Sublevel technical]].


==Use==
==Info==
<pre>
This template is to be used in conjunction with {{tem|Sublevel technical}}. This is used to add a [[cave unit]] to the information box. This template can show up to 6 units at a time (i.e. there may be only 6 in a single line). If there are more, just call the template again.
{{sublevel units
| &lt;1st unit's internal name&gt; | &lt;1st unit's description, in bold if needed&gt;
| &lt;2nd unit's internal name&gt; | &lt;2nd unit's description, in bold if needed&gt;
| &lt;3rd unit's internal name&gt; | &lt;3rd unit's description, in bold if needed&gt;
| &lt;4th unit's internal name&gt; | &lt;4th unit's description, in bold if needed&gt;
| &lt;5th unit's internal name&gt; | &lt;5th unit's description, in bold if needed&gt;
| &lt;6th unit's internal name&gt; | &lt;6th unit's description, in bold if needed&gt;
}}
</pre>


All parameters are optional. Normally, you call this template every 6 units. So if a sublevel has 8 units, you call this template, fill in the info on the first 6, and then call it again, only filling in the info on the next 2.
==Parameters==
{| class = "wikitable"
! Parameter || Mandatory || Default || Purpose || Detailed description
|-
! 1, 3, 5, 7, 9, 11
| No ||  || Internal name || The internal name of the 1<sup>st</sup> to 6<sup>th</sup> units.
|-
! 2, 4, 6, 8, 10, 12
| No ||  || Description || Description of the 1<sup>st</sup> to 6<sup>th</sup> units. Write this in bold if it's a room (i.e. its "room type" value is "1").
|}


[[Category:Templates]]
[[Category:Templates]]</noinclude>
</noinclude>

Latest revision as of 01:57, August 30, 2019


Info

This template is to be used in conjunction with {{Sublevel technical}}. This is used to add a cave unit to the information box. This template can show up to 6 units at a time (i.e. there may be only 6 in a single line). If there are more, just call the template again.

Parameters

Parameter Mandatory Default Purpose Detailed description
1, 3, 5, 7, 9, 11 No Internal name The internal name of the 1st to 6th units.
2, 4, 6, 8, 10, 12 No Description Description of the 1st to 6th units. Write this in bold if it's a room (i.e. its "room type" value is "1").