Template:Stage elements: Difference between revisions

From Inkipedia, the Splatoon wiki
mNo edit summary
(Changed it so that the items section is hidden when there are no items)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
{|class="wikitable sitecolor-oe"
{|class="wikitable {{#switch:{{lc:{{{game|}}}}}|s2|splatoon 2=sitecolor-s2|s3|splatoon 3=sitecolor-s3|oe|octo expansion=sitecolor-oe|so|side order=sitecolor-so|sr|salmon run=sitecolor-sr|s|splatoon|#default=sitecolor-s}}"
|+ {{PAGENAME}} stage summary
|+ {{PAGENAME}} stage summary
|-
|-
Line 10: Line 10:
{{{enemy|}}}
{{{enemy|}}}
|-
|-
! colspan=4|Items
{{#if:{{{item|}}}|! colspan=4{{!}}Items
|-
{{!-}}
!Item name
!Item name
!Image
!Image
! colspan=2|Locations and total found
! colspan=2{{!}}Locations and total found
{{!-}}
{{{item|}}} }}
|-
|-
{{{item|}}}
{{#if:{{{feature|}}}|! colspan=4{{!}}Features
|-
{{!-}}
! colspan=4|Stage elements
!Feature name
|-
!Mechanic name
!Image
!Image
! colspan=2|Locations and total found
! colspan=2{{!}}Locations and total found
{{!-}}
{{{feature|}}} }}
|-
|-
{{{mechanic|}}}
|}<noinclude>
|}
 
Root table for stage summaries for single player campaign stages. This covers the enemies, items, and other features found, with their name, image, locations, and total. It must be used in conjunction with [[Template:Stage elements/row]] to work properly. The parameters are as follows:
*game
*enemy
*item
*feature
 
<small>''The game parameter is only used to control color. The default is [[Splatoon]] green.''</small>
 
A template skeleton is as follows:
<pre>
{{Stage elements
|game=
|enemy=
|item=
|feature=
}}
</pre>
 
An example of the template in use would be as follows:
{{Stage elements
|enemy=
{{Stage elements/row|object=Octotrooper|file=Octotroopers1.jpg|location=Beginning area<br>Checkpoint 2<br>Checkpoint 4<br>Checkpoint 5<br>Final Checkpoint|total=2<br>5<br>2<br>2<br>1}}
{{Stage elements/row|object=Octoball|file=Octoball Artwork.jpg|location=Checkpoint 1<br>Checkpoint 4<br>|total=3<br>6}}
|item=
{{Stage elements/row|object=Inkzooka|file=S Weapon Special Inkzooka.png|location=Checkpoint 1|total=4}}
|feature=
{{Stage elements/row|object=[[Vault]] and [[Key]]|file=Vault Render.jpg|location=Final Checkpoint|total=1}}
}}
<pre>
{{Stage elements
|enemy=
{{Stage elements/row|object=Octotrooper|file=Octotroopers1.jpg|location=Beginning area<br>Checkpoint 2<br>Checkpoint 4<br>Checkpoint 5<br>Final Checkpoint|total=2<br>5<br>2<br>2<br>1}}
{{Stage elements/row|object=Octoball|file=Octoball Artwork.jpg|location=Checkpoint 1<br>Checkpoint 4<br>|total=3<br>6}}
|item=
{{Stage elements/row|object=Inkzooka|file=S Weapon Special Inkzooka.png|location=Checkpoint 1|total=4}}
|feature=
{{Stage elements/row|object=[[Vault]] and [[Key]]|file=Vault Render.jpg|location=Final Checkpoint|total=1}}
</pre>
<small>''Please note the table generates its name off the page name.''</small>
 
[[Category:Templates]]
</noinclude>

Latest revision as of 00:20, 25 August 2024

Stage elements stage summary
Enemies
Enemy name Image Locations and total found

Root table for stage summaries for single player campaign stages. This covers the enemies, items, and other features found, with their name, image, locations, and total. It must be used in conjunction with Template:Stage elements/row to work properly. The parameters are as follows:

  • game
  • enemy
  • item
  • feature

The game parameter is only used to control color. The default is Splatoon green.

A template skeleton is as follows:

{{Stage elements
|game=
|enemy=
|item=
|feature=
}}

An example of the template in use would be as follows:

Stage elements stage summary
Enemies
Enemy name Image Locations and total found
Octotrooper
Beginning area
Checkpoint 2
Checkpoint 4
Checkpoint 5
Final Checkpoint
2
5
2
2
1
Octoball
Checkpoint 1
Checkpoint 4
3
6
Items
Item name Image Locations and total found
Inkzooka
Checkpoint 1 4
Features
Feature name Image Locations and total found
[[Vault and Key]]
Final Checkpoint 1
{{Stage elements
|enemy=
{{Stage elements/row|object=Octotrooper|file=Octotroopers1.jpg|location=Beginning area<br>Checkpoint 2<br>Checkpoint 4<br>Checkpoint 5<br>Final Checkpoint|total=2<br>5<br>2<br>2<br>1}}
{{Stage elements/row|object=Octoball|file=Octoball Artwork.jpg|location=Checkpoint 1<br>Checkpoint 4<br>|total=3<br>6}}
|item=
{{Stage elements/row|object=Inkzooka|file=S Weapon Special Inkzooka.png|location=Checkpoint 1|total=4}}
|feature=
{{Stage elements/row|object=[[Vault]] and [[Key]]|file=Vault Render.jpg|location=Final Checkpoint|total=1}}

Please note the table generates its name off the page name.