Difference between revisions of "Template:Infobox"

From Zelda Dungeon Wiki
Jump to navigation Jump to search
m
m
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{High Use}}<onlyinclude><includeonly>{{#switch: {{lc:{{{1|}}}}}
+
{{High Use}}<onlyinclude><includeonly>{{#if:{{{nocat|}}}||{{#switch: {{lc:{{{1|}}}}}
 
| interview = {{Cat|Interviews|{{{2|{{PAGENAME}}}}}}}
 
| interview = {{Cat|Interviews|{{{2|{{PAGENAME}}}}}}}
 
| product | publication = {{Cat|Products|{{{2|{{PAGENAME}}}}}}}
 
| product | publication = {{Cat|Products|{{{2|{{PAGENAME}}}}}}}
}}</includeonly>{{Box|right|width=400px
+
}}}}</includeonly>{{Box|right|width=400px
 
| title = {{#if: {{{forumpage|}}}
 
| title = {{#if: {{{forumpage|}}}
 
   | <span class="plainlinks">[{{{forumpage}}} {{{name|{{PAGENAME}}}}}]</span>
 
   | <span class="plainlinks">[{{{forumpage}}} {{{name|{{PAGENAME}}}}}]</span>
Line 9: Line 9:
 
| class = infobox {{#switch: {{lc:{{{1|}}}}}
 
| class = infobox {{#switch: {{lc:{{{1|}}}}}
 
   | boss | enemy = infobox-hostile
 
   | boss | enemy = infobox-hostile
   | dungeon = infobox-dungeon
+
   | dungeon | scenario = infobox-dungeon
 
   | location | shop = infobox-location
 
   | location | shop = infobox-location
 
   | character | group | race | shop owner = infobox-character
 
   | character | group | race | shop owner = infobox-character
Line 50: Line 50:
  
 
COMBAT
 
COMBAT
-->{{#if: {{{threat|}}}
+
-->{{#if: {{{warriors|}}}
 +
| {{Infobox/Row|Warriors|{{{warriors}}}}}
 +
}}{{#if: {{{allies|}}}
 +
| {{Infobox/Row|Allies|{{{allies}}}}}
 +
}}{{#if: {{{threat|}}}
 
| {{Infobox/Row|Threat|{{Threat|{{{threat}}}}}}}
 
| {{Infobox/Row|Threat|{{Threat|{{{threat}}}}}}}
 
}}{{#if: {{{attack|}}}
 
}}{{#if: {{{attack|}}}
Line 58: Line 62:
 
}}{{#if: {{{weaponused|}}}
 
}}{{#if: {{{weaponused|}}}
 
| {{Infobox/Row|Weapons Used|{{{weaponused}}}}}
 
| {{Infobox/Row|Weapons Used|{{{weaponused}}}}}
 +
}}{{#if: {{{weaponavailable|}}}
 +
| {{Infobox/Row|Weapons Available|{{{weaponavailable}}}}}
 
}}{{#if: {{{element|}}}
 
}}{{#if: {{{element|}}}
 
| {{Infobox/Row|Element|{{{element}}}}}
 
| {{Infobox/Row|Element|{{{element}}}}}
 +
}}{{#if: {{{recommended element|}}}
 +
| {{Infobox/Row|Recommended Element|{{{{{recommended element}}}}} {{{recommended element}}}}}
 
}}{{#if: {{{power|}}}
 
}}{{#if: {{{power|}}}
 
| {{Infobox/Row|Base Power|{{{power}}}}}
 
| {{Infobox/Row|Base Power|{{{power}}}}}
Line 70: Line 78:
 
}}{{#if: {{{range|}}}
 
}}{{#if: {{{range|}}}
 
| {{Infobox/Row|Base Range|{{{range}}}}}
 
| {{Infobox/Row|Base Range|{{{range}}}}}
 +
}}{{#if: {{{throwing range|}}}
 +
| {{Infobox/Row|Throwing Range|{{{throwing range}}}}}
 
}}{{#if: {{{setbonus|}}}
 
}}{{#if: {{{setbonus|}}}
 
| {{Infobox/Row|Set Bonus|{{{setbonus}}}}}
 
| {{Infobox/Row|Set Bonus|{{{setbonus}}}}}
Line 85: Line 95:
 
}}{{#if: {{{dungeon|}}}
 
}}{{#if: {{{dungeon|}}}
 
| {{Infobox/Row|Dungeons|{{{dungeon}}}}}
 
| {{Infobox/Row|Dungeons|{{{dungeon}}}}}
}}{{#if: {{{when|}}}
+
}}{{#if: {{{when|{{{occurrence|}}}}}}
| {{Infobox/Row|Occurrence|{{{when}}}}}
+
| {{Infobox/Row|Occurrence|{{{when|{{{occurrence}}}}}}}}
 +
}}{{#if: {{{stage|}}}
 +
| {{Infobox/Row|Stage|{{{stage}}}}}
 +
}}{{#if: {{{previous|}}}
 +
| {{Infobox/Row|Previous|{{{previous}}}}}
 +
}}{{#if: {{{next|}}}
 +
| {{Infobox/Row|Next|{{{next}}}}}
 +
}}{{#if: {{{simultaneous|}}}
 +
| {{Infobox/Row|Simultaneous|{{{simultaneous}}}}}
 
}}{{#if: {{{natseason|}}}
 
}}{{#if: {{{natseason|}}}
 
| {{Infobox/Row|Natural Season|{{{natseason}}}}}
 
| {{Infobox/Row|Natural Season|{{{natseason}}}}}
Line 104: Line 122:
 
}}{{#if: {{{members|}}}
 
}}{{#if: {{{members|}}}
 
| {{Infobox/Row|Members|{{{members}}}}}
 
| {{Infobox/Row|Members|{{{members}}}}}
 +
}}{{#if: {{{missions|}}}
 +
| {{Infobox/Row|Missions|{{{missions}}}}}
 
}}{{#if: {{{pointsint|}}}
 
}}{{#if: {{{pointsint|}}}
 
| {{Infobox/Row|Points of<br/>Interest|{{{pointsint}}}}}
 
| {{Infobox/Row|Points of<br/>Interest|{{{pointsint}}}}}
Line 168: Line 188:
 
| {{#forargs: release | platform | date
 
| {{#forargs: release | platform | date
 
   | {{#if:{{#var:platform}}|{{#if:{{#var:release-header-displayed}}||{{Infobox/Header|Release}}
 
   | {{#if:{{#var:platform}}|{{#if:{{#var:release-header-displayed}}||{{Infobox/Header|Release}}
     {{Infobox/Row|label=2|Platform|Date}}{{#vardefine:release-header-displayed|yes}}
+
     {{Infobox/Row|label=2|{{{platform_header|Platform}}}|Date}}{{#vardefine:release-header-displayed|yes}}
 
     }}{{Infobox/Row|label=0|{{#var:platform}}|{{#var:date}}}}}}
 
     }}{{Infobox/Row|label=0|{{#var:platform}}|{{#var:date}}}}}}
 
   }}{{#vardefine:release-header-displayed|}}
 
   }}{{#vardefine:release-header-displayed|}}
Line 174: Line 194:
  
 
CREDITS
 
CREDITS
-->{{#if: {{{developer|}}}{{{manufacturer|}}}{{{publisher|}}}{{{producer|}}}{{{director|}}}{{{author|}}}{{{editor|}}}{{{artist|}}}{{{designer|}}}{{{composer|}}}{{{arranged|}}}{{{host|}}}
+
-->{{#if: {{{arranged|}}}{{{art director|}}}{{{artist|}}}{{{author|}}}{{{composer|}}}{{{concept and design|}}}{{{designer|}}}{{{director|}}}{{{director of production|}}}{{{developer|}}}{{{editor|}}}{{{editors|}}}{{{editor in chief|{{{editor-in-chief|}}}}}}{{{editorial consultants|}}}{{{host|}}}{{{illustrator|}}}{{{illustrators|}}}{{{layout|}}}{{{manufacturer|}}}{{{producer|}}}{{{producer in chief|{{{producer-in-chief|}}}}}}{{{project coordinators|}}}{{{publisher|}}}{{{senior editor|}}}{{{technical advice|}}}
 
| {{Infobox/Header|Credits}}
 
| {{Infobox/Header|Credits}}
 
   {{#if: {{{developer|}}}
 
   {{#if: {{{developer|}}}
Line 182: Line 202:
 
   }}{{#if: {{{publisher|}}}
 
   }}{{#if: {{{publisher|}}}
 
   | {{Infobox/Row|Publisher|{{{publisher}}}}}
 
   | {{Infobox/Row|Publisher|{{{publisher}}}}}
 +
  }}{{#if: {{{producer in chief|{{{producer-in-chief|}}}}}}
 +
  | {{Infobox/Row|Producer-in-Chief|{{{producer in chief|{{{producer-in-chief}}}}}}}}
 
   }}{{#if: {{{producer|}}}
 
   }}{{#if: {{{producer|}}}
 
   | {{Infobox/Row|Producer|{{{producer}}}}}
 
   | {{Infobox/Row|Producer|{{{producer}}}}}
 +
  }}{{#if: {{{director of production|}}}
 +
  | {{Infobox/Row|Director of Production|{{{director of production}}}}}
 
   }}{{#if: {{{director|}}}
 
   }}{{#if: {{{director|}}}
 
   | {{Infobox/Row|Director|{{{director}}}}}
 
   | {{Infobox/Row|Director|{{{director}}}}}
 
   }}{{#if: {{{author|}}}
 
   }}{{#if: {{{author|}}}
 
   | {{Infobox/Row|Author|{{{author}}}}}
 
   | {{Infobox/Row|Author|{{{author}}}}}
 +
  }}{{#if: {{{editor in chief|{{{editor-in-chief|}}}}}}
 +
  | {{Infobox/Row|Editor-in-Chief|{{{editor in chief|{{{editor-in-chief}}}}}}}}
 +
  }}{{#if: {{{senior editor|}}}
 +
  | {{Infobox/Row|Senior Editor|{{{senior editor}}}}}
 +
  }}{{#if: {{{editors|}}}
 +
  | {{Infobox/Row|Editors|{{{editors}}}}}
 
   }}{{#if: {{{editor|}}}
 
   }}{{#if: {{{editor|}}}
 
   | {{Infobox/Row|Editor|{{{editor}}}}}
 
   | {{Infobox/Row|Editor|{{{editor}}}}}
 +
  }}{{#if: {{{editorial consultants|}}}
 +
  | {{Infobox/Row|Editorial Consultants|{{{editorial consultants}}}}}
 +
  }}{{#if: {{{technical advice|}}}
 +
  | {{Infobox/Row|Technical Advice|{{{technical advice}}}}}
 +
  }}{{#if: {{{art director|}}}
 +
  | {{Infobox/Row|Art Director|{{{art director}}}}}
 +
  }}{{#if: {{{concept and design|}}}
 +
  | {{Infobox/Row|Concept & Design|{{{concept and design}}}}}
 +
  }}{{#if: {{{layout|}}}
 +
  | {{Infobox/Row|Layout|{{{layout}}}}}
 
   }}{{#if: {{{artist|}}}
 
   }}{{#if: {{{artist|}}}
 
   | {{Infobox/Row|Artist|{{{artist}}}}}
 
   | {{Infobox/Row|Artist|{{{artist}}}}}
 +
  }}{{#if: {{{illustrator|}}}
 +
  | {{Infobox/Row|Illustrator|{{{illustrator}}}}}
 +
  }}{{#if: {{{illustrators|}}}
 +
  | {{Infobox/Row|Illustrators|{{{illustrators}}}}}
 
   }}{{#if: {{{designer|}}}
 
   }}{{#if: {{{designer|}}}
 
   | {{Infobox/Row|Designer|{{{designer}}}}}
 
   | {{Infobox/Row|Designer|{{{designer}}}}}
Line 198: Line 242:
 
   }}{{#if: {{{arranged|}}}
 
   }}{{#if: {{{arranged|}}}
 
   | {{Infobox/Row|Arranged|{{{arranged}}}}}
 
   | {{Infobox/Row|Arranged|{{{arranged}}}}}
 +
  }}{{#if: {{{project coordinators|}}}
 +
  | {{Infobox/Row|Project Coordinators|{{{project coordinators}}}}}
 
   }}{{#if: {{{host|}}}
 
   }}{{#if: {{{host|}}}
 
   | {{Infobox/Row|Webhost|{{{host}}}}}
 
   | {{Infobox/Row|Webhost|{{{host}}}}}
Line 208: Line 254:
 
   {{#if: {{{type|}}}
 
   {{#if: {{{type|}}}
 
   | {{Infobox/Row|Type|{{{type}}}}}
 
   | {{Infobox/Row|Type|{{{type}}}}}
 +
  }}{{#if: {{{founded|}}}
 +
  | {{Infobox/Row|Founded|{{{founded}}}}}
 
   }}{{#if: {{{model|}}}
 
   }}{{#if: {{{model|}}}
 
   | {{Infobox/Row|Model|{{{model}}}}}
 
   | {{Infobox/Row|Model|{{{model}}}}}
Line 303: Line 351:
 
</table>
 
</table>
 
{{Box/Bottom}}</onlyinclude>
 
{{Box/Bottom}}</onlyinclude>
 
+
{{Documentation}}
==Purpose==
 
This template is used on most pages to display quick high-level information on the subject.
 
 
 
==Usage==
 
Place this template at the top of the article, below any {{Temlink|Hatnote|Hatnotes}} or {{Temlink|Ambox|Amboxes}}. Use whichever parameters are applicable; all are optional.
 
 
 
All available parameters:
 
{{Float|left}}<pre>
 
{{Infobox|type
 
| name =
 
| logo =
 
| boxart =
 
| image =
 
| caption =
 
| title =
 
| race =
 
| gender =
 
| trial =
 
| occupation =
 
| member =
 
| leader        =
 
| ship          =
 
| purpose =
 
| special =
 
| number =
 
| threat =
 
| attack =
 
| weapon =
 
| weaponused =
 
| element =
 
| power =
 
| defense =
 
| health =
 
| durability =
 
| range =
 
| setbonus =
 
| ingredients =
 
| game =
 
| location =
 
| dungeon =
 
| when =
 
| natseason =
 
| boss =
 
| miniboss =
 
| enemies =
 
| inhab =
 
| characters =
 
| members =
 
| pointsint =
 
| item =
 
| prereq =
 
| shop =
 
| owner =
 
| cost =
 
| rarity =
 
| start =
 
| objective =
 
| learn =
 
| tell =
 
| reward =
 
| instrument =
 
| perform =
 
| use =
 
| effect =
 
| dyeable =
 
| enhanceable =
 
| related =
 
| release =
 
| release <platform1> = <date1>
 
| release <platform2> = <date2>
 
| ...
 
| developer =
 
| manufacturer =
 
| publisher =
 
| producer =
 
| director =
 
| author =
 
| editor =
 
| artist =
 
| designer =
 
| composer =
 
| arranged =
 
| album =
 
| track =
 
| host =
 
| type =
 
| model =
 
| seasons =
 
| episodes =
 
| language =
 
| length =
 
| duration =
 
| size =
 
| weight =
 
| color =
 
| quantity =
 
| ISBN =
 
| ASIN =
 
| catalog =
 
| wave =
 
| seriesnumber =
 
| UPC =
 
| walkthrough =
 
| guides =
 
| gallery =
 
| videos =
 
| music =
 
| date =
 
| interviewee =
 
| interviewer =
 
| description =
 
| source =
 
| dept =
 
| position =
 
| born =
 
| died =
 
| age =
 
| rank =
 
| joindate =
 
| website =
 
| posts =
 
| im =
 
}}
 
</pre>{{Float|end}}
 
{{Usage/Param|type|This defines the color of the title. See below for available types.|optional}}
 
{{Usage/Param|name|This is only necessary when the title of the Infobox should be different from the title of the article. Examples include shortening game titles to their subtitles and removing parenthetical specifications (e.g. [[Hyrule Castle (Twilight Princess)]]).|optional|article title}}
 
{{Usage/Param|boxart|Used only for games and consoles, this overrides the <code>image</code> parameter.}}
 
{{Usage/Param|member|Any organization(s) of which the subject is a member.}}
 
{{Usage/Param|related|Related subjects. For characters, specify the type of relation, e.g. "Talon (Father)" or "Talon (Boss)".}}
 
{{Usage/Param|threat|A number 1-10.}}
 
{{Usage/Param|attack|Attacks the enemy or boss may perform, including how much damage they do, using {{Temlink|H}}.}}
 
{{Usage/Param|weapon|Effective weapons.}}
 
{{Usage/Param|release|Include as many <code>release</code> arguments as needed, in the form <code>release <platform> {{=}} <date (using {{Temlink|Region}})></code>. <code>release</code> by itself is for console release dates.}}
 
 
 
These defined types typically use the same parameters:
 
 
 
<div style="display: inline-block;">
 
===Boss===
 
{{Float|left}}<pre>
 
{{Infobox|boss
 
| image =
 
| caption =
 
| title =
 
| threat =
 
| attack =
 
| weapon =
 
| game =
 
| dungeon =
 
| reward =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
 
 
===Character===
 
{{Float|left}}<pre>
 
{{Infobox|character
 
| image =
 
| title =
 
| race =
 
| gender =
 
| occupation =
 
| member =
 
| game =
 
| location =
 
| trial =
 
| related =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Dungeon===
 
{{Float|left}}<pre>
 
{{Infobox|dungeon
 
| image =
 
| game =
 
| location =
 
| boss =
 
| miniboss =
 
| enemies =
 
| inhab =
 
| item =
 
| reward =
 
| walkthrough =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Enemy===
 
{{Float|left}}<pre>
 
{{Infobox|enemy
 
| image =
 
| caption =
 
| threat =
 
| attack =
 
| game =
 
| location =
 
| weapon =
 
| reward =
 
| related =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
 
 
===Event===
 
{{Float|left}}<pre>
 
{{Infobox|event
 
| image =
 
| game =
 
| location =
 
| characters =
 
| when =
 
| related =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Game===
 
{{Float|left}}<pre>
 
{{Infobox|game
 
| name =
 
| logo =
 
| boxart =
 
| caption =
 
| release <platform1> = <date1>
 
| release <platform2> = <date2>
 
| ...
 
| developer =
 
| publisher =
 
| producer =
 
| director =
 
| walkthrough =
 
| guides =
 
| gallery =
 
| videos =
 
| music =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Group===
 
{{Float|left}}<pre>
 
{{Infobox|group
 
| image =
 
| game =
 
| location =
 
| leader        =
 
| purpose =
 
| members =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Interview===
 
{{Float|left}}<pre>
 
{{Infobox|interview
 
| date =
 
| interviewee =
 
| interviewer =
 
| description =
 
| source =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Item===
 
{{Float|left}}<pre>
 
{{Infobox|item
 
| image =
 
| game =
 
| location =
 
| cost =
 
| ship              =
 
| use =
 
| dyeable =
 
| enhanceable =
 
| setbonus =
 
| ingredients =
 
| related =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Weapon===
 
{{Float|left}}<pre>
 
{{Infobox|weapon
 
| image =
 
| game =
 
| element =
 
| power =
 
| durability =
 
| related =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Location===
 
{{Float|left}}<pre>
 
{{Infobox|location
 
| image =
 
| game =
 
| inhab =
 
| pointsint =
 
| item =
 
| natseason =
 
| related =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Member===
 
{{Float|left}}<pre>
 
{{Infobox|member
 
| forumpage =
 
| image =
 
| location =
 
| age =
 
| rank =
 
| joindate =
 
| posts =
 
| im =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Minigame===
 
{{Float|left}}<pre>
 
{{Infobox|minigame
 
| image =
 
| game =
 
| location =
 
| owner =
 
| cost =
 
| objective =
 
| reward =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Person===
 
{{Float|left}}<pre>
 
{{Infobox|person
 
| image =
 
| born =
 
| died =
 
| game =
 
| dept =
 
| position =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
 
 
===Product===
 
{{Float|left}}<pre>
 
{{Infobox|product
 
| image =
 
| game =
 
| cost =
 
| rarity =
 
| release =
 
| developer =
 
| manufacturer =
 
| publisher =
 
| producer =
 
| director =
 
| author =
 
| editor =
 
| artist =
 
| designer =
 
| type =
 
| model =
 
| seasons =
 
| episodes =
 
| language =
 
| length =
 
| size =
 
| weight =
 
| quantity =
 
| color =
 
| ISBN =
 
| UPC =
 
| gallery =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Race===
 
{{Float|left}}<pre>
 
{{Infobox|race
 
| image =
 
| special =
 
| game =
 
| location =
 
| characters =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Ring===
 
{{Float|left}}<pre>
 
{{Infobox|ring
 
| image =
 
| number =
 
| game =
 
| location =
 
| prereq =
 
| effect =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
 
 
===Secret===
 
{{Float|left}}<pre>
 
{{Infobox|secret
 
| prereq =
 
| learn =
 
| learn-img =
 
| tell =
 
| tell-img =
 
| reward =
 
| rew-img =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Skill===
 
{{Float|left}}<pre>
 
{{Infobox|skill
 
| image =
 
| game =
 
| learn =
 
| perform =
 
| effect =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Song===
 
{{Float|left}}<pre>
 
{{Infobox|song
 
| image =
 
| game =
 
| instrument =
 
| learn =
 
| perform =
 
| effect =
 
| related =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Quest===
 
{{Float|left}}<pre>
 
{{Infobox|quest
 
| image =
 
| game =
 
| prereq =
 
| start =
 
| objective =
 
| reward =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
<div style="display: inline-block;">
 
===Track===
 
{{Float|left}}<pre>
 
{{Infobox|track
 
| image =
 
| game =
 
| album =
 
| track =
 
| duration =
 
| related =
 
}}
 
</pre>{{Float|end}}
 
{{Clear}}</div>
 
 
 
{{Clear}}
 
 
 
==Adding Rows==
 
If additional rows are needed, they can be added directly to this template. They generally take the form:
 
 
 
{{Float|left|<pre>{{#if: {{{parameter|}}}
 
| {{Infobox/Row|Label|{{{parameter}}}}}
 
}}</pre>}}
 
{{Usage/Param|parameter|The name of the parameter the row deals with. Be sure it hasn't already been used.}}
 
{{Usage/Param|Label|The label that appears in the left column}}
 
{{Clear}}
 
 
 
Headers can also be added using {{Usage|sub=Header|text}}. They should be surrounded by an 'if' function that checks for any parameters in the section to which the header refers. Check the existing code for examples.
 
 
 
Each argument—up to three—passed to Infobox/Row represents one column. To adjust which cells are represented as labels, use the <code>label</code> parameter. <code>label=0</code> makes the whole row data cells; <code>label=1</code> is the default value; <code>label=2</code> makes the first two cells labels; etc.
 
 
 
The widths of the columns can be defined using <code><nowiki>{{#vardefine:colNwidth|value}}</nowiki></code>, where <code>value</code> is the width (e.g. "50px") of the Nth column (i.e. define col3width for the third column). This can only be done once per column; once a cell has a defined width, further cells in the same column will share that width, even if the variable is reassigned.
 
 
 
===Demo===
 
The following code demonstrates different behaviors of Infobox/Row. In proper usage, each line should be surrounded by a #if function checking for parameters.
 
 
 
{{Usage/Example}}
 
<pre>
 
{{Box|width=320px|title=Demonstration|class=infobox}}
 
<table>
 
{{Infobox/Header|Header}}
 
{{Infobox/Row|Colspan'd label}}
 
{{Infobox/Row|Label|Data}}
 
{{Infobox/Row|label=0|Colspan'd data}}
 
{{Infobox/Row|Default|Three column|Behavior}}
 
{{#vardefine:col3width|100px}}
 
{{Infobox/Row|label=0|Three|Data|Columns}}
 
{{Infobox/Row|label=2|Two|Labels|Data}}
 
{{Infobox/Row|label=3|Three|Label|Columns}}
 
{{#vardefine:col3width|75px}}
 
{{Infobox/Row|Different|Col|Width}}
 
</table>
 
{{Box/Bottom}}
 
</pre>
 
{{Usage/Result|
 
{{Box|width=320px|title=Demonstration|class=infobox}}
 
<table>
 
{{Infobox/Header|Header}}
 
{{Infobox/Row|Colspan'd label}}
 
{{Infobox/Row|Label|Data}}
 
{{Infobox/Row|label=0|Colspan'd data}}
 
{{Infobox/Row|Default|Three column|Behavior}}
 
{{#vardefine:col3width|100px}}
 
{{Infobox/Row|label=0|Three|Data|Columns}}
 
{{Infobox/Row|label=2|Two|Labels|Data}}
 
{{Infobox/Row|label=3|Three|Label|Columns}}
 
{{#vardefine:col3width|15px}}
 
{{Infobox/Row|Different|Col|Width}}
 
</table>
 
{{Box/Bottom}}
 
}}
 
 
 
==Types and Colors==
 
Common types of Infobox are associated with certain colors, as follows:
 
{| class="wikitable"
 
! Types !! Color
 
|-
 
| [default] || {{Infobox|name=Default|walkthrough=example}}
 
|-
 
| boss<br/>enemy || {{Infobox|boss|name=Hostile|walkthrough=example}}
 
|-
 
| dungeon || {{Infobox|dungeon|name=Dungeon|walkthrough=example}}
 
|-
 
| location<br/>shop || {{Infobox|location|name=Location|walkthrough=example}}
 
|-
 
| character<br/>group<br/>race<br/>shop owner || {{Infobox|character|name=Character|walkthrough=example}}
 
|-
 
| item<br/>collectible<br/>ring<br/>weapon<br/>object || {{Infobox|item|name=Item|walkthrough=example}}
 
|-
 
| event<br/>minigame<br/>secret<br/>skill<br/>song || {{Infobox|event|name=Knowledge|walkthrough=example}}
 
|-
 
| interview<br/>member<br/>person<br/>product<br/>company<br/>publication<br/>game<br/>console<br/>fan game || {{Infobox|interview|name=Nondiegetic|walkthrough=example}}
 
|}
 
 
 
 
 
 
{{Cat|Formatting Templates}}
 
{{Cat|Formatting Templates}}
 
{{Cat|Infobox Templates}}
 
{{Cat|Infobox Templates}}

Latest revision as of 08:16, August 9, 2020

size=40x40px This template is used on over 2500 pages. Take extra care when making changes, testing them in a sandbox first. If changes to this template require changes to pages that use it, you are responsible for making those changes.
Infobox

[Edit Documentation]

Purpose

This template is used on most pages to display quick high-level information on the subject.

Usage

Place this template at the top of the article, below any {{Hatnotes}} or {{Amboxes}}. Use whichever parameters are applicable; all are optional.

All available parameters:

{{Infobox|type
| name		= 
| logo		= 
| boxart	= 
| image		= 
| caption	= 
| title		= 
| race		= 
| gender	= 
| trial 	= 
| occupation	= 
| member	= 
| leader        = 
| ship  	= 
| purpose	= 
| special	= 
| number	= 
| threat	= 
| attack	= 
| weapon	= 
| weaponused	=
| weaponavailable =
| element	=
| recommended element =
| power		= 
| defense	= 
| health	= 
| durability	= 
| range		= 
| setbonus	= 
| ingredients	=
| game		= 
| location	= 
| dungeon	= 
| occurrence	=
| stage		=
| previous	=
| next		=
| simultaneous	=
| natseason	=
| warriors	=
| boss		= 
| miniboss	= 
| enemies	= 
| inhab		= 
| characters	= 
| members	=
| missions	=
| pointsint	= 
| item		= 
| prereq	= 
| shop		= 
| owner		= 
| cost		= 
| rarity	= 
| start		= 
| objective	= 
| learn		= 
| tell		= 
| reward	= 
| instrument	= 
| perform	= 
| use		= 
| effect	= 
| dyeable	= 
| enhanceable	= 
| related	= 
| platform_header =
| release	= 
| release <platform1>	= <date1>
| release <platform2>	= <date2>
| ...
| developer	= 
| manufacturer	= 
| publisher	= 
| producer in chief =
| producer	= 
| director of production =
| director	= 
| author	= 
| editor in chief =
| senior editor	=
| editors	=
| editor	= 
| editorial consultants =
| technical advice =
| art director	=
| concept and design =
| layout	=
| artist	= 
| illustrator	=
| illustrators	=
| designer	= 
| composer	= 
| arranged	= 
| project coordinators =
| album		= 
| track		= 
| host		= 
| type		= 
| model		= 
| seasons	= 
| episodes	= 
| language	= 
| length	= 
| duration	= 
| size		= 
| weight	= 
| color		= 
| quantity	= 
| ISBN		= 
| ASIN		= 
| catalog	= 
| wave		= 
| seriesnumber	= 
| UPC		= 
| walkthrough	= 
| guides	= 
| gallery	= 
| videos	= 
| music		= 
| date		= 
| interviewee	= 
| interviewer	= 
| description	= 
| source	= 
| dept		= 
| position	= 
| born		= 
| died		= 
| age		= 
| rank		= 
| joindate	= 
| website	= 
| posts		= 
| im		= 
}}
  • type — This defines the color of the title. See below for available types. (Optional.)
  • name — This is only necessary occurrence the title of the Infobox should be different from the title of the article. Examples include shortening game titles to their subtitles and removing parenthetical specifications (e.g. Hyrule Castle (Twilight Princess)). (Optional. Default: article title)
  • boxart — Used only for games and consoles, this overrides the image parameter.
  • member — Any organization(s) of which the subject is a member.
  • related — Related subjects. For characters, specify the type of relation, e.g. "Talon (Father)" or "Talon (Boss)".
  • threat — A number 1-10.
  • attack — Attacks the enemy or boss may perform, including how much damage they do, using {{H}}.
  • weapon — Effective weapons.
  • release — Include as many release arguments as needed, in the form release <platform> = <date (using {{Region}})>. release by itself is for console release dates.

These defined types typically use the same parameters:

Boss

{{Infobox|boss
| image		= 
| caption	= 
| title		= 
| threat	= 
| attack	= 
| weapon	= 
| game		= 
| dungeon	= 
| reward	= 
}}

Character

{{Infobox|character
| image		= 
| caption	= 
| title		= 
| race		= 
| gender	= 
| occupation	= 
| member	= 
| game		= 
| location	= 
| trial		= 
| related	= 
}}

Dungeon

{{Infobox|dungeon
| image		= 
| caption	= 
| game		= 
| location	= 
| boss		= 
| miniboss	= 
| enemies	= 
| inhab		= 
| item		= 
| reward	= 
| walkthrough	= 
}}

Enemy

{{Infobox|enemy
| image		= 
| caption	= 
| threat	= 
| attack	=
| game		= 
| location	=
| weapon	=
| reward	= 
| related	= 
}}

Event

{{Infobox|event
| image		= 
| caption	= 
| game		= 
| location	= 
| characters	= 
| occurrence	= 
| related	= 
}}

Game

{{Infobox|game
| name		= 
| logo		= 
| boxart	= 
| caption	= 
| release <platform1>	= <date1>
| release <platform2>	= <date2>
| ...
| developer	= 
| publisher	= 
| producer	= 
| director	= 
| walkthrough	= 
| guides	= 
| gallery	= 
| videos	= 
| music		= 
}}

Scenario

{{Infobox|scenario
| name            = 
| image           = 
| caption         = 
| number          = 
| weaponavailable =
| element         = 
| recommended element =
| game            = 
| stage           =
| previous        =
| next            =
| simultaneous    =
| warriors        =
| boss            = 
| miniboss        = 
| enemies         = 
| characters      = 
| members         = 
| missions        = 
| pointsint       = 
| item            = 
| prereq          = 
| start           = 
| reward          = 
| related         = 
| release         = 
| walkthrough     = 
| guides          = 
| gallery         = 
}} 

Group

{{Infobox|group
| image		= 
| caption	= 
| game		= 
| location	= 
| leader        =
| purpose	= 
| members	= 
}}

Interview

{{Infobox|interview
| date		= 
| interviewee	= 
| interviewer	= 
| description	= 
| source	= 
}}

Item

{{Infobox|item
| image		= 
| caption	= 
| game		= 
| location	= 
| cost		= 
| ship		=
| use		= 
| dyeable	= 
| enhanceable	= 
| setbonus	= 
| ingredients	=
| related	= 
}}

Weapon

{{Infobox|weapon
| image		= 
| caption	= 
| game		= 
| element	= 
| power		= 
| durability	= 
| related	= 
}}

Location

{{Infobox|location
| image		= 
| caption	= 
| game		= 
| location      = 
| inhab		= 
| pointsint	= 
| item		= 
| natseason	= 
| related	= 
}}

Member

{{Infobox|member
| forumpage	= 
| image		= 
| location	= 
| age		= 
| rank		= 
| joindate	= 
| posts		= 
| im		= 
}}

Minigame

{{Infobox|minigame
| image		= 
| caption	= 
| game		= 
| location	= 
| owner		= 
| cost		= 
| objective	= 
| reward	= 
}}

Person

{{Infobox|person
| image		= 
| caption	= 
| born		= 
| died		= 
| game		= 
| dept		= 
| position	= 
}}

Product

{{Infobox|product
| image		= 
| caption	= 
| game		= 
| cost		= 
| rarity	= 
| release	= 
| developer	= 
| manufacturer	= 
| publisher	= 
| producer	= 
| director	= 
| author	= 
| editor	= 
| artist	= 
| designer	= 
| type		= 
| model		= 
| seasons	= 
| episodes	= 
| language	= 
| length	= 
| size		= 
| weight	= 
| quantity	= 
| color		= 
| ISBN		= 
| UPC		= 
| gallery	= 
}}

Publication

{{Infobox|publication
| name  = 
| logo  = 
| image  = 
| caption = 
| member = 
| purpose = 
| special = 
| number = 
| game  = 
| location = 
| when  = 
| characters = 
| pointsint = 
| shop  = 
| owner  = 
| cost  = 
| rarity = 
| related = 
| platform_header =
| release = 
| release <platform1> = <date1>
| release <platform2> = <date2>
| ...
| developer = 
| manufacturer = 
| publisher = 
| producer in chief =
| producer = 
| director of production =
| director = 
| author = 
| editor in chief =
| senior editor =
| editors =
| editor = 
| editorial consultants =
| technical advice =
| art director =
| concept and design =
| layout =
| artist = 
| illustrator =
| illustrators =
| designer = 
| project coordinators =
| host  = 
| type  = 
| model  = 
| language = 
| length = 
| duration = 
| size  = 
| weight = 
| color  = 
| quantity = 
| ISBN  = 
| ASIN  = 
| catalog = 
| seriesnumber = 
| UPC  = 
| gallery = 
| date  = 
| interviewee = 
| interviewer = 
| description = 
| source = 
| dept  = 
| position = 
| website = 
}}

Race

{{Infobox|race
| image		= 
| caption	= 
| special	= 
| game		= 
| location	= 
| characters	= 
}}

Ring

{{Infobox|ring
| image		= 
| caption	= 
| number	= 
| game		= 
| location	= 
| prereq	= 
| effect	= 
}}

Secret

{{Infobox|secret
| prereq	= 
| learn		= 
| learn-img	= 
| tell		= 
| tell-img	= 
| reward	= 
| rew-img	= 
}}

Skill

{{Infobox|skill
| image		= 
| caption	= 
| game		= 
| learn		= 
| perform	= 
| effect	= 
}}

Song

{{Infobox|song
| image		= 
| caption	= 
| game		= 
| instrument	= 
| learn		= 
| perform	= 
| effect	= 
| related	= 
}}

Quest

{{Infobox|quest
| image		= 
| caption	= 
| game		= 
| prereq	= 
| start		= 
| objective	= 
| reward	= 
}}

Track

{{Infobox|track
| image		= 
| caption	= 
| game		= 
| album		= 
| track		= 
| duration	= 
| related	= 
}}

Adding Rows

If additional rows are needed, they can be added directly to this template. They generally take the form:

{{#if: {{{parameter|}}}
| {{Infobox/Row|Label|{{{parameter}}}}}
}}
  • parameter — The name of the parameter the row deals with. Be sure it hasn't already been used.
  • Label — The label that appears in the left column

Headers can also be added using {{Infobox/Header| text }}. They should be surrounded by an 'if' function that checks for any parameters in the section to which the header refers. Check the existing code for examples.

Each argument—up to three—passed to Infobox/Row represents one column. To adjust which cells are represented as labels, use the label parameter. label=0 makes the whole row data cells; label=1 is the default value; label=2 makes the first two cells labels; etc.

The widths of the columns can be defined using {{#vardefine:colNwidth|value}}, where value is the width (e.g. "50px") of the Nth column (i.e. define col3width for the third column). This can only be done once per column; once a cell has a defined width, further cells in the same column will share that width, even if the variable is reassigned.

Demo

The following code demonstrates different behaviors of Infobox/Row. In proper usage, each line should be surrounded by a #if function checking for parameters.

ExampleResult
{{Box|width=320px|title=Demonstration|class=infobox}}
<table>
{{Infobox/Header|Header}}
{{Infobox/Row|Colspan'd label}}
{{Infobox/Row|Label|Data}}
{{Infobox/Row|label=0|Colspan'd data}}
{{Infobox/Row|Default|Three column|Behavior}}
{{#vardefine:col3width|100px}}
{{Infobox/Row|label=0|Three|Data|Columns}}
{{Infobox/Row|label=2|Two|Labels|Data}}
{{Infobox/Row|label=3|Three|Label|Columns}}
{{#vardefine:col3width|75px}}
{{Infobox/Row|Different|Col|Width}}
</table>
{{Box/Bottom}}
Demonstration
Header

Colspan'd label

Label

Data

Colspan'd data

Default

Three column

Behavior

Three

Data

Columns

Two

Labels

Data

Three

Label

Columns

Different

Col

Width

Types and Colors

Common types of Infobox are associated with certain colors, as follows:

Types Color
[default]
Default
Guides

Walkthrough

example

boss
enemy
Hostile
Guides

Walkthrough

example

dungeon
Dungeon
Guides

Walkthrough

example

location
shop
Location
Guides

Walkthrough

example

character
group
race
shop owner
Character
Guides

Walkthrough

example

item
collectible
ring
weapon
object
Item
Guides

Walkthrough

example

event
minigame
secret
skill
song
Knowledge
Guides

Walkthrough

example

interview
member
person
product
company
publication
game
console
fan game
Nondiegetic
Guides

Walkthrough

example