Difference between revisions of "Module: Card"
From Travel Strategies
| Line 29: | Line 29: | ||
swapremier = "Southwest Premier Card", | swapremier = "Southwest Premier Card", | ||
swapremierbiz = "Southwest Premier Business Card", | swapremierbiz = "Southwest Premier Business Card", | ||
| + | swapriority = "Southwest Priority Card", | ||
united = "United Explorer Credit Card", | united = "United Explorer Credit Card", | ||
unitedbiz = "United Explorer Business Card", | unitedbiz = "United Explorer Business Card", | ||
| Line 194: | Line 195: | ||
swapremier = "Southwest Premier", | swapremier = "Southwest Premier", | ||
swapremierbiz = "Southwest Premier Business", | swapremierbiz = "Southwest Premier Business", | ||
| + | swapriority = "Southwest Priority", | ||
united = "United Explorer", | united = "United Explorer", | ||
unitedbiz = "United Explorer Business", | unitedbiz = "United Explorer Business", | ||
| Line 359: | Line 361: | ||
swapremier = "SWAPremier.png", | swapremier = "SWAPremier.png", | ||
swapremierbiz = "SWAPremierBiz.png", | swapremierbiz = "SWAPremierBiz.png", | ||
| + | swapriority = "SWAPriority.png", | ||
united = "UnitedCard.png", | united = "UnitedCard.png", | ||
unitedbiz = "UnitedBiz.png", | unitedbiz = "UnitedBiz.png", | ||
| Line 523: | Line 526: | ||
swapremier = "Southwest Credit Card Guide", | swapremier = "Southwest Credit Card Guide", | ||
swapremierbiz = "Southwest Credit Card Guide", | swapremierbiz = "Southwest Credit Card Guide", | ||
| + | swapriority = "Southwest Credit Card Guide", | ||
united = "United Credit Card Guide", | united = "United Credit Card Guide", | ||
unitedbiz = "United Credit Card Guide", | unitedbiz = "United Credit Card Guide", | ||
| Line 687: | Line 691: | ||
swapremier = "Southwest Credit Cards", | swapremier = "Southwest Credit Cards", | ||
swapremierbiz = "Southwest Credit Cards", | swapremierbiz = "Southwest Credit Cards", | ||
| + | swapriority = "Southwest Credit Cards", | ||
united = "United Credit Cards", | united = "United Credit Cards", | ||
unitedbiz = "United Credit Cards", | unitedbiz = "United Credit Cards", | ||
Revision as of 13:28, 6 September 2018
Documentation for this module may be created at Module:Card/doc
local p = {}
local n = {
undefined = "Card Not in Database",
aarp = "AARP Credit Card",
amazon = "Amazon Visa Card",
ba = "British Airways Credit Card",
freedom = "Freedom Card",
freedomunlimited = "Freedom Unlimited Card",
hyatt = "Hyatt Credit Card",
iberia = "Iberia Credit Card",
aerlingus = "Aer Lingus Card",
ihg = "IHG Select Card",
ihgpremier = "IHG Premier Card",
ihgtraveler = "IHG Traveler Card",
inkcash = "Ink Cash Card",
inkpreferred = "Ink Preferred Card",
inkunlimited = "Ink Unlimited Card",
marriott = "Marriott Premier Plus Card",
marriottbiz = "Marriott Premier Business Card",
marriottpremier = "(Older) Marriott Premier Card",
marriottcard = "Marriott Card",
marriottcardbiz = "Marriott Business Card",
ritz = "Ritz Carlton Credit Card",
sapphirepreferred = "Sapphire Preferred Card",
sapphirereserve = "Sapphire Reserve Card",
swaplus = "Southwest Plus Card",
swaplusbiz = "Southwest Plus Business Card",
swapremier = "Southwest Premier Card",
swapremierbiz = "Southwest Premier Business Card",
swapriority = "Southwest Priority Card",
united = "United Explorer Credit Card",
unitedbiz = "United Explorer Business Card",
unitedclub = "United Club Credit Card",
unitedclubbiz = "United Club Business Card",
bluebiz = "Business Blue Plus Card",
bluecard = "Amex Blue Card",
bluecash = "Blue Cash Preferred Card",
bluecashnaf = "Blue Cash Card",
deltablue = "Delta Blue Credit Card",
deltagold = "Delta Gold Credit Card",
deltagoldbiz = "Delta Business Gold Card",
deltaplatinum = "Delta Platinum Credit Card",
deltaplatinumbiz = "Delta Business Platinum Card",
deltareserve = "Delta Reserve Card",
delttareservebiz = "Delta Business Reserve Card",
everydaypreferred = "Everyday Preferred Card",
everyday = "Amex Everyday Card",
goldbiz = "Amex Business Gold Rewards Card",
goldameriprise = "Amex Gold Ameriprise Card",
greenbiz = "Amex Business Green Card",
greencard = "Amex Green Card",
hiltoncard = "Hilton Credit Card",
hiltonsurpass = "Hilton Ascend Credit Card",
hiltonascend = "Hilton Ascend Credit Card",
hiltonbiz = "Hilton Business Credit Card",
hiltonaspire = "Hilton Aspire Credit Card",
lowesbiz = "Lowes Business Card",
mercedescard = "Mercedes-Benz Credit Card",
morganstanley = "Morgan Stanley Credit Card",
platinumbiz = "Amex Platinum Business Card",
platinumcard = "Amex Platinum Card",
platinummercedes = "Mercedes-Benz Amex Platinum Card",
platinumameriprise = "Ameriprise Amex Platinum Card",
platinumschwab = "Charles Schwab Amex Platinum CArd",
platinummorgan = "Morgan Stanley Amex Platinum Card",
platinumsachs = "Goldman Sachs Amex Platinum Card",
premierrewards = "Amex Premier Rewards Card",
simplycashbiz = "Amex SimplyCash Business Card",
spgbiz = "SPG Business Credit Card",
spgcard = "SPG Credit Card",
spgluxury = "SPG Luxury Credit Card",
aa = "American Airlines Platinum Card",
aabiz = "American Airlines Business Card",
aaexecutive = "American Airlines Executive Card",
aagold = "American Airlines Gold Card",
att = "AT&T Access Card",
costco = "Costco Credit Card",
costcobiz = "Costco Business Credit Card",
doublecash = "Citi Double Cash Card",
citipreferred = "Citi Preferred Card",
citipremier = "Citi Premier Card",
citiprestige = "Citi Prestige Card",
arrival = "Arrival Card",
arrivalpremier = "Arrival Premier Card",
aviator = "Aviator Red Card",
aviatorbiz = "Aviator Business Card",
aviatorsilver = "Aviator Silver Card",
choice = "Choice Credit Card",
frontier = "Frontier Credit Card",
hawaiian = "Hawaiian Airlines Credit Card",
hawaiianbiz = "Hawaiian Airlines Business Card",
jetbluebiz = "Jet Blue Business Credit Card",
jetblue = "Jet Blue Credit Card",
lufthansa = "Miles & More Credit Card",
wyndham = "Wyndham Credit Card",
alaska = "Alaska Airlines Credit Card",
alaskabiz = "Alaska Airlines Business Card",
allegiant = "Allegiant Credit Card",
amtrak = "Amtrak Credit Card",
amtraknaf = "Amtrak No-annual-fee Credit Card",
asiana = "Asiana Credit Card",
asianabiz = "Asiana Business Card",
boapremium = "BOA Premium Rewards Card",
boatravel = "BOA Travel Rewards Card",
boatravelbiz = "BOA Travel Rewards Busines Card",
boacash = "BOA Cash Rewards Card",
spirit = "Spirit Airlines Credit Card",
spiritbiz = "Spirit Airliness Business Card",
virgin = "Virgin Atlantic Credit Card",
aeromexico = "Aeromexico Credit Card",
altitude = "Altitude Reserve Card",
businessedge = "Business Edge Card",
businessedgeselect = "Business Edge Select Card",
businessedgetravel = "Business Edge Travel Card",
radissonbiz = "Radisson Business Credit Card",
radisson = "Radisson Premier Card",
radissonreg = "Radisson Rewards Card",
radissonnaf = "Radisson No Annual Fee Card",
cashplus = "U.S. Bank Cash+ Card",
flexperksgold = "Flexperks Gold Card",
flexperksselect = "Flexperks Select Card",
flexperkstravel = "Flexperks Travel Card",
latam = "LATAM Credit Card",
usbankplat = "U.S. Bank Platinum Card",
skypass = "Korean Skypass Credit Card",
skypassbiz = "Korean Skypass Business Card",
aaa = "AAA Credit Card",
alliant = "Alliant Cashback Card",
avianca = "Avianca Vuela Card",
aviancavida ="Avianca Vida Card",
bestwestern = "Best Western Credit Card",
cathay = "Cathay Pacific Credit Card",
ccucash = "Consumers Credit Union Cash Rebate Credit Card",
crystalinfinite = "CNB Crystal Infinite Card",
dinersclub = "Diner's Club Premier Card",
discover = "Discover it Card",
discovermiles = "Discover it Miles Card",
ducks = "Ducks Unlimited Credit Card",
fidelity = "Fidelity Rewards Credit Card",
fnbobiz = "First National Bank Business Edition Card",
fortknox = "Fort Knox Platinum Card",
huntingtonvoice = "Huntington Voice Credit Card",
jcbcard = "Marukai Premium JCB Card",
navyflasgship = "Navy Federal Flasgship Card",
nra = "NRA Cromplete Rewards Card",
nusenda = "Nusenda Platinum Cash Rewards Card",
paypal = "PayPal Cashback Credit Card",
penfedplat = "Penfed Platinum Rewards Card",
penfedtravel = "Penfed Pathfinder Rewards Card",
propel = "Wells Fargo Propel Card",
samsclub = "Sam's Club Credit Card",
savor = "Capital One Savor Rewards",
savorone = "Capital One SavorOne Card",
sony = "Sony Credit Card",
synovus = "Synovus Travel Rewards Card",
totalrewards = "Total Rewards Credit Card",
uber = "Uber Credit Card",
ubsinfinite = "UBS Infinite Card",
usaa = "USAA Limitless Cashback Card",
vantage = "VantageWest Connect Credit Card",
venture = "Capital One Venture Card",
ventureone = "Capital One VentureOne Card",
spark = "Captial One Spark Cash Card",
wellsfargo = "Wells Fargo Rewards Card",
wellsfargosig = "Wells Fargo Visa Signature Card",
}
local s = {
undefined = "Card Not in Database",
aarp = "AARP",
amazon = "Amazon",
ba = "British Airways",
freedom = "Chase Freedom",
freedomunlimited = "Chase Freedom Unlimited",
hyatt = "Hyatt Card",
iberia = "Iberia Card",
aerlingus = "Aer Lingus Card",
ihg = "IHG Select",
ihgpremier = "IHG Premier",
ihgtraveler = "IHG Traveler",
inkcash = "Ink Cash",
inkpreferred = "Ink Preferred",
inkunlimited = "Ink Unlimited",
marriott = "Marriott Premier Plus",
marriottbiz = "Marriott Premier Business",
marriottpremier = "(Older) Marriott Premier",
marriottcard = "Marriott",
marriottcardbiz = "Marriott Business",
ritz = "Ritz Carlton",
sapphirepreferred = "Chase Sapphire Preferred",
sapphirereserve = "Chase Sapphire Reserve",
swaplus = "Southwest Plus",
swaplusbiz = "Southwest Plus Business",
swapremier = "Southwest Premier",
swapremierbiz = "Southwest Premier Business",
swapriority = "Southwest Priority",
united = "United Explorer",
unitedbiz = "United Explorer Business",
unitedclub = "United Club",
unitedclubbiz = "United Club Business",
bluebiz = "Amex Business Blue Plus",
bluecard = "Amex Blue Card",
bluecash = "Amex Blue Cash Preferred",
bluecashnaf = "Amex Blue Cash",
deltablue = "Delta Blue",
deltagold = "Delta Gold",
deltagoldbiz = "Delta Business Gold",
deltaplatinum = "Delta Platinum",
deltaplatinumbiz = "Delta Business Platinum",
deltareserve = "Delta Reserve",
delttareservebiz = "Delta Business Reserve",
everydaypreferred = "Amex Everyday Preferred",
everyday = "Amex Everyday",
goldbiz = "Amex Business Gold",
greenbiz = "Amex Business Green",
goldameriprise = "Amex Gold Ameriprise",
greencard = "Amex Green Card",
hiltoncard = "Hilton",
hiltonsurpass = "Hilton Ascend",
hiltonascend = "Hilton Ascend",
hiltonbiz = "Hilton Business",
hiltonaspire = "Hilton Aspire",
lowesbiz = "Lowes Business",
mercedescard = "Mercedes-Benz",
morganstanley = "Morgan Stanley",
platinumbiz = "Amex Platinum Business Card",
platinumcard = "Amex Platinum Card",
platinummercedes = "Mercedes-Benz Platinum",
platinumameriprise = "Ameriprise Platinum",
platinumschwab = "Charles Schwab Platinum",
platinummorgan = "Morgan Stanley Platinum",
platinumsachs = "Goldman Sachs Platinum",
premierrewards = "Amex Premier Rewards",
simplycashbiz = "Amex SimplyCash Business",
spgbiz = "SPG Business",
spgcard = "SPG Card",
spgluxury = "SPG Luxury",
aa = "American Airlines Platinum",
aabiz = "American Airlines Business",
aaexecutive = "American Airlines Executive",
aagold = "American Airlines Gold",
att = "AT&T Access",
costco = "Costco",
costcobiz = "Costco Business",
doublecash = "Citi Double Cash",
citipreferred = "Citi Preferred",
citipremier = "Citi Premier",
citiprestige = "Citi Prestige",
arrival = "Barclay Arrival",
arrivalpremier = "Barclay Arrival Premier",
aviator = "Aviator Red",
aviatorbiz = "Aviator Business",
aviatorsilver = "Aviator Silver",
choice = "Choice",
frontier = "Frontier",
hawaiian = "Hawaiian Airlines",
hawaiianbiz = "Hawaiian Business",
jetbluebiz = "Jet Blue Business",
jetblue = "Jet Blue",
lufthansa = "Miles & More",
wyndham = "Wyndham",
alaska = "Alaska Airlines",
alaskabiz = "Alaska Business",
allegiant = "Allegiant",
amtrak = "Amtrak",
amtraknaf = "Amtrak No-annual-fee",
asiana = "Asiana",
asianabiz = "Asiana Business",
boapremium = "BOA Premium Rewards",
boatravel = "BOA Travel Rewards",
boatravelbiz = "BOA Travel Rewards Busines",
boacash = "BOA Cash Rewards",
spirit = "Spirit Airlines",
spiritbiz = "Spirit Business",
virgin = "Virgin Atlantic",
aeromexico = "Aeromexico",
altitude = "US Bank Altitude Reserve",
businessedge = "US Bank Business Edge",
businessedgeselect = "US Bank Business Edge Select",
businessedgetravel = "US Bank Business Edge Travel",
radissonbiz = "Radisson Business",
radisson = "Radisson Premier",
radissonreg = "Radisson Rewards",
radissonnaf = "Radisson No Annual Fee",
cashplus = "US Bank Cash+ Card",
flexperksgold = "US Bank Flexperks Gold",
flexperksselect = "US Bank Flexperks Select",
flexperkstravel = "US Bank Flexperks Travel",
latam = "LATAM",
usbankplat = "US Bank Platinum",
skypass = "Korean Skypass",
skypassbiz = "Korean Skypass Business",
aaa = "AAA",
alliant = "Alliant Cashback",
avianca = "Avianca Vuela",
aviancavida = "Avianca Vida",
bestwestern = "Best Western",
cathay = "Cathay Pacific",
ccucash = "Consumers Credit Union Cash Rebate",
crystalinfinite = "CNB Crystal Infinite",
dinersclub = "Diner's Club Premier",
discover = "Discover it",
discovermiles = "Discover it Miles",
ducks = "Ducks Unlimited",
fidelity = "Fidelity Rewards",
fnbobiz = "FNB Business Edition",
fortknox = "Fort Knox Platinum",
huntingtonvoice = "Huntington Voice",
jcbcard = "Marukai JCB Card",
navyflasgship = "Navy Flasgship",
nra = "NRA Cromplete Rewards",
nusenda = "Nusenda Platinum",
paypal = "PayPal Cashback",
penfedplat = "Penfed Platinum",
penfedtravel = "Penfed Pathfinder",
propel = "Wells Fargo Propel",
samsclub = "Sam's Club",
savor = "Capital One Savor Card",
savorone = "Capital One SaverOne Card",
sony = "Sony",
synovus = "Synovus Travel",
totalrewards = "Total Rewards",
uber = "Uber",
ubsinfinite = "UBS Infinite",
usaa = "USAA Limitless",
vantage = "VantageWest Connect",
venture = "Capital One Venture",
ventureone = "Capital One VentureOne",
spark = "Captial One Spark Cash",
wellsfargo = "Wells Fargo",
wellsfargosig = "Wells Fargo Signature",
}
local i = {
undefined = "SapphireReserve.png",
aarp = "AARPCard.png",
amazon = "AmazonCard.png",
ba = "BACard.png",
freedom = "Freedom.png",
freedomunlimited = "FreedomUnlimited.png",
hyatt = "NewHyatt.png",
iberia = "IberiaCard.png",
aerlingus = "AerLingusCard.png",
ihg = "IHGCard.png",
ihgpremier = "IHGPremier.png",
ihgtraveler = "IHGTraveler.png",
inkcash = "InkCash.png",
inkpreferred = "InkPreferred.png",
inkunlimited = "InkUnlimited.png",
marriott = "MarriottPlus.png",
marriottbiz = "MarriottBiz.png",
marriottpremier = "MarriottPremier.png",
marriottcard = "MarriottCard.png",
marriottcardbiz = "MarriottBiz.png",
ritz = "RitzCard.png",
sapphirepreferred = "SapphirePreferred.png",
sapphirereserve = "SapphireReserve.png",
swaplus = "SWAPlus.png",
swaplusbiz = "SWAPlusBiz.png",
swapremier = "SWAPremier.png",
swapremierbiz = "SWAPremierBiz.png",
swapriority = "SWAPriority.png",
united = "UnitedCard.png",
unitedbiz = "UnitedBiz.png",
unitedclub = "UnitedClubCard.png",
unitedclubbiz = "UnitedClubBiz.png",
bluebiz = "BlueBiz.png",
bluecard = "BlueCard.png",
bluecash = "BlueCash.png",
bluecashnaf = "BlueCashNAF.png",
deltablue = "DeltaBlue.png",
deltagold = "DeltaGold.png",
deltagoldbiz = "DeltaGoldBiz.png",
deltaplatinum = "DeltaPlatinum.png",
deltaplatinumbiz = "DeltaPlatinumBiz.png",
deltareserve = "DeltaReserve.png",
delttareservebiz = "DeltaReserveBiz.png",
everydaypreferred = "EverydayPreferred.png",
everyday = "EverydayCard.png",
goldbiz = "GoldBiz.png",
goldameriprise = "GoldAmeriprise.jpg",
greenbiz = "GreenBiz.png",
greencard = "GreenCard.png",
hiltoncard = "HiltonCard.png",
hiltonsurpass = "HiltonAscend.png",
hiltonascend = "HiltonAscend.png",
hiltonbiz = "HiltonBiz.png",
hiltonaspire = "HiltonAspire.png",
lowesbiz = "LowesBiz.png",
mercedescard = "MercedesCard.png",
morganstanley = "MorganStanleyCard.png",
platinumbiz = "PlatinumBiz.png",
platinumcard = "PlatinumCard.png",
platinummercedes = "PlatinumCard.png",
platinumameriprise = "PlatinumCard.png",
platinumschwab = "PlatinumCard.png",
platinummorgan = "PlatinumCard.png",
platinumsachs = "PlatinumCard.png",
premierrewards = "PremierRewards.png",
simplycashbiz = "SimplyCashBiz.png",
spgbiz = "SPGBix.png",
spgcard = "SPGCard.png",
spgluxury = "SPGLuxury.png",
aa = "AACard.jpg",
aabiz = "AABizCard.jpg",
aaexecutive = "AAExecutive.jpg",
aagold = "AAGold.jpg",
att = "ATTCard.jpg",
costco = "CostcoCard.jpg",
costcobiz = "CostcoBizCard.jpg",
doublecash = "DoubleCash.jpg",
citipreferred = "ThankyouPreferred.jpg",
citipremier = "ThankyouPremier.jpg",
citiprestige = "ThankyouPrestige.jpg",
arrival = "ArrivalCard.png",
arrivalpremier = "BarclayPremier.png",
aviator = "AviatorRed.png",
aviatorbiz = "AviatorBiz.png",
aviatorsilver = "AviatorSilver.jpg",
choice = "ChoiceCard.png",
frontier = "FrontierCard.png",
hawaiian = "HawaiianCard.png",
hawaiianbiz = "HawaiianBizCard.png",
jetbluebiz = "JetBlueBusiness.png",
jetblue = "JetBluePlus.png",
lufthansa = "LufthansaCard.png",
wyndham = "WyndhamSigCard.jpg",
alaska = "AlaskaCard.png",
alaskabiz = "AlaskaBizCard.png",
allegiant = "AllegiantCard.png",
amtrak = "AmtrakCard.png",
amtraknaf = "AmtrakNAF.png",
asiana = "AsianaCard.png",
asianabiz = "AsianaBizCard.png",
boapremium = "BOAPremium.png",
boatravel = "BOATravel.png",
boatravelbiz = "BOATravelBiz.png",
spirit = "SpiritCard.png",
spiritbiz = "SpiritBizCard.png",
virgin = "VirginCard.png",
aeromexico = "AeromexicoCard.png",
altitude = "AltitudeReserve.png",
businessedge = "BusinessEdge.png",
businessedgeselect = "BusinessEdgeSelect.png",
businessedgetravel = "BusinessEdgeTravel.png",
radisson = "RadissonPremier.png",
radissonreg = "RadissonSignature.png",
radissonnaf = "RadissonNAF.png",
radissonbiz = "RadissonBiz.png",
cashplus = "Cash+.png",
flexperksgold = "FlexperksGold.png",
flexperksselect = "FlexperksSelect.png",
flexperkstravel = "FlexperksTravel.png",
latam = "LatamCard.png",
skypass = "SkypassCard.png",
skypassbiz = "SkypassBizCard.png",
usbankplat = "USBPlatinum.png",
aaa = "AAACreditCard.png",
alliant = "AlliantCard.jpg",
avianca = "AviancaCard.png",
aviancavida = "AviancaVidaCard.png",
bestwestern = "BestWesternCard.jpg",
cathay = "CathayCard.jpg",
ccucash = "CCUCash.png",
crystalinfinite = "CrystalInfinite.png",
dinersclub = "DinersClub.png",
discover = "DiscoverCard.png",
discovermiles = "DiscoverMiles.png",
ducks = "DuckCard.png",
fidelity = "FidelityCard.jpg",
fnbobiz = "FNBOBiz.png",
fortknox = "FtKnox.png",
huntingtonvoice = "HuntingtonVoice.jpg",
jcbcard = "MurukaiCard.jpg",
navyflasgship = "FlasgshipCard.jpg",
nra = "NRACard.png",
nusenda = "NusendaCard.png",
paypal = "PayPalCash.jpg",
penfedplat = "PenfedPlat.png",
penfedtravel = "PenfedPathfinder.png",
propel = "PropelCard.png",
samsclub = "SamsClubCreditCard.jpg",
savor = "SavorCard.png",
savorone = "SavorOne.png",
sony = "SonyCard.jpg",
synovus = "Synovus.png",
totalrewards = "TotalRewardCard.jpg",
uber = "UberCard.png",
ubsinfinite = "UBSInfinite.jpeg",
usaa = "USAACard.png",
vantage = "VantageWest.png",
venture = "Venture.png",
ventureone = "VentureOneCard.png",
spark = "SparkCash.png",
wellsfargo = "WellsFargoRewards.jpg",
wellsfargosig = "WellsFargoSignature.jpg",
}
local g = {
undefined = "Card Not in Database",
aarp = "AARP Credit Card Guide",
amazon = "Amazon Visa Guide",
ba = "Avios Credit Cards Guide",
freedom = "Freedom Card Guide",
freedomunlimited = "Freedom Unlimited Guide",
hyatt = "Hyatt Credit Card Guide",
iberia = "Avios Credit Cards Guide",
aerlingus = "Avios Credit Cards Guide",
ihg = "IHG Credit Card Guide",
ihgpremier = "IHG Credit Card Guide",
ihgtraveler = "IHG Credit Card Guide",
inkcash = "Ink Cash Guide",
inkpreferred = "Ink Preferred Guide",
inkunlimited = "Ink Unlimited Guide",
marriott = "Marriott / SPG Credit Card Guide",
marriottbiz = "Marriott / SPG Credit Card Guide",
marriottpremier = "Marriott / SPG Credit Card Guide",
marriottcard = "Marriott / SPG Credit Card Guide",
marriottcardbiz = "Marriott / SPG Credit Card Guide",
ritz = "Ritz Carlton Credit Card Guide",
sapphirepreferred = "Sapphire Preferred Guide",
sapphirereserve = "Sapphire Reserve Guide",
swaplus = "Southwest Credit Card Guide",
swaplusbiz = "Southwest Credit Card Guide",
swapremier = "Southwest Credit Card Guide",
swapremierbiz = "Southwest Credit Card Guide",
swapriority = "Southwest Credit Card Guide",
united = "United Credit Card Guide",
unitedbiz = "United Credit Card Guide",
unitedclub = "United Credit Card Guide",
unitedclubbiz = "United Credit Card Guide",
bluebiz = "Business Blue Plus Guide",
bluecard = "Amex Blue Webpage",
bluecash = "Blue Cash Credit Card Guide",
bluecashnaf = "Blue Cash Credit Card Guide",
deltablue = "Delta Credit Card Guide",
deltagold = "Delta Credit Card Guide",
deltagoldbiz = "Delta Credit Card Guide",
deltaplatinum = "Delta Credit Card Guide",
deltaplatinumbiz = "Delta Credit Card Guide",
deltareserve = "Delta Credit Card Guide",
delttareservebiz = "Delta Reserve Card Guide",
everydaypreferred = "Amex Everyday Credit Card Guide",
everyday = "Amex Everyday Credit Card Guide",
goldbiz = "Business Gold Rewards Card Guide",
greenbiz = "Business Green Card Webpage",
goldameriprise = "Amex Gold Ameriprise Card Webpage",
greencard = "Amex Green Card Webpage",
hiltoncard = "Hilton Credit Card Guide",
hiltonsurpass = "Hilton Credit Card Guide",
hiltonascend = "Hilton Credit Card Guide",
hiltonbiz = "Hilton Credit Card Guide",
hiltonaspire = "Hilton Credit Card Guide",
lowesbiz = "Lowes Business Card Webpage",
mercedescard = "Mercedes-Benz Credit Card Webpage",
morganstanley = "Morgan Stanley Credit Card Webpage",
platinumbiz = "Amex Platinum Card Guide",
platinumcard = "Amex Platinum Card Guide",
platinummercedes = "Amex Platinum Card Guide",
platinumameriprise = "Amex Platinum Card Guide",
platinumschwab = "Amex Platinum Card Guide",
platinummorgan = "Amex Platinum Card Guide",
platinumsachs = "Amex Platinum Card Guide",
premierrewards = "Amex Premier Rewards Card Guide",
simplycashbiz = "Amex SimplyCash Business Card Guide",
spgbiz = "Marriott / SPG Credit Card Guide",
spgcard = "Marriott / SPG Credit Card Guide",
spgluxury= "Marriott / SPG Credit Card Guide",
aa = "American Airlines Credit Card Guide",
aabiz = "American Airlines Credit Card Guide",
aaexecutive = "American Airlines Executive Card Guide",
aagold = "American Airlines Credit Card Guide",
att = "AT&T Access Card Guide",
costco = "Costco Credit Card Guide",
costcobiz = "Costco Credit Card Guide",
doublecash = "Citi Double Cash Guide",
citipreferred = "Citi Preferred Guide",
citipremier = "Citi Premier Guide",
citiprestige = "Citi Prestige Guide",
arrival = "Arrival Card",
arrivalpremier = "Arrival Premier Guide",
aviator = "Aviator Card Guide",
aviatorbiz = "Aviator Card Guide",
aviatorsilver = "Aviator Card Guide",
choice = "Choice Credit Card Guide",
frontier = "Frontier Credit Card Guide",
hawaiian = "Hawaiian Airlines Credit Card Guide",
hawaiianbiz = "Hawaiian Airlines Credit Card Guide",
jetbluebiz = "Jet Blue Credit Card Guide",
jetblue = "Jet Blue Credit Card Guide",
lufthansa = "Miles & More Credit Card Guide",
wyndham = "Wyndham Credit Card Guide",
alaska = "Alaska Airlines Credit Card Guide",
alaskabiz = "Alaska Airlines Credit Card Guide",
allegiant = "Allegiant Credit Card Guide",
amtrak = "Amtrak Credit Card Guide",
amtraknaf = "Amtrak Credit Card Guide",
asiana = "Asiana Credit Card Guide",
asianabiz = "Asiana Credit Card Guide",
boapremium = "BOA Premium Rewards Guide",
boatravel = "BOA Travel Rewards Guide",
boatravelbiz = "BOA Travel Rewards Guide",
spirit = "Spirit Airlines Credit Card Guide",
spiritbiz = "Spirit Airliness Credit Card Guide",
virgin = "Virgin Atlantic Credit Card Guide",
aeromexico = "Aeromexico Credit Card Guide",
altitude = "Altitude Reserve Guide",
businessedge = "Business Edge Guide",
businessedgeselect = "Business Edge Select Guide",
businessedgetravel = "Business Edge Travel Card Guide",
radissonbiz = "Radisson Rewards Credit Card Guide",
radisson = "Radisson Rewards Credit Card Guide",
radissonreg = "Radisson Rewards Credit Card Guide",
radissonnaf = "Radisson Rewards Credit Card Guide",
cashplus = "U.S. Bank Cash+ Guide",
flexperksgold = "Flexperks Gold Card Guide",
flexperksselect = "Flexperks Select Card Guide",
flexperkstravel = "Flexperks Travel Card Guide",
latam = "LATAM Credit Card Guide",
skypass = "Korean Skypass Credit Card Guide",
skypassbiz = "Korean Skypass Credit Card Guide",
usbankplat = "U.S. Bank Platinum Card Webpage",
aaa = "AAA Credit Card Webpage",
alliant = "Alliant Cashback Card Guide",
avianca = "Avianca Credit Card Guide",
aviancavida = "Avianca Credit Card Guide",
bestwestern = "Best Western Credit Card Guide",
ccucash = "Consumer Credit Union Credit Cards Webpage",
cathay = "Cathay Pacific Credit Card Guide",
crystalinfinite = "CNB Crystal Infinite Card Guide",
dinersclub = "Diner's Club Card Guide",
discover = "Discover it Card Guide",
discovermiles = "Discover it Miles Card Guide",
ducks = "Ducks Unlimited Credit Card Webpage",
fidelity = "Fidelity Rewards Credit Card Webbpage",
fnbobiz = "First National Bank Business Edition Guide",
fortknox = "Fort Knox Platinum Card Webpage",
huntingtonvoice = "Huntington Voice Credit Card Guide",
jcbcard = "Marukai Premium JCB Card Guide",
navyflasgship = "Navy Federal Flasgship Card Webpage",
nra = "NRA Cromplete Rewards Card Webpage",
nusenda = "Nusenda Reward Card Guide",
paypal = "PayPal Cashback Card Guide",
penfedplat = "Penfed Rewards Card Webpage",
penfedtravel = "Penfed Pathfinder Card Webpage",
propel = "Wells Fargo Credit Cards Webpage",
samsclub = "Sam's Club Credit Card Webpage",
savor = "Capital One Savor Cards Webpage",
savorone = "Capital One Savor Cards Webpage",
sony = "Sony Credit Card Guide",
synovus = "Synovus Travel Rewards Card Webpage",
totalrewards = "Total Rewards Credit Card Webpage",
uber = "Uber Credit Card Guide",
ubsinfinite = "UBS Infinite Card Guide",
usaa = "USAA Limitless Cashback Card Guide",
vantage = "VantageWest Connect Credit Card Guide",
venture = "Capital One Venture Card Webpage",
ventureone = "VentureOne Card Webpage",
spark = "Captial One Spark Cash Webpage",
wellsfargo = "Wells Fargo Reward Credit Cards Guide",
wellsfargosig = "Wells Fargo Reward Credit Cards Guide",
}
local l = {
undefined = "Module:Card",
aarp = "AARP Credit Card",
amazon = "Amazon Visa Card",
ba = "Avios Credit Cards",
freedom = "Freedom Card",
freedomunlimited = "Chase Unlimited Cards",
hyatt = "Hyatt Credit Card",
iberia = "Avios Credit Cards",
aerlingus = "Avios Credit Cards",
ihg = "IHG Credit Cards",
ihgpremier = "IHG Credit Cards",
ihgtraveler = "IHG Credit Cards",
inkcash = "Ink Cash Card",
inkpreferred = "Ink Preferred Card",
inkunlimited = "Chase Unlimited Cards",
marriott = "Marriott / SPG Credit Cards",
marriottbiz = "Marriott / SPG Credit Cards",
marriottpremier = "Marriott / SPG Credit Cards",
marriottcard = "Marriott / SPG Credit Cards",
marriottcardbiz = "Marriott / SPG Credit Cards",
ritz = "Ritz Carlton Credit Card",
sapphirepreferred = "Sapphire Credit Cards",
sapphirereserve = "Sapphire Credit Cards",
swaplus = "Southwest Credit Cards",
swaplusbiz = "Southwest Credit Cards",
swapremier = "Southwest Credit Cards",
swapremierbiz = "Southwest Credit Cards",
swapriority = "Southwest Credit Cards",
united = "United Credit Cards",
unitedbiz = "United Credit Cards",
unitedclub = "United Credit Cards",
unitedclubbiz = "United Credit Cards",
bluebiz = "Business Blue Plus Card",
bluecard = "//www.americanexpress.com/us/credit-cards/card/blue/",
bluecash = "Blue Cash Credit Cards",
bluecashnaf = "Blue Cash Credit Cards",
deltablue = "Delta Credit Cards",
deltagold = "Delta Credit Cards",
deltagoldbiz = "Delta Credit Cards",
deltaplatinum = "Delta Credit Cards",
deltaplatinumbiz = "Delta Credit Cards",
deltareserve = "Delta Credit Cards",
delttareservebiz = "Delta Credit Cards",
everydaypreferred = "Amex Everyday Credit Cards",
everyday = "Amex Everyday Credit Cards",
goldbiz = "Business Gold Rewards Card",
goldameriprise = "//www.americanexpress.com/ameriprisegoldcard",
greenbiz = "//www.americanexpress.com/us/small-business/credit-cards/business-green-rewards",
greencard = "//www.americanexpress.com/us/credit-cards/card/green/",
hiltoncard = "Hilton Credit Cards",
hiltonsurpass = "Hilton Credit Cards",
hiltonbiz = "Hilton Credit Cards",
hiltonascend = "Hilton Credit Cards",
hiltonaspire = "Hilton Credit Cards",
lowesbiz = "//creditcard.americanexpress.com/lowes",
mercedescard = "//www.americanexpress.com/us/credit-cards/card/mercedes-benz/",
morganstanley = "//www.americanexpress.com/us/content/cardmember-agreements/morgan-stanley-credit-card.html",
platinumbiz = "Amex Platinum Cards",
platinumcard = "Amex Platinum Cards",
platinummercedes = "Amex Platinum Cards",
platinumameriprise = "Amex Platinum Cards",
platinumschwab = "Amex Platinum Cards",
platinummorgan = "Amex Platinum Cards",
platinumsachs = "Amex Platinum Cards",
premierrewards = "Amex Premier Rewards Card",
simplycashbiz = "Amex SimplyCash Business Card",
spgbiz = "Marriott / SPG Credit Cards",
spgcard = "Marriott / SPG Credit Cards",
spgluxury = "Marriott / SPG Credit Cards",
aa = "American Airlines Credit Cards",
aabiz = "American Airlines Credit Cards",
aaexecutive = "American Airlines Executive Card",
aagold = "American Airlines Credit Cards",
att = "AT&T Access Cards",
costco = "Costco Credit Cards",
costcobiz = "Costco Credit Cards",
doublecash = "Citi Double Cash Card",
citipreferred = "Citi Prestige and Premier Cards",
citipremier = "Citi Prestige and Premier Cards",
citiprestige = "Citi Prestige and Premier Cards",
arrival = "Arrival Card",
arrivalpremier = "Arrival Premier Card",
aviator = "American Airlines Credit Cards",
aviatorbiz = "American Airlines Credit Cards",
aviatorsilver = "American Airlines Credit Cards",
choice = "Choice Credit Card",
frontier = "Frontier Credit Card",
hawaiian = "Hawaiian Airlines Credit Cards",
hawaiianbiz = "Hawaiian Airlines Credit Cards",
jetbluebiz = "Jet Blue Credit Cards",
jetblue = "Jet Blue Credit Cards",
lufthansa = "Miles & More Credit Card",
wyndham = "Wyndham Credit Cards",
alaska = "Alaska Airlines Credit Cards",
alaskabiz = "Alaska Airlines Credit Cards",
allegiant = "Allegiant Credit Card",
amtrak = "Amtrak Credit Cards",
amtraknaf = "Amtrak Credit Cards",
asiana = "Asiana Credit Cards",
asianabiz = "Asiana Credit Cards",
boapremium = "Bank of America Travel and Premium Rewards Cards",
boatravel = "Bank of America Travel and Premium Rewards Cards",
boatravelbiz = "Bank of America Travel and Premium Rewards Cards",
boacash = "//www.bankofamerica.com/credit-cards/products/cash-back-credit-card/",
spirit = "Spirit Airlines Credit Cards",
spiritbiz = "Spirit Airlines Credit Cards",
virgin = "Virgin Atlantic Credit Cards",
aeromexico = "Aeromexico Credit Cards",
altitude = "Altitude Reserve Card",
businessedge = "Business Edge Card",
businessedgeselect = "Business Edge Select Card",
businessedgetravel = "Business Edge Travel Card",
radissonbiz = "Radisson Rewards Credit Cards",
radisson = "Radisson Rewards Credit Cards",
radissonreg = "Radisson Rewards Credit Cards",
radissonnaf = "Radisson Rewards Credit Cards",
cashplus = "U.S. Bank Cash+ Card",
flexperksgold = "Flexperks Gold Card",
flexperksselect = "Flexperks Select Card",
flexperkstravel = "Flexperks Travel Card",
latam = "LATAM Credit Cards",
skypass = "Skypass Credit Cards",
skypassbiz = "Skypass Credit Cards",
usbankplat = "//mycard.usbank.com/credit/mycardusb/html/usbank_platinum_visa.html",
aaa = "//wa.aaa.com/finance/credit-card",
alliant = "Alliant Cashback Card",
avianca = "Avianca Credit Cards",
aviancavida = "Avianca Credit Cards",
bestwestern = "Best Western Credit Cards",
ccucash = "//www.myconsumers.org/credit-cards/visa-cards/visa-signature-cash-rebate-card",
cathay = "Cathay Pacific Credit Card",
crystalinfinite = "CNB Crystal Infinite Card",
dinersclub = "Diner's Club Cards",
discover = "Discover it Card",
discovermiles = "Discover it Miles Card",
ducks = "//www.firstbankcard.com/ducksunlimited/landingpage/visaplat/?sub=000",
fidelity = "//www.fidelity.com/cash-management/visa-signature-card",
fnbobiz = "First National Bank Business Edition Cards",
fortknox = "//www.fortknoxfcu.org/visa.html",
huntingtonvoice = "//www.huntington.com/Personal/voice-credit-card/credit-card-rewards",
jcbcard = "Marukai Premium JCB Card",
navyflasgship = "//www.navyfederal.org/loans-cards/credit-cards/flagship-visa-signature/",
nra = "//www.firstbankcard.com/nra/site/customer_manage/personal.fhtml",
nusenda = "Nusenda Reward Cards",
paypal = "PayPal Cashback Card",
penfedplat = "//www.penfed.org/credit-cards/platinum-rewards-visa-signature",
penfedtravel = "Penfed Pathfinder Card",
propel = "//creditcards.wf.com/propel-card",
samsclub = "//www.samsclub.com/sams/pagedetails/content.jsp?pageName=credit",
savor = "//www.capitalone.com/credit-cards/dining-and-entertainment/",
savorone = "//www.capitalone.com/credit-cards/dining-and-entertainment/",
sony = "Sony Credit Card",
synovus = "Synovus Credit Cards",
totalrewards = "//d.comenity.net/totalrewardsvisa/pub/Home.xhtml",
uber = "Uber Credit Card",
ubsinfinite = "UBS Infinite Card",
usaa = "//www.usaa.com/inet/wc/bank_cc_limitless_cashback_visa_signature?akredirect=true",
vantage = "VantageWest Connect Credit Card",
venture = "//www.capitalone.com/credit-cards/venture/",
spark = "//www.capitalone.com/small-business/credit-cards/spark-cash/",
ventureone = "//www.capitalone.com/credit-cards/ventureone/",
wellsfargo = "Wells Fargo Reward Credit Cards",
wellsfargosig = "Wells Fargo Reward Credit Cards",
}
local textpos = "none"
local card = "undefined"
local width = "3in"
local text = ""
function p.output(frame)
if frame.args[1] ~= nil then
card = string.lower(frame.args[1])
end
if frame.args[2] ~= nil then
textpos = string.lower(frame.args[2])
end
if frame.args[3] ~= nil then
width = string.lower(frame.args[3])
end
local link = l[card]
if link ~= nil then
if textpos ~= "only" and textpos ~= "short" then
text = text .. "<div style='max-width:" .. width.."; margin: auto;'>\n"
end
if textpos == "above" then
if string.sub(link,1,2) == "//" then
text = text .. "'''[" .. link .. " " .. n[card] .. "]'''"
else
text = text .. "'''[[" .. link .. "|" .. n[card] .. "]]'''"
end
end
if textpos == "only" then
if string.sub(link,1,2) == "//" then
text = text .. "[" .. link .. " " .. n[card] .. "]"
else
text = text .. "[[" .. link .. "|" .. n[card] .. "]]"
end
end
if textpos == "short" then
if string.sub(link,1,2) == "//" then
text = text .. "[" .. link .. " " .. s[card] .. "]"
else
text = text .. "[[" .. link .. "|" .. s[card] .. "]]"
end
end
if textpos == "above" then
text = text .. "\n\n"
end
if textpos ~= "only" and textpos ~= "short" then
text = text .. "[[image:" .. i[card]
text = text .. "|class=img-responsive gridimg|link=" .. link .. "]]\n"
end
if textpos == "below" then
text = text .. "<div class = \"namebelow\">"
if string.sub(link,1,2) == "//" then
text = text .. "[" .. link .. " " .. n[card] .. "]</div>\n"
else
text = text .. "[[" .. link .. "|" .. n[card] .. "]]</div>\n"
end
end
if textpos == "guide" then
text = text .. "<div class = \"guidename\">"
if string.sub(link,1,2) == "//" then
text = text .. "[" .. link .. " " .. g[card] .. "]</div>\n"
else
text = text .. "[[" .. link .. "|" .. g[card] .. "]]</div>\n"
end
end
end
if textpos ~= "only" and textpos ~= "short" then
text = text .. "</div>"
end
return text
end
return p