Template:AcquireBounty: Difference between revisions

From A KoL Wiki
imported>Fig bucket
m sigh...partly wasted effort---seems these aren't real items, so no pages or metadata for them explicitly
imported>Fig bucket
m Syntax: link the bounties template somewhere
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><center><table><tr><td>[[File:{{{1}}}]]</td><td>You acquire a bounty item: '''{{#if:{{{3|}}}|{{{2}}}|{{Data|{{PAGENAME}}|bounty}}}}'''</td></tr></table>(X of {{#if:{{{3|}}}|{{{3}}}|{{{2}}}}} found)</center></includeonly><noinclude>
<includeonly><center><table><tr><td>[[File:{{#if:{{{2|}}}|{{{2}}}|{{Bounties|{{#if:{{{1|}}}|{{{1|}}}|{{Data|{{PAGENAME}}|bounty}}}}}}}}]]</td><td>You acquire a bounty item: '''{{#if:{{{1|}}}|{{{1}}}|{{Data|{{PAGENAME}}|bounty}}}}'''</td></tr></table>(X of {{#if:{{{3|}}}|{{{3}}}|{{Bounties|{{#if:{{{1|}}}|{{{1}}}|{{Data|{{PAGENAME}}|bounty}}}}|qty}}}} found)</center></includeonly><noinclude>
{{Code2}}
{{Code2}}


==Syntax==
==Syntax==
*Used in the form <nowiki>{{AcquireBounty|itemimage.gif|name of bounty item|number required to complete bounty}}</nowiki><br />
*Used in one of three forms; either:
<nowiki>{{AcquireBounty|document_thumb.gif|crumpled pink slip|8}}</nowiki> produces, for example,<br />
**Specify no arguments: <nowiki>{{AcquireBounty}}</nowiki> if used on a monster page where the monster data indicates the bounty.
{{AcquireBounty|document_thumb.gif|crumpled pink slip|8}}
**Specify 1 argument: <nowiki>{{AcquireBounty|name of bounty item}}</nowiki>
**:<nowiki>{{AcquireBounty|crumpled pink slip}}</nowiki> produces, for example,<br />{{AcquireBounty|crumpled pink slip}}
**Specify 3 arguments: <nowiki>{{AcquireBounty|name of bounty item|itemimage.gif|number required to complete bounty}}</nowiki>
**:<nowiki>{{AcquireBounty|crumpled pink slip|document_thumb.gif|8}}</nowiki> produces, for example,<br />{{AcquireBounty|crumpled pink slip|document_thumb.gif|8}}
*The first 2 forms make use of the data stored in the {{tl|Bounties}} template.


[[Category:Standardization Templates|{{PAGENAME}}]]</noinclude>
[[Category:Standardization Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 22:01, 19 January 2014

<center><table><tr><td>[[File:{{#if:{{{2|}}}|{{{2}}}|{{Bounties|{{#if:{{{1|}}}|{{{1|}}}|{{Data|{{PAGENAME}}|bounty}}}}}}}}]]</td><td>You acquire a bounty item: '''{{#if:{{{1|}}}|{{{1}}}|{{Data|{{PAGENAME}}|bounty}}}}'''</td></tr></table>(X of {{#if:{{{3|}}}|{{{3}}}|{{Bounties|{{#if:{{{1|}}}|{{{1}}}|{{Data|{{PAGENAME}}|bounty}}}}|qty}}}} found)</center>

Syntax

  • Used in one of three forms; either:
    • Specify no arguments: {{AcquireBounty}} if used on a monster page where the monster data indicates the bounty.
    • Specify 1 argument: {{AcquireBounty|name of bounty item}}
      {{AcquireBounty|crumpled pink slip}} produces, for example,
      You acquire a bounty item: crumpled pink slip
      (X of 8 found)
    • Specify 3 arguments: {{AcquireBounty|name of bounty item|itemimage.gif|number required to complete bounty}}
      {{AcquireBounty|crumpled pink slip|document_thumb.gif|8}} produces, for example,
      You acquire a bounty item: crumpled pink slip
      (X of 8 found)
  • The first 2 forms make use of the data stored in the {{Bounties}} template.