Template:Infobox level: Difference between revisions

From Pizza Tower Wiki
Content added Content deleted
(please work ...)
m (ported infobox css to its own css file successfully)
Line 1: Line 1:
<includeonly><templatestyles src="Template:Infobox level/styles.css" />{{#css:Pizza Tower Wiki:Infobox/styles.css}}<div class="infoboxWrapper"><infobox>
<includeonly><templatestyles src="Template:Infobox.css" /><templatestyles src="Template:Infobox level/styles.css" /><div class="infoboxWrap"><infobox>
<!-- this is correct block! -->
<!-- this is correct block! -->
<title source="title">
<title source="title">

Revision as of 21:50, 28 September 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}}