Template:Infobox level/doc: Difference between revisions

From Pizza Tower Wiki
Content added Content deleted
(updated according templates' modifications)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
; Description
; Description
: This infobox must be used in articles about [[List of levels|levels]].
: This infobox must be used in articles about [[List of levels|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 [[mw:Extension:WikiSEO|WikiSEO]] parser function).
: 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 [[mw:Extension:WikiSEO|WikiSEO]] parser function).
: This infobox was created with [[mw:Extension:PortableInfobox|Extension:PortableInfobox]].
: This infobox was created with [[mw:Extension:PortableInfobox|Extension:PortableInfobox]].


Line 16: Line 16:
|transformation =
|transformation =
|soundtrack =
|soundtrack =
|window_title =
|codename =
|previous =
|previous =
|next =
|next =
Line 22: Line 24:
|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>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: Line 45:
* 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''
|codename = medieval
|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 66:
* 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''
|codename = medieval
|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 100:
"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",
"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 111: Line 132:
},
},
"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",
Line 139: Line 160:
"states_used",
"states_used",
"soundtrack_used",
"soundtrack_used",
"window_title",
"codename",
"demo_appearance",
"demo_appearance",
"previous_level",
"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}}