Template:Old Man: Difference between revisions

Want an adless experience? Log in or Create an account.
m
https://www.zeldadungeon.net/wiki/index.php?title=Template:Fi&diff=247204&oldid=103877
(Created page with "<onlyinclude>{{Caption|File:OldManIcon.png|{{{1}}}}}</onlyinclude> ==Purpose== This template is for formatting Old Man Captions for ''[[The Legend of Zelda (Game)|The Leg...")
 
m (https://www.zeldadungeon.net/wiki/index.php?title=Template:Fi&diff=247204&oldid=103877)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>{{Caption|[[File:OldManIcon.png]]|{{{1}}}}}</onlyinclude>
<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}}
| White Sword = {{Dump|LoZ|42}}
| Letter = {{Dump|LoZ|47}}
| Dodongo = {{Dump|LoZ|61}}
| Digdogger = {{Dump|LoZ|66}}
| Gohma = {{Dump|LoZ|71}}
| Stairs = {{Dump|LoZ|57}}
| Triforce = {{Dump|LoZ|76}}
| Eastmost = {{Dump|LoZ|60}}
| Tree = {{Dump|LoZ|45}}
| {{{1|{{PAGENAME}}}}}
}}
|{{#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 formatting Old Man Captions for ''[[The Legend of Zelda (Game)|The Legend of Zelda]]''.
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}}:
 
{{Usage|<nowiki>{{Dump|game|quote|ldelim=<br/>}}</nowiki>}}
 
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}}