Template:Tatl: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(added enemy presets)
No edit summary
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>{{Caption|[[File:TatlIcon.png]]|{{#switch: {{{1|{{PAGENAME}}}}}
<onlyinclude>{{Caption
| icon = TatlIcon.png
| titlehide = click to hide
| titleshow = click to show
| size = 48px
| buttonbackground = #d5c0ff
| contentbackground = #e5d5ff
| bordercolor = #fafa66
| borderbackground = #eaea66
|{{#vardefine:dump-ldelim|<br/>}}{{#vardefine:dump-qdelim|<br/><br/>}}{{#switch: {{#switch: {{{1|}}}
  | show|hide|left|right|center={{PAGENAME}}
  | {{{1|{{PAGENAME}}}}}
  }}
| Snapper = {{Dump|MM|3658}}
| Snapper = {{Dump|MM|3658}}
| Mini Baba = {{Dump|MM|3659}}
| Mini Baba = {{Dump|MM|3659}}
Line 21: Line 33:
| Eeno = {{Dump|MM|3677}}
| Eeno = {{Dump|MM|3677}}
| Dragonfly = {{Dump|MM|3678}}
| Dragonfly = {{Dump|MM|3678}}
| Igos du Ikana = {{Dump|MM|3679}}
| Garo = {{Dump|MM|3680}}
| Garo = {{Dump|MM|3680}}
| Garo Master = {{Dump|MM|3681}}
| Garo Master = {{Dump|MM|3681}}
Line 26: Line 39:
| Gomess = {{Dump|MM|3683}}
| Gomess = {{Dump|MM|3683}}
| Blue Bubble = {{Dump|MM|3685}}
| Blue Bubble = {{Dump|MM|3685}}
| Igos' Servants = {{Dump|MM|3687}}
| Skullwalltula = {{Dump|MM|3688}}
| Skullwalltula = {{Dump|MM|3688}}
| Yellow Chuchu = {{Dump|MM|3690}}
| Yellow Chuchu = {{Dump|MM|3690}}
Line 51: Line 65:
| Pea Hat Larva | Peahat Larva = {{Dump|MM|3718}}
| Pea Hat Larva | Peahat Larva = {{Dump|MM|3718}}
| Eyegore = {{Dump|MM|3719}}
| Eyegore = {{Dump|MM|3719}}
| Wizrobe = {{Dump|MM|3720}}
| Wizzrobe | Wizrobe = {{Dump|MM|3720}}
| Wolfos = {{Dump|MM|3721}}
| Wolfos = {{Dump|MM|3721}}
| Mad Scrub = {{Dump|MM|3722}}
| Mad Scrub = {{Dump|MM|3722}}
Line 72: Line 86:
| Real Bombchu = {{Dump|MM|3740}}
| Real Bombchu = {{Dump|MM|3740}}
| {{{1|{{PAGENAME}}}}}
| {{{1|{{PAGENAME}}}}}
}}}}</onlyinclude>
}}
|{{#switch: {{{3|}}}
  | left | right | center = float
  | hide | show = init
  | _3
}} = {{{3|}}}
|{{#switch: {{{2|}}}
  | left | right | center = float
  | hide | show = init
  | _2
}} = {{{2|}}}
|{{#switch: {{{1|}}}
  | left | right | center = float
  | hide | show = init
  | _1
}} = {{{1|}}}
}}{{#vardefine:dump-ldelim|}}{{#vardefine:dump-qdelim|}}</onlyinclude>


==Purpose==
==Purpose==
Line 78: Line 108:


==Usage==
==Usage==
'''<nowiki>{{Tatl|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}}:


If a named preset is available, enter the name as the caption. For example:
{{Usage|<nowiki>{{Dump|game|quote|ldelim=<br/>}}</nowiki>}}


<code><nowiki>{{Tatl|Deku Baba}}</nowiki></code> → {{Tatl|Deku Baba}}
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 13:21, October 6, 2023

TatlIcon.png

Tatl

Purpose

This template is for formatting Tatl Captions for Majora's Mask, Enemies, Bosses, and Characters. Many named presets will automatically pull the quote from the text dump.

Usage

Primary usage for this template is simply {{Tatl}}. This will automatically pull a quote from the text dump corresponding to the page's title. To use a different preset, use {{Tatl| 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}}:

{{Tatl| {{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:

{{Tatl| quote | hide | left }}