وحدة:Flagg/Altvar data

من ويكيبيديا، الموسوعة الحرة
اذهب إلى التنقل اذهب إلى البحث

This module contains the data used by وحدة:Flagg for sports and military links. The (case-insensitive) codes for each sport or military branch are on the left side of the first table in the module code; their aliases are in the second table. The "age" parameter is the age limit for youth sports teams; it is only necessary if the data for the wanted sport uses the parameter (search for "..age").

Table[عدل]

Using the list_all function of this module, this list gives the same data in HTML table format. Either the main codes (generally based on the names of the corresponding specialized templates, given in the last column) or their aliases can be used to identify a sport or military branch in Template:Flagg. All codes are case-, space- and hyphen-insensitive, so e.g. the air force altvar can be given as airforce, air force, Air Force, air-force, etc.

The altlink is the default link suffix; if the suffix for a sport contains the green and italicized word "age", the age limit must be specified using |age= in the Flagg template. The altvar is used in تصنيف:قوالب بيانات بلد to specify sports- or military-specific flag variants (using |flag alias-altvar=... in their code) and override the link target (|link alias-altvar=...) and display name (|name alias-altvar=...).

الكودAliasesبادئة الوصلةلاحقة الوصلةAltvarالقالب
sbwwomen'ssoftballمنتخبالوطني للكرة اللينة للنساءكرة لينةsbw
fsfutsalمنتخبلكرة القدم داخل الصالاتكرة قدم داخل الصالاتfutsal
arfaustralianrulesfootballnational Australian rules football teamAustralian rules footballarf
bkbasketballمنتخبلكرة السلةكرة السلةbk
svbwwomen'ssittingvolleyvallمنتخبwomen's sitting national volleyball teamsitting volleyballsvbw
iihjjuniorinlinehockeymen's national junior inline hockey teaminline hockeyiihj
wightmanwightmancupWightman Cup teamtenniswightman
speedwaynational speedway teamspeedwayspeedway
ishicesledgehockeymen's national ice sledge hockey teamsledge hockeyish
iihwwomen'sinlinehockeywomen's national inline hockey teaminline hockeyiihw
bandywwomen'sbandywomen's national bandy teambandybandyW
fswwomen'sfutsalلكرة القدم داخل الصالات للنساءكرة قدم داخل الصالاتfsw
hbjjuniorhandballمنتخبلكرة اليد للناشئينكرة يدhbj
ru7rugbysevens
rugbyunionsevens
national rugby union team (sevens)rugby sevensru7
bswbeachsoccerwomen
women'sbeachsoccer
منتخبلكرة القدم الشاطئية للنساءكرة قدم شاطئية للنساءbeachsoccerwomen
bsbeachsoccerمنتخبلكرة القدم الشاطئيةكرة قدم شاطئيةbeachsoccer
navyالقوات البحريةnavalnavy
rhmrollerhockeyمنتخبلهوكي الانزلاقهوكي الانزلاقrhm
rollerderbyمنتخبلدربي الانزلاقدربي الانزلاقRollerDerby
hbwywomen'syouthhandballwomen's youth national handball teamكرة يدhbwy
bbbaseballnational baseball teambaseballbb
bkwwomen'sbasketballمنتخبالوطني لكرة السلة للنساءكرة السلةbkw
afamericanfootballnational American football teamAmerican footballaf
gbgoalballmen's national goalball teamgoalballgb
hbhandballمنتخبلكرة اليدكرة اليدhb
fhwwomen'sfieldhockeyمنتخبلهوكي الحقل للنساءهوكي الحقلfhw
ihwwomen'sicehockeyمنتخبلهوكي الجليد للنساءهوكي الجليدihw
cr19youthcricket
under19cricket
منتخبnational تحت 19 سنة cricket teamcricketcr19
nbnetballnational netball teamnetballnb
iflmlacrosse
men'slacrosse
men's national lacrosse teamlacrosseiflm
bkuyouthbasketballمنتخبتحت age سنة لكرة السلةكرة السلةbku
sbsoftballمنتخبالوطني للكرة اللينةكرة لينةsb
bhwwomen'sbeachhandballwomen's national beach handball teambeach handballbhw
fhmmen'sfieldhockey
fieldhockey
fh
منتخبلهوكي الحقل هوكي الحقلfhm
crcricketnational cricket teamcricketcr
ih18under18icehockeyمنتخبتحت 18 سنة لهوكي الجليدهوكي الجليدih18
fedfedcupFed Cup teamtennisfed
fbwuwomen'syouthfootballمنتخبللنساء تحت age سنة لكرة القدمكرة قدمfbwu
iilindoorlacrossenational indoor lacrosse teamlacrosseiil
rurugbyunionمنتخبالوطني لاتحاد الرغبياتحاد الرغبيru
ihw18women'sunder18icehockeyمنتخبللنساء تحت 18 سنة لهوكي الجليدهوكي الجليدihw18
crwwomen'scricketمنتخبnational women's cricket teamcricketcrw
rhwwomen'srollerhockeyمنتخبلهوكي الانزلاق للسيداتهوكي الانزلاقrhw
ruwwomen'srugbyunionلاتحاد الرغبي للسيداتاتحاد الرغبيruw
armyالجيشarmyarmy
wpwaterpoloمنتخبالوطني لكرة الماءwater polowp
p&ppitchandputtmen's national pitch and putt teampitch and puttp&p
svbsittingvolleyvallmen's national sitting volleyball teamsitting volleyballsvb
arfwwomen'saustralianrulesfootballwomen's national Australian rules football teamAustralian rules footballarfw
airforceالقوات الجويةair forceair force
bbstatebaseballstatestate baseball teambaseballbb-state
speedwayltlongtracknational long track teamlong trackspeedwayLT
wbkwwomen'swheelchairbasketballwomen's national wheelchair basketball teamwheelchair basketballwbkw
fbwmwomen'smilitaryfootballwomen's military national football teamfootballfbwm
hopmanhopmancupat the Hopman Cuptennishopman
wbkwheelchairbasketballmen's national wheelchair basketball teamwheelchair basketballwbk
vbwwomen'svolleyballمنتخبلكرة الطائرة للنساءكرة الطائرةvbw
ruuyouthrugbyunionمنتخبتحت age سنة لاتحاد الرغبياتحاد الرغبيruu
vbvolleyballمنتخبلكرة الطائرةكرة الطائرةvb
whrwheelchairrugbynational wheelchair rugby teamwheelchair rugbywhr
ru7wwomen'srugbyunionsevens
women'srugbysevens
women's national rugby union team (sevens)rugby sevensru7w
hbwjwomen'sjuniorhandballمنتخبلكرة اليد للسيدات ناشئينكرة يدhbwj
wpwwomen'swaterpoloمنتخبالوطني لكرة الماء للنساءwater polowpw
korfkorfballnational korfball teamkorfballkorf
hbyyouthhandballnational youth handball teamكرة يدhby
fboolympicfootballمنتخبOlympic football teamfootballfbo
bhbeachhandballnational beach handball teambeach handballbh
fbuyouthfootballمنتخبتحت age سنة لكرة القدمكرة قدمfbu
iihinlinehockeymen's national inline hockey teaminline hockeyiih
afujunioramericanfootballnational junior American football teamAmerican footballafu
bandynational bandy teambandybandy
ihjjunioricehockeyمنتخبلهوكي الجليد للناشئينهوكي الجليدihj
flwuflw19
flwu19
women's national تحت 19 floorball teamfloorballflw19
bdbadmintonمنتخبلكرة الريشةكرة ريشةbd
fbla'footballمنتخبA' national football teamfootballfbl
davisdaviscupDavis Cup teamtennisdavis
hbwwomen'shandballمنتخبللنساء لكرة اليدكرة يدhbw
bbwwomen'sbaseballwomen's national baseball teambaseballbbw
kdkabaddinational kabaddi teamKabaddikd
rlrugbyleagueمنتخبلدوري الرغبيدوري الرغبيrl
gbwwomen'sgoalballwomen's national goalball teamgoalballgbw
fbwwomen'sfootballمنتخبلكرة القدم للنساءكرة قدمfbw
flwwomen'sfloorballwomen's national floorball teamfloorballflw
fbmmilitaryfootballمنتخبmilitary national football teamfootballfbm
iflwwomen'slacrosseمنتخبwomen's national lacrosse teamlacrosseiflw
ihicehockeyمنتخبلهوكي الجليدهوكي الجليدih
flufl19men's national تحت 19 floorball teamfloorballflu
afwwomen'samericanfootballwomen's national American football teamAmerican footballafw
bkwuwomen'syouthbasketballمنتخبللنساء تحت age سنة لكرة السلةكرة السلةbkwu
fbfootballمنتخبلكرة القدمكرة قدمfb
iflwuiflwu19منتخبللنساء تحت 19 سنة lacrosse teamlacrosseiflwu19
flfloorballmen's national floorball teamfloorballfl
local p = {}

