Template:Infobox level: Difference between revisions
From Pizza Tower Wiki
Content added Content deleted
mNo edit summary |
mNo edit summary |
||
(43 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:Infobox.css" /><templatestyles src="Template:Infobox level/styles.css" /><div class="infoboxWrap" id="levelBox"><infobox> |
|||
<infobox> |
|||
<!-- this is correct block! --> |
|||
<title source=" |
<title source="title"> |
||
<default>{{PAGENAME}}</default> |
<default>{{PAGENAME}}</default> |
||
</title> |
</title> |
||
⚫ | |||
<caption source="caption"/> |
|||
</image> |
|||
<!-- this must be removed when parameters on all pages will be fixed! --> |
|||
<image source="image1"> |
<image source="image1"> |
||
<caption source=" |
<caption source="caption-image1"/> |
||
</image> |
</image> |
||
<!-- these should stay --> |
|||
<data source="world"> |
<data source="world"> |
||
<label>World</label> |
<label>World</label> |
||
</data> |
</data> |
||
⚫ | |||
<!-- this is correct block! --> |
|||
⚫ | |||
⚫ | |||
<label>Escape time limit</label> |
|||
</data> |
</data> |
||
⚫ | |||
<!-- this must be removed when parameters on all pages will be fixed! --> |
|||
⚫ | |||
<data source="escape_time_limit"> |
|||
<label>Escape time limit</label> |
|||
</data> |
</data> |
||
<!-- this should stay --> |
|||
<data source="srank"> |
|||
<label>S Rank cap</label> |
|||
</data> |
|||
<!-- this is correct block! --> |
|||
<data source="transformation"> |
|||
⚫ | |||
</data> |
|||
<data source="soundtrack"> |
|||
<label>Soundtrack</label> |
|||
</data> |
|||
<!-- this must be removed when parameters on all pages will be fixed! --> |
|||
<data source="states_used"> |
<data source="states_used"> |
||
<label>States used</label> |
<label>States used</label> |
||
</data> |
</data> |
||
<data source="soundtrack_used"> |
<data source="soundtrack_used"> |
||
<label>Soundtrack</label> |
|||
</data> |
</data> |
||
<data source="demo_appearance"> |
|||
<label>First Build Appearance</label> |
|||
</data> |
|||
<!-- this is correct block! --> |
|||
<data source="window_title"> |
|||
⚫ | |||
</data> |
|||
<data source="codename"> |
|||
<label>Codename</label> |
|||
<format><tt>{{{codename}}}</tt></format> |
|||
</data> |
|||
<group layout="horizontal"> |
|||
<header>Level order</header> |
|||
<data source="previous"> |
|||
<label>Previous</label> |
|||
</data> |
|||
<data source="next"> |
|||
<label>Next</label> |
|||
</data> |
|||
</group> |
|||
<group layout="horizontal"> |
|||
<header>Builds</header> |
|||
<data source="first_appearance"> |
|||
<label>First appearance</label> |
|||
</data> |
|||
<data source="first_playable"> |
|||
<label>First playable</label> |
|||
</data> |
|||
</group> |
|||
<!-- this must be removed when parameters on all pages will be fixed! --> |
|||
<group> |
<group> |
||
<header>Level order</header> |
<header>Level order</header> |
||
Line 30: | Line 89: | ||
</data> |
</data> |
||
</group> |
</group> |
||
</infobox> |
</infobox></div><!-- |
||
-->{{#seo: |
|||
<noinclude> |
|||
|description = {{#if: {{{title|}}}|{{{title|}}}|{{PAGENAME}}}} is {{#if: {{{unused|}}}|an unused|a}} level in Pizza Tower{{#if: {{{description|}}}|. {{{description|}}}}} |
|||
Example usage:<pre> |
|||
|image = {{#if: {{{image1|}}}|{{{image1|}}}|{{#if:{{{image|}}}|{{{image|}}}|PTWiki-Logo2023.png}}}}<!-- |
|||
{{Level information |
|||
-->}}<!-- |
|||
|title1=Example |
|||
-->{{#ifeq:{{NAMESPACENUMBER}}|0|{{#if: {{{unused|}}}|[[Category:Scrapped levels]]|[[Category:Levels]]}}}}</includeonly><noinclude>{{documentation}}[[Category:Infobox templates]][[Category:Templates under maintenance]]</noinclude> |
|||
|image1=Example |
|||
|caption1=Example |
|||
|world=Example |
|||
|level_number=Example |
|||
|setting=Example |
|||
|states_used=Example |
|||
|soundtrack_used=Example |
|||
|previous_level=Example |
|||
|next_level=Example |
|||
}} |
|||
</pre> |
|||
</noinclude> |
Latest revision as of 15:28, 11 January 2024
How do I use this thing?
This is documentation about a Template. Portions of this template may not display properly without certain values provided.
- 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}}