Template:Compendium: Difference between revisions
Jump to navigation
Jump to search
KokoroSenshi (talk | contribs) m (Added custom text (original text) for when hearts recovered is none; gotta fix the heart amount template tho) |
m (→top: Standardizing Maintenance Categories) |
||
(28 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly><templatestyles src="Template:Compendium/Styles.css"/><!-- | ||
-->{{Collapsible | |||
|header= Hyrule Compendium Entry | |||
<div class=" | |collapse= true | ||
{ | |content= | ||
<div class="compendium" style="padding:1em; border-radius:20px; border:3px solid {{{Color|#426787}}}; background-color:{{{Background|#1d578b}}};"> | |||
{{(!}} style="width: 100%; background: none; font-style:italic;" | |||
{{!}} rowspan="2" colspan="1" style="width:1px; text-align: center; padding:0 1em;"{{!}}{{{number|XXX}}} ({{Exp|Master Mode|{{{numbermaster|XXX}}}}}) {{{name|Name}}}<br/><!-- | |||
-->{{#if:{{{name|}}} | -->{{#if:{{{name|}}} | ||
|[[File:BotW Hyrule Compendium {{{name}}}.png| | |[[File:BotW Hyrule Compendium {{{name}}}.png|150px|link=Hyrule Compendium|center]] | ||
|[[File:BotW | |[[File:BotW Crest of the Sheikah Symbol.png|link=Hyrule Compendium|150px|Hyrule Compendium|center]] | ||
}} | }} | ||
{{!}} rowspan="1" colspan="1" style="vertical-align:top; padding-top:1em;"{{!}}<div class="compendium-heading"><div><span>'''Description'''</span></div></div>{{{desc|Description}}} | |||
{{!-}} | |||
{{!}} rowspan="1" colspan="1" style="vertical-align:bottom;"{{!}}<div class="compendium-heading"><div><span>'''Common Locations'''</span></div></div>{{{locs|Common Locations}}} | |||
{{!-}} | |||
{{!}} rowspan="1" colspan="2" style="text-align: center; padding-left:1em"{{!}}<!-- | |||
-->{{#if:{{{loot|}}} |<div class="compendium-heading"><div><span>'''Recoverable Materials'''</span></div></div>{{{loot}}} }} | -->{{#if:{{{loot|}}} |<div class="compendium-heading"><div><span>'''Recoverable Materials'''</span></div></div>{{{loot}}} }} | ||
{{!-}} | |||
{{!}} rowspan="1" colspan="1" style="text-align: center; padding:0 1em"{{!}}<!-- | |||
-->{{#if:{{{healing|}}} |<div class="compendium-heading"><div><span>'''Hearts Recovered'''</span></div></div>{{HeartAmount|{{{healing}}}|.|{{{healing}}}}} }} | -->{{#if:{{{healing|}}} |<div class="compendium-heading"><div><span>'''Hearts Recovered'''</span></div></div>{{HeartAmount|{{{healing}}}|.|{{{healing}}}}} }} | ||
{{!}} rowspan="1" colspan="1" style="text-align: center;"{{!}}<!-- | |||
-->{{#if:{{{props|}}} |<div class="compendium-heading"><div><span>'''Properties'''</span></div></div>{{{props}}} }}<!-- | -->{{#if:{{{props|}}} |<div class="compendium-heading"><div><span>'''Properties'''</span></div></div>{{{props}}} }}<!-- | ||
-->{{#if:{{{cookeffects|}}}|<div class="compendium-heading"><div><span>'''Cooking Effects'''</span></div></div>{{{cookeffects}}} }}<!-- | -->{{#if:{{{cookeffects|}}}|<div class="compendium-heading"><div><span>'''Cooking Effects'''</span></div></div>{{{cookeffects}}} }}<!-- | ||
-->{{#if:{{{addeffects|}}} |<div class="compendium-heading"><div><span>'''Additional Effects'''</span></div></div>{{{addeffects}}} }} | -->{{#if:{{{addeffects|}}} |<div class="compendium-heading"><div><span>'''Additional Effects'''</span></div></div>{{{addeffects}}} }} | ||
{{!)}} | |||
</div><!--End of collapsing div--> | </div><!--End of collapsing div--> | ||
}}</includeonly><noinclude> | |||
{{Documentation}} | |||
{{ | [[Category:Templates needing CSS improvements]] <!-- should use TemplateStyles instead of inline styles --> | ||
</noinclude> | |||
}} | |||
[[ | |||
< | |||
Latest revision as of 00:21, 26 April 2023
Purpose
This template displays a Hyrule Compendium entry in Breath of the Wild.
Usage
{{Compendium |number=Entry no. |name=Name |desc=Description |locs=Common Locations |props=Properties |loot=Recoverable Materials |healing=Hearts Recovered |cookeffects=Cooking Effects |addeffects=Additional Effects }}
Template:Compendium/Extract will mainly be used to display the compendium entry information from a table detailing all compendium entries:
{{Compendium/Extract}}
or
{{Compendium/Extract|Stamella Shroom}}
Hyrule Compendium Entry
173 (178) Stamella Shroom |
Description |
Common Locations Hyrule Field | |
Hearts Recovered |
Cooking Effects |
Example
Hyrule Compendium Entry
Entry no.aaa (XXX) Arrow |
Description |
Common Locations | |
Recoverable Materials | |
Hearts Recovered |
Properties Cooking Effects Additional Effects |
See Also
The above documentation is transcluded from Template:Compendium/Documentation. (edit | history)