Template:Infobox level/doc: Difference between revisions

From Pizza Tower Wiki
Content added Content deleted
(addition of window_title + minor tweaks)
(added documentation about codenames)
Line 17: Line 17:
|soundtrack =
|soundtrack =
|window_title =
|window_title =
|codename =
|previous =
|previous =
|next =
|next =
Line 26: Line 27:
* <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>window_title</code> must be added in ''italic text''.
* <code>window_title</code> must be added in ''italic text''.
* <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.
* <code>unused</code> (must be "yes") should be used if level didn't appear in the final version of the game.


Line 44: Line 46:
* 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''
|window_title = ''Ye olde Pizza Tower''
|codename = medieval
|previous = [[John Gutter]]
|previous = [[John Gutter]]
|next = [[Ancient Cheese]]
|next = [[Ancient Cheese]]
Line 64: Line 67:
* 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''
|window_title = ''Ye olde Pizza Tower''
|codename = medieval
|previous = [[John Gutter]]
|previous = [[John Gutter]]
|next = [[Ancient Cheese]]
|next = [[Ancient Cheese]]
Line 103: Line 107:
"description": "The window title displayed when playing the game in window mode.",
"description": "The window title displayed when playing the game in window mode.",
"example": "''Ye olde Pizza Tower''",
"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",
"type": "string",
"suggested": true
"suggested": true
Line 149: Line 160:
"states_used",
"states_used",
"soundtrack_used",
"soundtrack_used",
"window_title",
"codename",
"demo_appearance",
"demo_appearance",
"previous_level",
"previous_level",

Revision as of 09:54, 26 November 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 = 
|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}}