Module:MFSignSprite : Différence entre versions

De WikiField
Sauter à la navigation Sauter à la recherche
 
(8 révisions intermédiaires par 3 utilisateurs non affichées)
Ligne 2 : Ligne 2 :
 
settings = {
 
settings = {
 
align = 'middle',
 
align = 'middle',
classname = 'mfsign-sprite',
+
classname = 'mfSign-sprite',
 
image = 'MFSignSprite.png',
 
image = 'MFSignSprite.png',
sheetsize = 608,
+
sheetsize = 3648,
size = 32,
+
size = 192,
 
stylesheet = true,
 
stylesheet = true,
url = require( [[Module:Sprite]] ).getUrl( 'MFSignSprite.png', 'version=1571110919580', 'mfsign-sprite' ),
+
url = require( [[Module:Sprite]] ).getUrl( 'MFSignSprite.png', 'version=1571110919580', 'mfSign-sprite' ),
 
},
 
},
 
sections = {
 
sections = {
Ligne 13 : Ligne 13 :
 
},
 
},
 
ids = {
 
ids = {
['SignArmor'] = { pos = 1, section = 1 },
+
['WoodSign'] = { pos = 1, section = 1 },
['SignAdventurer'] = { pos = 2, section = 1 },
+
['WoodSignArmorer'] = { pos = 2, section = 1 },
['SignLumberjack'] = { pos = 2, section = 1 },
+
['WoodSignAdventurer'] = { pos = 3, section = 2 },
['SignMagician'] = { pos = 2, section = 1 },
+
['WoodSignLumberjack'] = { pos = 4, section = 3 },
['SignFarmer'] = { pos = 2, section = 1 },
+
['WoodSignEnchanter'] = { pos = 5, section = 4 },
['SignBlacksmith'] = { pos = 2, section = 1 },
+
['WoodSignFarmer'] = { pos = 6, section = 5 },
['SignHerbalist'] = { pos = 2, section = 1 },
+
['WoodSignBlacksmith'] = { pos = 7, section = 6 },
['SignIndigenous'] = { pos = 2, section = 1 },
+
['WoodSignHerbalist'] = { pos = 8, section = 7 },
['SignEngineer'] = { pos = 2, section = 1 },
+
['WoodSignIndigenous'] = { pos = 9, section = 8 },
['SignJeweler'] = { pos = 2, section = 1 },
+
['WoodSignEngineer'] = { pos = 10, section = 9 },
['SignBuilder'] = { pos = 2, section = 1 },
+
['WoodSignJeweler'] = { pos = 11, section = 10 },
['SignCarpenter'] = { pos = 2, section = 1 },
+
['WoodSignBuilder'] = { pos = 12, section = 11 },
['SignMiner'] = { pos = 2, section = 1 },
+
['WoodSignCarpenter'] = { pos = 13, section = 12 },
['SignToolmaker'] = { pos = 2, section = 1 },
+
['WoodSignMiner'] = { pos = 14, section = 13 },
['SignFisherman'] = { pos = 2, section = 1 },
+
['WoodSignToolmaker'] = { pos = 15, section = 14 },
['SignGlassBlower'] = { pos = 2, section = 1 },
+
['WoodSignFisherman'] = { pos = 16, section = 15 },
['SignTaverner'] = { pos = 2, section = 1 },
+
['WoodSignGlassBlower'] = { pos = 17, section = 16 },
['SignTisserand'] = { pos = 2, section = 1 },
+
['WoodSignTaverner'] = { pos = 18, section = 17 },
 +
['WoodSignWeaver'] = { pos = 19, section = 18 },
 +
['StoneSign'] = { pos = 1, section = 20 },
 +
['StoneSignArmorer'] = { pos = 21, section = 1 },
 +
['StoneSignAdventurer'] = { pos = 22, section = 2 },
 +
['StoneSignLumberjack'] = { pos = 23, section = 3 },
 +
['StoneSignEnchanter'] = { pos = 24, section = 4 },
 +
['StoneSignFarmer'] = { pos = 25, section = 5 },
 +
['StoneSignBlacksmith'] = { pos = 26, section = 6 },
 +
['StoneSignHerbalist'] = { pos = 27, section = 7 },
 +
['StoneSignIndigenous'] = { pos =28, section = 8 },
 +
['StoneSignEngineer'] = { pos = 29, section = 9 },
 +
['StoneSignJeweler'] = { pos = 30, section = 10 },
 +
['StoneSignBuilder'] = { pos = 31, section = 11 },
 +
['StoneSignCarpenter'] = { pos = 32, section = 12 },
 +
['StoneSignMiner'] = { pos = 33, section = 13 },
 +
['StoneSignToolmaker'] = { pos = 34, section = 14 },
 +
['StoneSignFisherman'] = { pos = 35, section = 15 },
 +
['StoneSignGlassBlower'] = { pos = 36, section = 16 },
 +
['StoneSignTaverner'] = { pos =37, section = 17 },
 +
['StoneSignWeaver'] = { pos = 38, section = 18 },
 +
['SignAdventurer'] = { pos = 39, section = 1 },
 +
['SignEnchanter'] = { pos = 40, section = 2 },
 +
['SignArmorer'] = { pos = 41, section = 3 },
 +
['SignLumberjack'] = { pos = 42, section = 4 },
 +
['SignFarmer'] = { pos = 43, section = 5 },
 +
['SignBlacksmith'] = { pos = 44, section = 6 },
 +
['SignHerbalist'] = { pos = 45, section = 7 },
 +
['SignIndigenous'] = { pos = 46, section = 8 },
 +
['SignEngineer'] = { pos = 47, section = 9 },
 +
['SignJeweler'] = { pos = 48, section = 10 },
 +
['SignBuilder'] = { pos = 49, section = 11 },
 +
['SignCarpenter'] = { pos = 50, section = 12 },
 +
['SignMiner'] = { pos = 51, section = 13 },
 +
['SignToolmaker'] = { pos = 52, section = 14 },
 +
['SignFisherman'] = { pos = 53, section = 15 },
 +
['SignTaverner'] = { pos = 54, section = 16 },
 +
['SignWeaver'] = { pos = 55, section = 17 },
 +
['SignGlassBlower'] = { pos = 56, section = 18 },
 
},
 
},
 
}
 
}

