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.
mNo edit summary
m (Text replacement - "<br>" to "<br/>")
 
(6 intermediate revisions by one other user not shown)
Line 8: Line 8:
| bordercolor = #42acee
| bordercolor = #42acee
| borderbackground = #1a8ed5
| borderbackground = #1a8ed5
|{{#switch: {{{1|{{PAGENAME}}}}}
|{{#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 95: Line 98:
| 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==
Line 101: Line 117:


==Usage==
==Usage==
Primary usage for this template is simply {{Usage}}. This will automatically pull a quote from the text dump corresponding to the page's title. If no such preset is available, consider bringing it up on the {{Talklink}}. Otherwise, this template can be used in conjunction with {{Temlink|Dump}}:
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|{{((}}Dump{{!}}game{{!}}quote{{))}}}}
{{Usage|<nowiki>{{Dump|game|quote|ldelim=<br/>}}</nowiki>}}


See the {{Temlink|Dump}} documentation for more details.
See the {{Temlink|Dump}} documentation for more details.
Furthermore, the caption can be hidden by default, and it can be floated left, right, or center:
{{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 }}