Template:Navi: Difference between revisions

Want an adless experience? Log in or Create an account.
1,058 bytes added ,  February 8, 2015
m
Text replacement - "<br>" to "<br/>"
m (Making Big Octo two words to match the page)
m (Text replacement - "<br>" to "<br/>")
 
(10 intermediate revisions by one other user 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 86: 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==
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}}