Editing Module:Formatting
Appearance
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
-- Source: https://genshin-impact.fandom.com/wiki/Module:Formatting | |||
local p = {} | local p = {} | ||
local lib = require('Module:Feature') | local lib = require('Module:Feature') | ||
| Line 146: | Line 148: | ||
local pre = main[1] | local pre = main[1] | ||
local t_prefix = lib.split(pre, ':')[1] | local t_prefix = lib.split(pre, ':')[1] | ||
if not lib.inArray({'User', 'U', 'Project', ' | if not lib.inArray({'User', 'U', 'Project', 'Petit Planet Wiki'}, t_prefix) then | ||
pre = 'Template:' .. pre | pre = 'Template:' .. pre | ||
end | end | ||