Template:Tingle: Difference between revisions

Want an adless experience? Log in or Create an account.
m
no edit summary
(island presets)
mNo edit summary
 
(5 intermediate revisions by 3 users 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}}
   | {{{1|{{PAGENAME}}}}}
   | {{{1|{{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={{{init|hide}}}}}{{#vardefine:dump-ldelim|}}{{#vardefine:dump-qdelim|}}</onlyinclude>


==Purpose==
==Purpose==
Line 83: Line 86:
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}}:
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>}}
{{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:
Furthermore, the caption can be optionally shown by default, and it can be floated left, right, or center:


{{Usage|quote|hide|left}}
{{Usage|quote|init{{=}}show|left}}




{{Cat|Caption Templates}}
{{Cat|Caption Templates}}