Template:Infobox level/doc: Difference between revisions

From Pizza Tower Wiki
Content deleted Content added
updated according templates' modifications
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1:
; Description
: This infobox must be used in articles about [[List of levels|levels]].
: Template will also add the page to [[:Category:Levels]] or [[:Category:UnusedScrapped levels]] automatically (unless the page doesn't belong to the main namespace), and will add web metadata elements to the page (using [[mw:Extension:WikiSEO|WikiSEO]] parser function).
: This infobox was created with [[mw:Extension:PortableInfobox|Extension:PortableInfobox]].
 
Line 16:
|transformation =
|soundtrack =
|window_title =
|codename =
|previous =
|next =
Line 22 ⟶ 24:
|unused = yes
}}</pre>
* <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>unusedwindow_title</code> (must be "yes")added shouldin be''italic used if level didntext't appear in the final version of the game '.
* <code>codename</code> must always have its first letter be in lower case, unless it starts in the game's files with a capital letter.
* <code>unused</code> (must be "yes") should be used if level didn't appear in the final version of the game.
 
 
Line 41 ⟶ 45:
* 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}}
: Code:
<pre>
Line 60 ⟶ 66:
* 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}}</pre>
: Results:
<!--<templatedata>
{
Line 93 ⟶ 100:
"description": "List of music that plays in the level. (Use new line for each)",
"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",
"suggested": true
},
"codename": {
"label": "Codename",
"description": "The name of the level as it's described in the game's files.",
"example": "medieval",
"type": "string",
"suggested": true
Line 111 ⟶ 132:
},
"demo_appearance": {
"label": "First demobuild appearance",
"description": "First appearance of the level in a pre-release version.",
"example": "PT_Eggplantv15",
Line 139 ⟶ 160:
"states_used",
"soundtrack_used",
"window_title",
"codename",
"demo_appearance",
"previous_level",

Latest revision as of 16:35, 10 January 2024

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}}