Template:Navi: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
m (one article open in two tabs = bad)
m (Text replacement - "<br>" to "<br/>")
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>{{Caption|[[File:NaviIcon.png]]|{{#switch: {{{1|{{PAGENAME}}}}}
<onlyinclude>{{Caption
| icon = NaviIcon.png
| titlehide = click to hide
| titleshow = click to show
| size = 52px
| buttonbackground = #a0f5fe
| contentbackground = #e2f0fe
| bordercolor = #42acee
| borderbackground = #1a8ed5
|{{#vardefine:dump-ldelim|<br/>}}{{#vardefine:dump-qdelim|<br/><br/>}}{{#switch: {{#switch: {{{1|}}}
  | show|hide|left|right|center={{PAGENAME}}
  | {{{1|{{PAGENAME}}}}}
  }}
| Gohma | Queen Gohma = {{Dump|OoT|616}}
| Gohma | Queen Gohma = {{Dump|OoT|616}}
| Gohma Egg = {{Dump|OoT|617}}
| Gohma Egg = {{Dump|OoT|617}}
Line 81: Line 93:
| White Wolfos = {{Dump|OoT|702}}
| White Wolfos = {{Dump|OoT|702}}
| Guay = {{Dump|OoT|703}}
| Guay = {{Dump|OoT|703}}
| Bigocto = {{Dump|OoT|704}}
| Bigocto | Big Octo = {{Dump|OoT|704}}
| Big Poe = {{Dump|OoT|705}}
| Big Poe = {{Dump|OoT|705}}
| Twinrova = {{Dump|OoT|706}}
| Twinrova = {{Dump|OoT|706}}
| Poe 2 = {{Dump|OoT|707}}
| Poe 2 = {{Dump|OoT|707}}
| {{{1|{{PAGENAME}}}}}
| {{{1|{{PAGENAME}}}}}
}}}}</onlyinclude>
}}
|{{#switch: {{{3|}}}
  | left | right | center = float
  | hide | show = init
}} = {{{3|}}}
|{{#switch: {{{2|}}}
  | left | right | center = float
  | hide | show = init
}} = {{{2|}}}
|{{#switch: {{{1|}}}
  | left | right | center = float
  | hide | show = init
}} = {{{1|}}}
}}{{#vardefine:dump-ldelim|}}{{#vardefine:dump-qdelim|}}</onlyinclude>


==Purpose==
==Purpose==
This template is for formatting Navi Captions for ''[[The Legend of Zelda: Ocarina of Time|Ocarina of Time]]'', [[:Category:Ocarina of Time Enemies|Enemies]], [[:Category:Ocarina of Time Bosses|Bosses]], and [[:Category:Ocarina of Time Characters|Characters]]. Many named presets will automatically pull the quote from the text dump.
This template is for formatting Navi Captions for ''[[The Legend of Zelda: Ocarina of Time|Ocarina of Time]]'', [[:Category:Ocarina of Time Enemies|Enemies]], [[:Category:Ocarina of Time Bosses|Bosses]], and [[:Category:Ocarina of Time Characters|Characters]]. Many named presets will automatically pull the quote from the text dump.


==Usage==
==Usage==
'''<nowiki>{{Navi|caption}}</nowiki>'''
Primary usage for this template is simply {{Usage}}. This will automatically pull a quote from the text dump corresponding to the page's title. To use a different preset, use {{Usage|preset}}. If no such preset is available, consider bringing it up on the {{Talklink}}. Otherwise, this template can be used in conjunction with {{Temlink|Dump}}:
 
{{Usage|<nowiki>{{Dump|game|quote|ldelim=<br/>}}</nowiki>}}
 
See the {{Temlink|Dump}} documentation for more details.


If a named preset is available, enter the name as the caption. For example:
Furthermore, the caption can be hidden by default, and it can be floated left, right, or center:


<code><nowiki>{{Navi|Deku Baba}}</nowiki></code> → {{Navi|Deku Baba}}
{{Usage|quote|hide|left}}




{{Cat|Caption Templates}}
{{Cat|Caption Templates}}

Latest revision as of 18:32, February 8, 2015

NaviIcon.png

Navi

Purpose

This template is for formatting Navi Captions for Ocarina of Time, Enemies, Bosses, and Characters. Many named presets will automatically pull the quote from the text dump.

Usage

Primary usage for this template is simply {{Navi}}. This will automatically pull a quote from the text dump corresponding to the page's title. To use a different preset, use {{Navi| preset }}. If no such preset is available, consider bringing it up on the talk page. Otherwise, this template can be used in conjunction with {{Dump}}:

{{Navi| {{Dump|game|quote|ldelim=<br/>}} }}

See the {{Dump}} documentation for more details.

Furthermore, the caption can be hidden by default, and it can be floated left, right, or center:

{{Navi| quote | hide | left }}