Template:Navi: Difference between revisions

Want an adless experience? Log in or Create an account.
m
Text replacement - "<br>" to "<br/>"
mNo edit summary
m (Text replacement - "<br>" to "<br/>")
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<onlyinclude>{{Caption
<onlyinclude>{{Caption
| button = NaviIcon.png
| icon = NaviIcon.png
| titlehide = click to hide
| titlehide = click to hide
| titleshow = click to show
| titleshow = click to show
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}}