Template:AcquireBounty: Difference between revisions

From A KoL Wiki
imported>Fig bucket
m try and add a mode such that you don't need to specify anything except the max number when used on a page with appropriate metadata
imported>Fig bucket
m sigh...partly wasted effort---seems these aren't real items, so no pages or metadata for them explicitly
Line 1: Line 1:
<includeonly><center><table><tr><td>{{#if:{{{2|}}}|[[File:{{{1}}}]]|{{Delink|{{Data|{{PAGENAME}}|bounty}}|Data|image|1}}}}</td><td>You acquire a bounty item: '''{{#if:{{{2|}}}|{{{2}}}|{{Delink|{{Data|{{PAGENAME}}|bounty}}}}}}'''</td></tr></table>(X of {{#if:{{{2|}}}|{{{3}}}|{{{1}}}}} found)</center></includeonly><noinclude>
<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>
{{Code2}}
{{Code2}}



Revision as of 02:36, 16 January 2014

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

Syntax

  • Used in the form {{AcquireBounty|itemimage.gif|name of bounty item|number required to complete bounty}}

{{AcquireBounty|document_thumb.gif|crumpled pink slip|8}} produces, for example,

You acquire a bounty item: crumpled pink slip
(X of 8 found)