function p.alttable(age)

local alt_map = {
["af"]={
		altlink=	"national American football team";
		altvar=	"American football"
	};
["afu"]={
		altlink=	"national junior American football team";
		altvar=	"American football"
	};
["afw"]={
		altlink=	"women's national American football team";
		altvar=	"American football"
	};
["arf"]={
		altlink=	"national Australian rules football team";
		altvar=	"Australian rules football";
		mw=	"men's"
	};
["arfw"]={
		altlink=	"women's national Australian rules football team";
		altvar=	"Australian rules football";
		mw=	"women's"
	};
["bandy"]={
		altlink=	"national bandy team";
		altvar=	"bandy"
	};
["bandyw"]={
		altlink=	"women's national bandy team";
		altvar=	"bandy";
		template=	"bandyW"
	};
["bb"]={
		altlink=	"national baseball team";
		altvar=	"baseball"
	};
["bbstate"]={
		altlink=	"state baseball team";
		altvar=	"baseball";
		template=	"bb-state"
	};
["bbw"]={
		altlink=	"women's national baseball team";
		altvar=	"baseball"
	};
["bd"]={linkpre =	"منتخب";
		altlink=	"لكرة الريشة";
		altvar=	"كرة ريشة"
	};
["bs"]={linkpre =	"منتخب";
		altlink=	"لكرة القدم الشاطئية";
		altvar=	"كرة قدم شاطئية";
		template=	"beachsoccer"
	};
["bsw"]={linkpre =	"منتخب";
		altlink=	"لكرة القدم الشاطئية للنساء";
		altvar=	"كرة قدم شاطئية للنساء";
		template=	"beachsoccerwomen"
	};
["bh"]={
		altlink=	"national beach handball team";
		altvar=	"beach handball"
	};
["bhw"]={
		altlink=	"women's national beach handball team";
		altvar=	"beach handball";
		mw=	"women's"
	};
["bk"]={linkpre =	"منتخب";
		altlink=	"لكرة السلة";
		altvar=	"كرة السلة"
	};
["bku"]={linkpre =	"منتخب";
		altlink=	"تحت "..age.." سنة لكرة السلة";
		altvar=	"كرة السلة";
		age=	"تحت "..age};
["bkw"]={linkpre =	"منتخب";
		altlink=	"الوطني لكرة السلة للنساء";
		altvar=	"كرة السلة";
		mw=	"نساء"
	};
["bkwu"]={linkpre =	"منتخب";
		altlink=	"للنساء تحت "..age.." سنة لكرة السلة";
		altvar=	"كرة السلة";
		mw=	"نساء";
		age=	"تحت "..age};
["cr"]={
		altlink=	"national cricket team";
		altvar=	"cricket"
	};
["cr19"]={linkpre =	"منتخب";
		altlink=	"national تحت 19 سنة cricket team";
		altvar=	"cricket";
		age=	"تحت 19"
	};
["crw"]={linkpre =	"منتخب";
		altlink=	"national women's cricket team";
		altvar=	"cricket";
		mw=	"women's"
	};
["davis"]={
		altlink=	"Davis Cup team";
		altvar=	"tennis";
		mw=	"Davis"
	};
["fb"]={linkpre =	"منتخب";
		altlink=	"لكرة القدم";
		altvar=	"كرة قدم"
	};
["fbl"]={linkpre =	"منتخب";
		altlink=	"A' national football team";
		altvar=	"football";
		mw=	"A'"
	};
["fbm"]={linkpre =	"منتخب";
		altlink=	"military national football team";
		altvar=	"football"
	};
["fbo"]={linkpre =	"منتخب";
		altlink=	"Olympic football team";
		altvar=	"football";
		mw=	"Olympic"
	};
["fbu"]={linkpre =	"منتخب";
		altlink=	"تحت "..age.." سنة لكرة القدم";
		altvar=	"كرة قدم";
		age=	"تحت "..age};
["fbw"]={linkpre =	"منتخب";
		altlink=	"لكرة القدم للنساء";
		altvar=	"كرة قدم";
		mw=	"للنساء"
	};
["fbwm"]={
		altlink=	"women's military national football team";
		altvar=	"football";
		mw=	"women's"
	};
["fbwu"]={linkpre =	"منتخب";
		altlink=	"للنساء تحت "..age.." سنة لكرة القدم";
		altvar=	"كرة قدم";
		mw=	"النساء";
		age=	"تحت "..age};
["fed"]={
		altlink=	"Fed Cup team";
		altvar=	"tennis";
		mw=	"Fed"
	};
["fhm"]={linkpre =	"منتخب";
		altlink=	"لهوكي الحقل ";
		altvar=	"هوكي الحقل";
		mw=	"men's"
	}; 
["fhw"]={linkpre =	"منتخب";
		altlink=	"لهوكي الحقل للنساء";
		altvar=	"هوكي الحقل";
		mw=	"للنساء"
	};
["fl"]={
		altlink=	"men's national floorball team";
		altvar=	"floorball";
		mw=	"للرجال"
	};
["flu"]={
		altlink=	"men's national تحت 19 floorball team";
		altvar=	"floorball";
		mw=	"men's";
		age=	"تحت 19"
	};
["flw"]={
		altlink=	"women's national floorball team";
		altvar=	"floorball";
		mw=	"women's"
	};
["flwu"]={
		altlink=	"women's national تحت 19 floorball team";
		altvar=	"floorball";
		mw=	"women's";
		template=	"flw19"
	};
["fsw"]={"منتخب";
		altlink=	"لكرة القدم داخل الصالات للنساء";
		altvar=	"كرة قدم داخل الصالات";
		mw=	"للنساء"
	};
["fs"]={linkpre =	"منتخب";
		altlink=	"لكرة القدم داخل الصالات";
		altvar=	"كرة قدم داخل الصالات";
		template=	"futsal"
	};
["gb"]={
		altlink=	"men's national goalball team";
		altvar=	"goalball";
		mw=	"men's"
	};
["gbw"]={
		altlink=	"women's national goalball team";
		altvar=	"goalball";
		mw=	"للنساء"
	};
["hb"]={linkpre =	"منتخب";
		altlink=	"لكرة اليد";
		altvar=	"كرة اليد"
	};
["hbj"]={linkpre =	"منتخب";
		altlink=	"لكرة اليد للناشئين";
		altvar=	"كرة يد"
	};
["hbw"]={linkpre =	"منتخب";
		altlink=	"للنساء لكرة اليد";
		altvar=	"كرة يد";
		mw=	"للنساء"
	};
["hbwj"]={linkpre =	"منتخب";
		altlink=	"لكرة اليد للسيدات ناشئين";
		altvar=	"كرة يد"
	};
["hbwy"]={
		altlink=	"women's youth national handball team";
		altvar=	"كرة يد";
		mw=	"للنساء"
	};
["hby"]={
		altlink=	"national youth handball team";
		altvar=	"كرة يد"
	};
["hopman"]={
		altlink=	"at the Hopman Cup";
		altvar=	"tennis";
		mw=	"Hopman"
	};
["iflm"]={
		altlink=	"men's national lacrosse team";
		altvar=	"lacrosse";
		mw=	"men's"
	};
["iflw"]={linkpre =	"منتخب";
		altlink=	"women's national lacrosse team";
		altvar=	"lacrosse";
		mw=	"women's"
	};
["iflwu"]={linkpre =	"منتخب";
		altlink=	"للنساء تحت 19 سنة lacrosse team";
		altvar=	"lacrosse";
		mw=	"women's";
		template=	"iflwu19"
	};
["ih"]={linkpre =	"منتخب";
		altlink=	"لهوكي الجليد";
		altvar=	"هوكي الجليد";
		mw=	"men's"
	};
["ih18"]={linkpre =	"منتخب";
		altlink=	"تحت 18 سنة لهوكي الجليد";
		altvar=	"هوكي الجليد";
		mw=	"men's";
		age=	"تحت 18"
	};
["ihj"]={linkpre =	"منتخب";
		altlink=	"لهوكي الجليد للناشئين";
		altvar=	"هوكي الجليد";
		mw=	"men's";
		age=	"ناشئين"
	};
["ihw"]={linkpre =	"منتخب";
		altlink=	"لهوكي الجليد للنساء";
		altvar=	"هوكي الجليد";
		mw=	"للنساء"
	};
["ihw18"]={linkpre =	"منتخب";
		altlink=	"للنساء تحت 18 سنة لهوكي الجليد";
		altvar=	"هوكي الجليد";
		mw=	"women's";
		age=	"U-18"
	};
["iih"]={
		altlink=	"men's national inline hockey team";
		altvar=	"inline hockey"
	};
["iihj"]={
		altlink=	"men's national junior inline hockey team";
		altvar=	"inline hockey";
		mw=	"junior"
	};
["iihw"]={
		altlink=	"women's national inline hockey team";
		altvar=	"inline hockey";
		mw=	"women's"
	};
["iil"]={
		altlink=	"national indoor lacrosse team";
		altvar=	"lacrosse";
		mw=	"men's"
	};
["ish"]={
		altlink=	"men's national ice sledge hockey team";
		altvar=	"sledge hockey"
	};
["kd"]={
		altlink=	"national kabaddi team";
		altvar=	"Kabaddi"
	};
["korf"]={
		altlink=	"national korfball team";
		altvar=	"korfball"
	};
["nb"]={
		altlink=	"national netball team";
		altvar=	"netball"
	};
["p&p"]={
		altlink=	"men's national pitch and putt team";
		altvar=	"pitch and putt"
	};
["rhm"]={linkpre =	"منتخب";
		altlink=	"لهوكي الانزلاق";
		altvar=	"هوكي الانزلاق";
		mw=	"men's"
	};
["rhw"]={linkpre =	"منتخب";
		altlink=	"لهوكي الانزلاق للسيدات";
		altvar=	"هوكي الانزلاق";
		mw=	"للسيدات"
	};
["rl"]={linkpre =	"منتخب";
		altlink=	"لدوري الرغبي";
		altvar=	"دوري الرغبي"
	};
["rollerderby"]={linkpre =	"منتخب";
		altlink=	"لدربي الانزلاق";
		altvar=	"دربي الانزلاق";
		template=	"RollerDerby"
	};
["ru"]={linkpre =	"منتخب";
		altlink=	"الوطني لاتحاد الرغبي";
		altvar=	"اتحاد الرغبي"
	};
["ru7"]={
		altlink=	"national rugby union team (sevens)";
		altvar=	"rugby sevens"
	};
["ru7w"]={
		altlink=	"women's national rugby union team (sevens)";
		altvar=	"rugby sevens";
		mw=	"للسيدات"
	};
["ruu"]={linkpre =	"منتخب";
		altlink=	"تحت "..age.." سنة لاتحاد الرغبي";
		altvar=	"اتحاد الرغبي";
		age=	"تحت "..age};
["ruw"]={
		altlink=	"لاتحاد الرغبي للسيدات";
		altvar=	"اتحاد الرغبي";
		mw=	"للسيدات"
	};
["sb"]={linkpre =	"منتخب";
		altlink=	"الوطني للكرة اللينة";
		altvar=	"كرة لينة";
		mw=	"للرجال"
	};
["sbw"]={linkpre =	"منتخب";
		altlink=	"الوطني للكرة اللينة للنساء";
		altvar=	"كرة لينة";
		mw=	"للنساء"
	};
["speedway"]={
		altlink=	"national speedway team";
		altvar=	"speedway"
	};
["speedwaylt"]={
		altlink=	"national long track team";
		altvar=	"long track";
		template=	"speedwayLT"
	};
["svb"]={
		altlink=	"men's national sitting volleyball team";
		altvar=	"sitting volleyball";
		mw=	"men's"
	};
["svbw"]={linkpre =	"منتخب";
		altlink=	"women's sitting national volleyball team";
		altvar=	"sitting volleyball";
		mw=	"women's"
	};
["vb"]={linkpre =	"منتخب";
		altlink=	"لكرة الطائرة";
		altvar=	"كرة الطائرة";
		mw=	"men's"
	};
["vbw"]={linkpre =	"منتخب";
		altlink=	"لكرة الطائرة للنساء";
		altvar=	"كرة الطائرة";
		mw=	"نساء"
	};
["wbk"]={
		altlink=	"men's national wheelchair basketball team";
		altvar=	"wheelchair basketball"
	};
["wbkw"]={
		altlink=	"women's national wheelchair basketball team";
		altvar=	"wheelchair basketball";
		mw=	"women's"
	};
["whr"]={
		altlink=	"national wheelchair rugby team";
		altvar=	"wheelchair rugby"
	};
["wightman"]={
		altlink=	"Wightman Cup team";
		altvar=	"tennis";
		mw=	"Wightman"
	};
["wp"]={linkpre =	"منتخب";
		altlink=	"الوطني لكرة الماء";
		altvar=	"water polo"
	};
["wpw"]={linkpre =	"منتخب";
		altlink=	"الوطني لكرة الماء للنساء";
		altvar=	"water polo";
		mw=	"women's"
	};
["airforce"]={
		altlink=	"القوات الجوية";
		altvar=	"air force";
		template=	"air force"
	};
["army"]={
		altlink=	"الجيش";
		altvar=	"army"
	};
["navy"]={
		altlink=	"القوات البحرية";
		altvar=	"naval"	}
}

