Template:Infobox Boss: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search
m (I hate wiki table markup)
m (Remove unneeded format tags)
 
(101 intermediate revisions by 32 users not shown)
Line 1: Line 1:
<noinclude>'''This template is used to display a boss' vital information and also adds the article to [[:Category:Bosses]] or [[:Category:Mini-Bosses]].'''
<includeonly>{{#invoke:Infobox|Main}}<infobox>
 
<title source="name"><default>{{Page Name}}</default></title>
If the boss does not have any information for a field (like it doesn't have a title) leave it blank or delete it.  If the boss name is the same as that of the article you can delete the name field. The <code>type</code> field is optional and should only be used for mini-bosses where it should equal <code>mini</code> to put them in the Mini-Bosses category instead of boss category
<data><default>{{#invoke:Infobox|Image|{{{image|}}}|{{{caption|}}}}}</default></data>
 
<data source="pronunciation"><label>Pronunciation</label></data>
'''To add this template to an article copy and paste the following code and then fill in the information: '''
<data source="title"><label>Title(s)</label></data>
<pre>
<data source="alias"><label>Alias(es)</label></data>
{{Boss
<data source="race"><label>Race</label></data>
|name =
<data source="gender"><label>Gender</label></data>
|type = mini
<data source="game"><label>Main appearance(s)</label><format>{{#invoke:Infobox|Games|{{{game|}}}}}</format></data>
|image =
<data source="other"><label>Other appearance(s)</label><format>{{#invoke:Infobox|Games|{{{other|}}}}}</format></data>
|title =
<data source="dungeon"><label>Dungeon(s)</label></data>
|game =
<data source="habitat"><label>Habitat(s)</label></data>
|dungeon =
<data source="health"><label>Health</label></data>
|weakness =
<data source="attack"><label>Attack(s)</label></data>
}}
<data source="weakness"><label>Weakness(es)</label></data>
</pre>
<data source="reward"><label>Reward(s)</label></data>
 
<data source="exp"><label>Exp Points</label></data>
[[Category:Bosses|*]]
<data source="theme"><label>Theme(s)</label></data>
[[Category:Mini-Bosses|*]]
<data source="voiceactor"><label>Voice actor(s)</label></data>
 
    <data source="strategy"></data>
</noinclude>{| class="toccolours" cellpadding="4" style="border: 1px solid #999999; float: right; margin: 0 0 1em 1em; width: 22em; border-collapse: collapse; font-size: 95%; text-align: left;"
<data source="zu"></data>
! colspan="2" style="text-align: center; background-color: #ccccff; font-size:110%; border: 1px solid #999999;" | {{{name|{{PAGENAME}}}}}
</infobox></includeonly><noinclude>
{{#if:{{{image|}}}|
{{Documentation}}
{{!-}}
[[Category:Infobox templates]]
! colspan="2" style="border: 1px solid #999999; text-align: center;" {{!}} {{{image|}}}}}
</noinclude>
{{#if:{{{title|}}}|
{{!-}}
! style="border: 1px solid #999999;" bgcolor="#ccccff" {{!}} Title
{{!}} style="border: 1px solid #999999;" {{!}} {{{title|}}}}}
|-
! style="border: 1px solid #999999;" bgcolor="#ccccff" | Game(s)
| style="border: 1px solid #999999;" | {{{game|}}}
|-
! style="border: 1px solid #999999;" bgcolor="#ccccff" | Dungeon(s)
| style="border: 1px solid #999999;" | {{{dungeon|}}}
|-
! style="border: 1px solid #999999;" bgcolor="#ccccff" | Weakness(es)
| style="border: 1px solid #999999;" | {{{weakness|}}}
|}<includeonly>{{#ifeq:{{{type|}}}|mini|[[Category:Mini-Bosses]]|[[Category:Bosses]]}}</includeonly>

Latest revision as of 15:18, 21 July 2023


Purpose

Displaying an infobox for Bosses.

Usage

{{Infobox Boss
|image= Image(s) of the topic. (Use {{Media}} when possible.)
|caption= Caption of the image. (Not to be used with {{Media}}.)
|pronunciation= Pronunciation of the boss' name.
|title= The boss' title(s).
|alias= The boss' alias(es).
|race= The boss' race.
|gender= The boss' gender.
|game= The game(s) in which the boss appears.
|other= Other media in which the boss appears.
|dungeon= The dungeon(s) in which the boss appears.
|habitat= The habitat(s) the boss has appeared in.
|health= The total health of the boss.
|attack= The attacks the boss uses.
|weakness= Any weaknesses the boss may have, either to weapons or objects found within the environment.
|reward= Items(s) rewarded upon the boss's defeat.
|exp= EXP awarded upon the boss's defeat in {{TAoL}}.
|theme= The theme(s) associated with the boss.
|voiceactor= Voice actor(s) who have voiced the boss.
|strategy= A link to a guide from StrategyWiki.
|zu= A link to the Zelda Universe walkthrough using {{ZU Guide}}.
}}

Blank Code

{{Infobox Boss
|image= 
|caption= 
|pronunciation= 
|title= 
|alias= 
|race= 
|gender= 
|game= 
|other= 
|dungeon= 
|habitat= 
|health= 
|attack= 
|weakness= 
|reward= 
|exp= 
|theme= 
|voiceactor= 
|strategy= 
|zu= 
}}
The above documentation is transcluded from Template:Infobox Boss/Documentation. (edit | history)