Version actuelle datée du 10 novembre 2019 à 01:43

La documentation pour ce module peut être créée à Module:MFSignSprite/doc

return {
	settings = {
		align = 'middle',
		classname = 'mfSign-sprite',
		image = 'MFSignSprite.png',
		sheetsize = 3648,
		size = 192,
		stylesheet = true,
		url = require( [[Module:Sprite]] ).getUrl( 'MFSignSprite.png', 'version=1571110919580', 'mfSign-sprite' ),
	},
	sections = {
		{ name = 'Sign', id = 1 },
	},
	ids = {
		['WoodSign'] = { pos = 1, section = 1 },
		['WoodSignArmorer'] = { pos = 2, section = 1 },
		['WoodSignAdventurer'] = { pos = 3, section = 2 },
		['WoodSignLumberjack'] = { pos = 4, section = 3 },
		['WoodSignEnchanter'] = { pos = 5, section = 4 },
		['WoodSignFarmer'] = { pos = 6, section = 5 },
		['WoodSignBlacksmith'] = { pos = 7, section = 6 },
		['WoodSignHerbalist'] = { pos = 8, section = 7 },
		['WoodSignIndigenous'] = { pos = 9, section = 8 },
		['WoodSignEngineer'] = { pos = 10, section = 9 },
		['WoodSignJeweler'] = { pos = 11, section = 10 },
		['WoodSignBuilder'] = { pos = 12, section = 11 },
		['WoodSignCarpenter'] = { pos = 13, section = 12 },
		['WoodSignMiner'] = { pos = 14, section = 13 },
		['WoodSignToolmaker'] = { pos = 15, section = 14 },
		['WoodSignFisherman'] = { pos = 16, section = 15 },
		['WoodSignGlassBlower'] = { pos = 17, section = 16 },
		['WoodSignTaverner'] = { pos = 18, section = 17 },
		['WoodSignWeaver'] = { pos = 19, section = 18 },
		['StoneSign'] = { pos = 1, section = 20 },
		['StoneSignArmorer'] = { pos = 21, section = 1 },
		['StoneSignAdventurer'] = { pos = 22, section = 2 },
		['StoneSignLumberjack'] = { pos = 23, section = 3 },
		['StoneSignEnchanter'] = { pos = 24, section = 4 },
		['StoneSignFarmer'] = { pos = 25, section = 5 },
		['StoneSignBlacksmith'] = { pos = 26, section = 6 },
		['StoneSignHerbalist'] = { pos = 27, section = 7 },
		['StoneSignIndigenous'] = { pos =28, section = 8 },
		['StoneSignEngineer'] = { pos = 29, section = 9 },
		['StoneSignJeweler'] = { pos = 30, section = 10 },
		['StoneSignBuilder'] = { pos = 31, section = 11 },
		['StoneSignCarpenter'] = { pos = 32, section = 12 },
		['StoneSignMiner'] = { pos = 33, section = 13 },
		['StoneSignToolmaker'] = { pos = 34, section = 14 },
		['StoneSignFisherman'] = { pos = 35, section = 15 },
		['StoneSignGlassBlower'] = { pos = 36, section = 16 },
		['StoneSignTaverner'] = { pos =37, section = 17 },
		['StoneSignWeaver'] = { pos = 38, section = 18 },
		['SignAdventurer'] = { pos = 39, section = 1 },
		['SignEnchanter'] = { pos = 40, section = 2 },
		['SignArmorer'] = { pos = 41, section = 3 },
		['SignLumberjack'] = { pos = 42, section = 4 },
		['SignFarmer'] = { pos = 43, section = 5 },
		['SignBlacksmith'] = { pos = 44, section = 6 },
		['SignHerbalist'] = { pos = 45, section = 7 },
		['SignIndigenous'] = { pos = 46, section = 8 },
		['SignEngineer'] = { pos = 47, section = 9 },
		['SignJeweler'] = { pos = 48, section = 10 },
		['SignBuilder'] = { pos = 49, section = 11 },
		['SignCarpenter'] = { pos = 50, section = 12 },
		['SignMiner'] = { pos = 51, section = 13 },
		['SignToolmaker'] = { pos = 52, section = 14 },
		['SignFisherman'] = { pos = 53, section = 15 },
		['SignTaverner'] = { pos = 54, section = 16 },
		['SignWeaver'] = { pos = 55, section = 17 },
		['SignGlassBlower'] = { pos = 56, section = 18 },
	},
}