local alt_aliases = {
["a'football"]=	"fbl"	;	
["americanfootball"]=	"af"	;	
["australianrulesfootball"]=	"arf"	;	
["badminton"]=	"bd"	;	
["baseball"]=	"bb"	;	
["baseballstate"]=	"bbstate"	;	
["beachhandball"]=	"bh"	;	
["beachsoccer"]=	"bs"	;	
["beachsoccerwomen"]=	"bsw"	;	
["basketball"]=	"bk"	;	
["cricket"]=	"cr"	;	
["daviscup"]=	"davis"	;	
["fedcup"]=	"fed"	;	
["football"]=	"fb"	;	
["fh"]=	"fhm"	;	
["fieldhockey"]=	"fhm"	;	
["fl19"]=	"flu"	;	
["floorball"]=	"fl"	;	
["flw19"]=	"flwu"	;	
["flwu19"]=	"flwu"	;	
["futsal"]=	"fs"	;	
["goalball"]=	"gb"	;	
["handball"]=	"hb"	;	
["hopmancup"]=	"hopman"	;	
["icehockey"]=	"ih"	;	
["icesledgehockey"]=	"ish"	;	
["iflwu19"]=	"iflwu"	;	
["indoorlacrosse"]=	"iil"	;	
["inlinehockey"]=	"iih"	;	
["junioramericanfootball"]=	"afu"	;	
["juniorhandball"]=	"hbj"	;	
["junioricehockey"]=	"ihj"	;	
["juniorinlinehockey"]=	"iihj"	;	
["kabaddi"]=	"kd"	;	
["korfball"]=	"korf"	;	
["lacrosse"]=	"iflm"	;	
["men'sfieldhockey"]=	"fhm"	;	
["men'slacrosse"]=	"iflm"	;	
["militaryfootball"]=	"fbm"	;	
["netball"]=	"nb"	;	
["olympicfootball"]=	"fbo"	;	
["pitchandputt"]=	"p&p"	;	
["rollerhockey"]=	"rhm"	;	
["rugbyleague"]=	"rl"	;	
["rugbysevens"]=	"ru7"	;	
["rugbyunion"]=	"ru"	;	
["rugbyunionsevens"]=	"ru7"	;	
["softball"]=	"sb"	;	
["longtrack"]=	"speedwaylt"	;	
["sittingvolleyvall"]=	"svb"	;	
["under18icehockey"]=	"ih18"	;	
["under19cricket"]=	"cr19"	;	
["volleyball"]=	"vb"	;	
["waterpolo"]=	"wp"	;	
["wheelchairbasketball"]=	"wbk"	;	
["wheelchairrugby"]=	"whr"	;	
["wightmancup"]=	"wightman"	;	
["women'samericanfootball"]=	"afw"	;	
["women'saustralianrulesfootball"]=	"arfw"	;	
["women'sbandy"]=	"bandyw"	;	
["women'sbaseball"]=	"bbw"	;	
["women'sbasketball"]=	"bkw"	;	
["women'sbeachhandball"]=	"bhw"	;	
["women'sbeachsoccer"]=	"bsw"	;	
["women'scricket"]=	"crw"	;	
["women'sfieldhockey"]=	"fhw"	;	
["women'sfloorball"]=	"flw"	;	
["women'sfootball"]=	"fbw"	;	
["women'sfutsal"]=	"fsw"	;	
["women'sgoalball"]=	"gbw"	;	
["women'shandball"]=	"hbw"	;	
["women'sicehockey"]=	"ihw"	;	
["women'sinlinehockey"]=	"iihw"	;	
["women'srollerhockey"]=	"rhw"	;	
["women'sunder18icehockey"]=	"ihw18"	;	
["women'sjuniorhandball"]=	"hbwj"	;	
["women'slacrosse"]=	"iflw"	;	
["women'smilitaryfootball"]=	"fbwm"	;	
["women'srugbysevens"]=	"ru7w"	;	
["women'srugbyunion"]=	"ruw"	;	
["women'srugbyunionsevens"]=	"ru7w"	;	
["women'ssittingvolleyvall"]=	"svbw"	;	
["women'ssoftball"]=	"sbw"	;	
["women'svolleyball"]=	"vbw"	;	
["women'swaterpolo"]=	"wpw"	;	
["women'swheelchairbasketball"]=	"wbkw"	;	
["women'syouthbasketball"]=	"bkwu"	;	
["women'syouthfootball"]=	"fbwu"	;	
["women'syouthhandball"]=	"hbwy"	;	
["youthbasketball"]=	"bku"	;	
["youthcricket"]=	"cr19"	;	
["youthfootball"]=	"fbu"	;	
["youthhandball"]=	"hby"	;	
["youthrugbyunion"]=	"ruu"
}

