Template:Old Man: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary
m (https://www.zeldadungeon.net/wiki/index.php?title=Template:Fi&diff=247204&oldid=103877)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude>{{Caption
<onlyinclude>{{Caption
| button = OldManIcon.png
| icon = OldManIcon.png
| titlehide = click to hide
| titlehide = click to hide
| titleshow = click to show
| titleshow = click to show
| size = 24px
| size = 32px
| buttonbackground = #000000
| buttonbackground = #000000
| contentbackground = #ffffff
| contentbackground = #ffffff
| bordercolor = #990000
| bordercolor = #990000
| borderbackground = #ff0000
| borderbackground = #ff0000
|{{#switch: {{{1|{{PAGENAME}}}}}
|{{#vardefine:dump-ldelim|<br/>}}{{#vardefine:dump-qdelim|<br/><br/>}}{{#switch: {{#switch: {{{1|}}}
  | show|hide|left|right|center={{PAGENAME}}
  | {{{1|{{PAGENAME}}}}}
  }}
| Sword = {{Dump|LoZ|41}}
| Sword = {{Dump|LoZ|41}}
| White Sword = {{Dump|LoZ|42}}
| White Sword = {{Dump|LoZ|42}}
Line 20: Line 23:
| Tree = {{Dump|LoZ|45}}
| Tree = {{Dump|LoZ|45}}
| {{{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 26: Line 45:


==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}}

Latest revision as of 01:27, March 17, 2021

OldManIcon.png

Old Man

Purpose

This template is for inserting Old Man Captions for The Legend of Zelda. Many named presets will automatically pull the quote from the text dump.

Usage

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

{{Old Man| {{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:

{{Old Man| quote | hide | left }}