Template:Infobox character: Difference between revisions

From Pizza Tower Wiki
Content deleted Content added
test
test
 
(25 intermediate revisions by 2 users not shown)
Line 1:
<includeonly><templatestyles src="Template:Infobox.css" /><div class="infoboxWrap" id="charaBox"><infobox>
<title source="nametitle"/>
<default>{{PAGENAME}}</default>
<image source="image">
</grouptitle>
<caption source="imagecaption" />
</image source="image">
<caption source="imagecaptioncaption" />
<group>
</groupimage>
<data source="aliases"><label>Aliases</label></data>
<group>
<data source="relatives"><label>Relatives</label></data>
<header>Pizza Tower infoInformation</header>
<data source="affiliationfullname"><label>AffiliationFull name</label></data>
</group>
<data source="aliases"><label>Aliases</label></data>
<group>
<data source="relatives"><label>Relatives</label></data>
<header>Biographical information</header>
<data source="maritalaffiliation"><label>Marital statusAffiliation</label></data>
</group>
<data source="birthDate"><label>Date of birth</label></data>
<group>
<data source="birthPlace"><label>Place of birth</label></data>
<header>Physical descriptionGameplay</header>
<data source="deathDate"><label>Date of death</label></data>
<data source="deathPlacehp"><label>Place of deathHealth</label></data>
<data source="birthPlacetransformation"><label>Place ofForms birthCaused</label></data>
</group>
 
<group>
<data source="birthDatedebut"><label>Date of birthDebut</label></data>
<header>Physical description</header>
<data source="demoappearancexdxdxdbuild-debut"><label>First demoBuild appearanceDebut</label></data>
 
<data source="gender"><label>Gender</label></data>
<!-- remove the next two lines when all character pages have updated -->
<data source="height"><label>Height</label></data>
<data source="weightfirst_appearance"><label>WeightFirst Appearance</label></data>
<data source="eyesfirst_demo_appearance"><label>EyeFirst Build colorAppearance</label></data>
</group>
</infobox></div><!--
<group>
--><!--
<header>Pizza Tower info</header>
-->{{#ifeq:{{NAMESPACENUMBER}}|0
<data source="state"><label>Causes Status?</label></data>
|{{#ifeq:{{{scrapped|}}}|yes|
</group>
{{#ifeq:{{{boss|}}}|yes|
</infobox>{{#ifeq:{{NAMESPACE}}|Template|<!-- do nothing -->|[[Category:Characters]]}}</includeonly><noinclude>{{Documentation}}</noinclude>
[[Category:Scrapped bosses]]|
{{#ifeq:{{{enemy|}}}|yes|
[[Category:Scrapped enemies]]|[[Category:Scrapped characters]]
}}
}}
|{{#ifeq:{{{boss|}}}|yes|
[[Category:Bosses]]|
{{#ifeq:{{{enemy|}}}|yes|
[[Category:Enemies]]|
{{#ifeq:{{{playable|}}}|yes|
[[Category:Playable characters]]|[[Category:Characters]]
}}
}}
}}
}}}}{{#seo:|image={{{image|}}}}}</includeonly><noinclude>{{Documentation}}[[Category:Infobox templates]]</noinclude>

Latest revision as of 14:13, 3 March 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.

Edit this documentation | About the Documentation template

Description
This is an infobox built specifically for characters in Pizza Tower and putting their pages into categories, including playable characters, enemies, and bosses (as long as they belong to the main namespace). It also will add metadata elements to the page, using WikiSEO.
This infobox was created with Extension:PortableInfobox.
Syntax
Copy this boilerplate code to the page and fill up its parameters:
{{Infobox character
|title = 
|image = 

|fullname = 
|aliases = 
|relatives = 
|affiliation = 

|hp = 
|transformation = 

|debut = 
|build-debut = 

|boss = 
|enemy = 
|playable = 
|scrapped = 
}}
  • title is optional; if left blank, it defaults to the page name.
  • image uses an idle animation of the character. If no such animation exists, a walking animation instead is fine.
  • There is a set of four parameters that detail additional aspects the character. Note that it may not be applicable to the character:
    • fullname is the character's full name.
    • aliases are other names the character is referred with by other characters.
    • relatives are relationships the character has with others, including but not limited to familial, platonic, romantic, etc.
    • affiliation details what "side" the character is on. Usually either filled with Peppino or Pizzaface. If they are neutral, leave blank.
  • There are a few game-based parameters as well, again not always applicable to the character:
  • debut lists the level the character debuted in.
  • build-debut lists the build the character debuted in.
  • There are four category parameters for categorizing the page, and filling them with "yes" will do the following:

Examples

The Noise - a boss and a playable character; code:
{{Infobox character
|title = The Noise
|image = File:PT-Spr playerN idle.gif
|relatives = [[Noisette]] (girlfriend)
|affiliation = [[Pizzahead]]
|hp = 8
|debut = The Noise (Arena)
|build-debut = [[Early Test Build]]
|boss = yes
|playable = yes}}
Results:
The page will be added to Category:Playable characters and Category:Bosses.
Pepperoni Goblin - an enemy; code:
{{infobox character
|title = Pepperoni Goblin
|image = Oh my, what big feet you have!.gif
|affiliation = [[Pizzaface]]
|transformation = [[Transformations#Ball|Ball]]
|debut = [[Pizzascape]]
|build-debut = [[Blue Block Land]]
|enemy = yes}}
Results:
The page will be added to Category:Enemies.
Gerome - an NPC; code
{{Infobox character
|title = Gerome
|image = Gerome idle.gif
|aliases = The Janitor
|relatives = [[Pillar John|John]] (brother)
|affiliation = [[Peppino]]
|debut = [[John Gutter]]
|build-debut = [[April 2021 (Build)]]}}
Results:
The page will be added to Category:Characters.