細 (1版:https://templates.fandom.com/ja/ より) |
細編集の要約なし |
||
2行目: | 2行目: | ||
-- See more details about Lua in [[Help:Lua]]. |
-- See more details about Lua in [[Help:Lua]]. |
||
-- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden. |
-- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden. |
||
− | -- The next line imports the |
+ | -- The next line imports the I18n module from the [[w:c:dev:Global Lua Modules]]. |
local i18n = require('Dev:I18n') |
local i18n = require('Dev:I18n') |
||
-- See more details about this module at [[w:c:dev:Global_Lua_Modules/I18n]] |
-- See more details about this module at [[w:c:dev:Global_Lua_Modules/I18n]] |
2019年9月14日 (土) 18:55時点における版
国際化のための各言語によるメッセージを別ファイルにて保管し、呼び出して使えるようにするモジュールです。
-- This Module is used for making templates based in the Lua language.
-- See more details about Lua in [[Help:Lua]].
-- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden.
-- The next line imports the I18n module from the [[w:c:dev:Global Lua Modules]].
local i18n = require('Dev:I18n')
-- See more details about this module at [[w:c:dev:Global_Lua_Modules/I18n]]
-- The last line produces the output for the template
return i18n