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.
m (etc... I don't remember which of those are Old Man quotes. Feel free to add presets.)
m (https://www.zeldadungeon.net/wiki/index.php?title=Template:Fi&diff=247204&oldid=103877)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>{{Caption|[[File:OldManIcon.png]]|{{#switch: {{{1|{{PAGENAME}}}}}
<onlyinclude>{{Caption
| icon = OldManIcon.png
| titlehide = click to hide
| titleshow = click to show
| size = 32px
| buttonbackground = #000000
| contentbackground = #ffffff
| bordercolor = #990000
| borderbackground = #ff0000
|{{#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 6: Line 18:
| Digdogger = {{Dump|LoZ|66}}
| Digdogger = {{Dump|LoZ|66}}
| Gohma = {{Dump|LoZ|71}}
| Gohma = {{Dump|LoZ|71}}
| Stairs = {{Dump|LoZ|57}}
| Triforce = {{Dump|LoZ|76}}
| Eastmost = {{Dump|LoZ|60}}
| 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==
This template is for inserting Old Man Captions for ''[[The Legend of Zelda (Game)|The Legend of Zelda]]''. Many named presets will automatically pull the quote from the text dump.
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==
==Usage==
'''<nowiki>{{Old Man|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>{{Old Man|Dodongo}}</nowiki></code> → {{Old Man|Dodongo}}
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 }}