Template:Infobox level: Difference between revisions

From Pizza Tower Wiki
Content added Content deleted
m (error fix)
(labels + prm)
Line 7: Line 7:
<caption source="caption"/>
<caption source="caption"/>
</image>
</image>
<!-- this must be removed when parameters on all pages will be fixed! -->
<!-- this must be removed when parameters on all pages will be fixed! -->
<image source="image1">
<image source="image1">
<caption source="caption-image1"/>
<caption source="caption-image1"/>
</image>
</image>
<!-- these should stay -->
<!-- these should stay -->
<data source="level_number">
<label>Level number</label>
</data>
<data source="world">
<data source="world">
<label>World</label>
<label>World</label>
</data>
</data>
<!-- this is correct block! -->
<!-- this is correct block! -->
<data source="escape_time">
<data source="escape_time">
<label>Escape time limit</label>
<label>Escape time limit</label>
</data>
</data>
<!-- this must be removed when parameters on all pages will be fixed! -->
<!-- this must be removed when parameters on all pages will be fixed! -->
<data source="escape_time_limit">
<data source="escape_time_limit">
<label>Escape time limit</label>
<label>Escape time limit</label>
</data>
</data>
<!-- this should stay -->
<!-- this should stay -->
<data source="srank">
<data source="srank">
<label>S Rank requirement</label>
<label>S Rank cap</label>
</data>
</data>
<!-- this is correct block! -->
<!-- this is correct block! -->
<data source="transformations">
<data source="transformations">
<label>Transformations</label>
<label>States</label>
</data>
</data>
<data source="soundtrack">
<data source="soundtrack">
<label>Soundtrack</label>
<label>Soundtrack</label>
</data>
</data>
<data source="demo">
<data source="first_appearance">
<label>First Demo Appearance</label>
<label>First build appearance</label>
</data>
<data source="first_playable">
<label>First playable state</label>
</data>
</data>
<!-- this must be removed when parameters on all pages will be fixed! -->
<!-- this must be removed when parameters on all pages will be fixed! -->
<data source="setting">
<data source="setting">
Line 53: Line 60:
<label>First Demo Appearance</label>
<label>First Demo Appearance</label>
</data>
</data>
<!-- this is correct block! -->
<!-- this is correct block! -->
<group layout="horizontal">
<group layout="horizontal">
Line 63: Line 71:
</data>
</data>
</group>
</group>
<!-- this must be removed when parameters on all pages will be fixed! -->
<!-- this must be removed when parameters on all pages will be fixed! -->
<group>
<group>

Revision as of 07:23, 19 August 2023

How do I use this thing?

This is documentation about a Template. Portions of this template may not display properly without certain values provided.

Edit this documentation | About the Documentation template

Description
This infobox must be used in articles about levels.
Template will also add the page to Category:Levels or Category:Scrapped levels automatically (unless the page doesn't belong to the main namespace), and will add web metadata elements to the page (using WikiSEO parser function).
This infobox was created with Extension:PortableInfobox.
Syntax
Copy this boilerplate code to the page and fill up its parameters:
{{Infobox_level
|title = 
|image = 
|caption = 
|world = 
|escape_time = 
|srank = 
|transformation = 
|soundtrack = 
|window_title = 
|codename = 
|previous = 
|next = 
|first_appearance = 
|first_playable = 
|unused = yes
}}
  • title is optional; by default uses page name.
  • transformation should be a link to corresponding section of Transformations or Transformations/Pre-release pages.
  • window_title must be added in italic text.
  • codename must always have its first letter be in lower case, unless it starts in the game's files with a capital letter.
  • unused (must be "yes") should be used if level didn't appear in the final version of the game.


Usage example

Code:
{{Infobox_level
|title = Pizzascape
|image = Spr_titlecards_1.png
|world = [[Tower Lobby]]
|escape_time = 2:50
|srank = 19500
|transformation = 
* [[Transformations#Ball|Ball]]
* [[Transformations#Knight|Knight]]
|soundtrack = 
* Hot Spaghetti
* Cold Spaghetti
* hmmm look what u done did you found a secret :)
|window_title = ''Ye olde Pizza Tower''
|codename = medieval
|previous = [[John Gutter]]
|next = [[Ancient Cheese]]
|first_appearance = Blue Block Land
|first_playable = Blue Block Land}}