Template:Infobox level/doc: Difference between revisions

From Pizza Tower Wiki
Content added Content deleted
(updated according templates' modifications)
(addition of window_title + minor tweaks)
Line 16: Line 16:
|transformation =
|transformation =
|soundtrack =
|soundtrack =
|window_title =
|previous =
|previous =
|next =
|next =
Line 22: Line 23:
|unused = yes
|unused = yes
}}</pre>
}}</pre>
* <code>title</code> is optional; by default uses page name
* <code>title</code> is optional; by default uses page name.
* <code>transformation</code> should be a link to corresponding section of [[Transformations]] or [[Transformations/Pre-release]] pages
* <code>transformation</code> should be a link to corresponding section of [[Transformations]] or [[Transformations/Pre-release]] pages.
* <code>unused</code> (must be "yes") should be used if level didn't appear in the final version of the game
* <code>window_title</code> must be added in ''italic text''.
* <code>unused</code> (must be "yes") should be used if level didn't appear in the final version of the game.




Line 41: Line 43:
* Cold Spaghetti
* Cold Spaghetti
* hmmm look what u done did you found a secret :)
* hmmm look what u done did you found a secret :)
|window_title = ''Ye olde Pizza Tower''
|previous = [[John Gutter]]
|previous = [[John Gutter]]
|next = [[Ancient Cheese]]
|next = [[Ancient Cheese]]
|first_appearance = Blue Block Land
|first_appearance = Blue Block Land
|first_playable = ?}}
|first_playable = Blue Block Land}}
: Code:
: Code:
<pre>
<pre>
Line 60: Line 63:
* Cold Spaghetti
* Cold Spaghetti
* hmmm look what u done did you found a secret :)
* hmmm look what u done did you found a secret :)
|window_title = ''Ye olde Pizza Tower''
|previous = [[John Gutter]]
|previous = [[John Gutter]]
|next = [[Ancient Cheese]]
|next = [[Ancient Cheese]]
|first_appearance = Blue Block Land
|first_appearance = Blue Block Land
|first_playable = ?}}</pre>
|first_playable = Blue Block Land}}</pre>
: Results:
<!--<templatedata>
<!--<templatedata>
{
{
Line 93: Line 96:
"description": "List of music that plays in the level. (Use new line for each)",
"description": "List of music that plays in the level. (Use new line for each)",
"example": "Cold Spaghetti",
"example": "Cold Spaghetti",
"type": "string",
"suggested": true
},
"window_title": {
"label": "Window title",
"description": "The window title displayed when playing the game in window mode.",
"example": "''Ye olde Pizza Tower''",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
Line 111: Line 121:
},
},
"demo_appearance": {
"demo_appearance": {
"label": "First demo appearance",
"label": "First build appearance",
"description": "First appearance of the level in a pre-release version.",
"description": "First appearance of the level in a pre-release version.",
"example": "PT_Eggplantv15",
"example": "PT_Eggplantv15",

Revision as of 18:02, 31 October 2023

Description
This infobox must be used in articles about levels.
Template will also add the page to Category:Levels or Category:Unused 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 = 
|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.
  • 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''
|previous = [[John Gutter]]
|next = [[Ancient Cheese]]
|first_appearance = Blue Block Land
|first_playable = Blue Block Land}}