Template:Navi: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
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| | <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== | ||
' | 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. | |||
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
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 }}