Template:Tingle: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
m (Text replacement - "<br>" to "<br/>")
m (use unique placholder params to avoid duplicate arg warning)
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{TODO|use a better color scheme}}<onlyinclude>{{Caption
<onlyinclude>{{Caption
| icon = Tingletuner.png
| icon = Tingletuner.png
| titlehide = click to hide
| titlehide = click to hide
Line 6: Line 6:
| buttonbackground = #4a79de
| buttonbackground = #4a79de
| contentbackground = #ffffff
| contentbackground = #ffffff
| bordercolor = #484c4d
| bordercolor = #fce800
| borderbackground = #fce800
| borderbackground = #0D0
|{{#vardefine:dump-ldelim|<br/>}}{{#vardefine:dump-qdelim|<br/><br/>}}{{#switch: {{#switch: {{{1|}}}
|{{#vardefine:dump-ldelim|<br/>}}{{#vardefine:dump-qdelim|<br/><br/>}}{{#switch: {{#switch: {{{1|}}}
   | show|hide|left|right|center={{PAGENAME}}
   | show|hide|left|right|center={{PAGENAME}}
Line 66: Line 66:
   | left | right | center = float
   | left | right | center = float
   | hide | show = init
   | hide | show = init
  | _3
  }} = {{{3|}}}
  }} = {{{3|}}}
|{{#switch: {{{2|}}}
|{{#switch: {{{2|}}}
   | left | right | center = float
   | left | right | center = float
   | hide | show = init
   | hide | show = init
  | _2
  }} = {{{2|}}}
  }} = {{{2|}}}
|{{#switch: {{{1|}}}
|{{#switch: {{{1|}}}
   | left | right | center = float
   | left | right | center = float
   | hide | show = init
   | hide | show = init
  | _1
  }} = {{{1|}}}
  }} = {{{1|}}}
}}{{#vardefine:dump-ldelim|}}{{#vardefine:dump-qdelim|}}</onlyinclude>
|init=hide}}{{#vardefine:dump-ldelim|}}{{#vardefine:dump-qdelim|}}</onlyinclude>


==Purpose==
==Purpose==

Revision as of 19:55, September 5, 2020

Tingletuner.png

Purpose

This template is for formatting comments from the Tingle Tuner for The Wind Waker Islands. Many named presets will automatically pull the quote from the text dump.

Usage

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

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

{{Tingle| quote | hide | left }}