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 (Text replace - "The Legend of Zelda" to "The Legend of Zelda")
(prepping for new caption template. The first anonymous argument will have to go when ready.)
Line 1: Line 1:
<onlyinclude>{{Caption|[[File:OldManIcon.png]]|{{#switch: {{{1|{{PAGENAME}}}}}
<onlyinclude>{{Caption{{Locke/Sandbox/Template
| button = OldManIcon.png
| titlehide = click to hide
| titleshow = click to show
| size = 24px
| buttonbackground = #000000
| contentbackground = #ffffff
| bordercolor = #990000
| borderbackground = #ff0000
|[[File:OldManIcon.png]]|{{#switch: {{{1|{{PAGENAME}}}}}
| Sword = {{Dump|LoZ|41}}
| Sword = {{Dump|LoZ|41}}
| White Sword = {{Dump|LoZ|42}}
| White Sword = {{Dump|LoZ|42}}
Line 17: Line 26:


==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. 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|{{((}}Dump{{!}}game{{!}}quote{{))}}}}


<code><nowiki>{{Old Man|Dodongo}}</nowiki></code> → {{Old Man|Dodongo}}
See the {{Temlink|Dump}} documentation for more details.




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

Revision as of 02:45, October 5, 2012

{{CaptionTemplate:Locke/Sandbox/Template

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

See the {{Dump}} documentation for more details.