return alt_map, alt_aliases

end

function p.list_all(frame)

--Load data
local alt_map, alt_aliases = p.alttable("''<span style=\"color:green;\">age</span>''")

--Add aliases to map table
for k,v in pairs(alt_map) do
  alt_map[k].aliases = {}
end
local wrong_aliases = {}
table.sort(alt_aliases)
for k,v in pairs(alt_aliases) do
  if alt_map[v]
    then table.insert(alt_map[v].aliases,k)
    else table.insert(wrong_aliases,k)
  end
end

--Create html table & header row
local list = mw.html.create("table")
list:addClass("wikitable sortable collapsible")
local head = list:tag("tr")
head:tag("th"):wikitext("الكود")
head:tag("th"):wikitext("Aliases")
head:tag("th"):wikitext("بادئة الوصلة")
head:tag("th"):wikitext("لاحقة الوصلة")
head:tag("th"):wikitext("Altvar")
head:tag("th"):wikitext("القالب")

--Append rows to create table body
table.sort(alt_map)
for k,v in pairs(alt_map) do
  local row = list:tag("tr")
  local temp = alt_map[k].template or k
  row:tag("td"):wikitext("<code>"..k.."</code>")
  row:tag("td"):wikitext("<code>"..table.concat(alt_map[k].aliases,"</code><br/><code>").."</code>")
  row:tag("td"):wikitext((alt_map[k].linkpre or ''))
  row:tag("td"):wikitext(alt_map[k].altlink)
  row:tag("td"):wikitext(alt_map[k].altvar)
  row:tag("td"):wikitext("[[Template:"..temp.."|"..temp.."]]")
end
if #wrong_aliases > 0 then
  local wrong_list = "These aliases point to non-existing data: <code>"..table.concat(wrong_aliases,"</code> <code>").."</code>"
  list:tag("tr"):tag("td"):attr("colspan","4"):css("color","red"):wikitext(wrong_list)
end

return list

end

return p