Template:Redeem

From A KoL Wiki
{{Redeem}}
*This item will appear in your inventory after being redeemed using the chat interface. Enter the redemption code for your item by typing the following into the [[Chat Guide: Basics|chat]] input field:<br /><span style="background-color: #EEEEEE">'''/redeem <XXX>'''</span><br />where '''<XXX>''' represents an [[Wikipedia:alphanumeric|alphanumeric]] code located {{{code_location}}}. After a working code is entered, the following message will be printed in chat:<br /><span style="background-color: #EEEEEE">{{#if:{{{success_text|}}}|'''{{{success_text}}}'''|'''Success text missing, please help by [{{fullurl:{{FULLPAGENAME}}|action=edit}} entering it].''' {{#ifeq:{{{autocat|yes}}}|yes|[[Category:Needs Content|{{PAGENAME}}]]|}}}}</span>

*Attempting to redeem a code which has already been used by someone else results in the message "Code already used." *Attempting to redeem more than one valid code from the same account results in the message "You've already redeemed one of those." *Attempting to redeem an invalid code results in the message "Invalid code."

*Attempting to redeem too many codes in a short period of time results in the message "Not so fast."

This template should be used on item pages where the item is obtainable by using a redemption code in chat.

Usage

{{redeem|code_location=[where a player might come into possession of the necessary redemption code]|success_text=A cut-and-paste of the string that appears in chat when a working code is entered.}}

Which would appear as:

  • This item will appear in your inventory after being redeemed using the chat interface. Enter the redemption code for your item by typing the following into the chat input field:
    /redeem <XXX>
    where <XXX> represents an alphanumeric code located [where a player might come into possession of the necessary redemption code]. After a working code is entered, the following message will be printed in chat:
    A cut-and-paste of the string that appears in chat when a working code is entered.
  • Attempting to redeem a code which has already been used by someone else results in the message "Code already used."
  • Attempting to redeem more than one valid code from the same account results in the message "You've already redeemed one of those."
  • Attempting to redeem an invalid code results in the message "Invalid code."
  • Attempting to redeem too many codes in a short period of time results in the message "Not so fast."

You may omit the success text if it is unknown to you:

{{redeem|code_location=[where a player might come into possession of the necessary redemption code]}}

Would appear as:

  • This item will appear in your inventory after being redeemed using the chat interface. Enter the redemption code for your item by typing the following into the chat input field:
    /redeem <XXX>
    where <XXX> represents an alphanumeric code located [where a player might come into possession of the necessary redemption code]. After a working code is entered, the following message will be printed in chat:
    Success text missing, please help by entering it.
  • Attempting to redeem a code which has already been used by someone else results in the message "Code already used."
  • Attempting to redeem more than one valid code from the same account results in the message "You've already redeemed one of those."
  • Attempting to redeem an invalid code results in the message "Invalid code."
  • Attempting to redeem too many codes in a short period of time results in the message "Not so fast."

Leaving the success text blank causes the page to be placed into the Needs Content category.