Difference between revisions of "Talk:Discussion board"
m (→Template problem) |
(→Please add the code to Module: Loop) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 36: | Line 36: | ||
::{{re|6116G}} What do you mean by "refreshing edit"? [[User:LiaMinina|LiaMinina]] ([[User talk:LiaMinina|talk]]) 20:03, 9 September 2024 (UTC) | ::{{re|6116G}} What do you mean by "refreshing edit"? [[User:LiaMinina|LiaMinina]] ([[User talk:LiaMinina|talk]]) 20:03, 9 September 2024 (UTC) | ||
::: After I fixed the template it didn't show its new alignment on pages using it unless an edit is made. But if you don't meet the problem you can just ignore that term. --[[User:6116G|6116G]] ([[User talk:6116G|talk]]) 09:49, 12 September 2024 (UTC) | ::: After I fixed the template it didn't show its new alignment on pages using it unless an edit is made. But if you don't meet the problem you can just ignore that term. --[[User:6116G|6116G]] ([[User talk:6116G|talk]]) 09:49, 12 September 2024 (UTC) | ||
+ | |||
+ | == About boilerplates == | ||
+ | |||
+ | Hello. Is it possible to enable boilerplates in EnMGP? That way, it would be easier to create articles. [[User:LiaMinina|LiaMinina]] ([[User talk:LiaMinina|talk]]) 20:36, 23 September 2024 (UTC) | ||
+ | :Thanks for your remind by mail, but that tool is beyond my knowledge so I've no idea. --[[User:6116G|6116G]] ([[User talk:6116G|talk]]) 05:59, 1 October 2024 (UTC) | ||
+ | |||
+ | == Please move the page == | ||
+ | |||
+ | <s>{{tl|CADPA}} should be renamed to {{tl|CADPA rating}}--[[User:Tsuyuki2198391|Raxter]] ([[User talk:Tsuyuki2198391|talk]]) 11:55, 1 October 2024 (UTC)</s> | ||
+ | :Fine, I could do this myself--[[User:Tsuyuki2198391|Raxter]] ([[User talk:Tsuyuki2198391|talk]]) 15:06, 3 October 2024 (UTC) | ||
+ | ::Well... Could someone help me to delete the former?--[[User:Tsuyuki2198391|Raxter]] ([[User talk:Tsuyuki2198391|talk]]) 15:08, 3 October 2024 (UTC) | ||
+ | |||
+ | == Please add the code to [[:Module: Loop]] == | ||
+ | |||
+ | Code: | ||
+ | <pre> | ||
+ | function module.fornumargs(frame) | ||
+ | local args = frame.args | ||
+ | local parent = frame:getParent() | ||
+ | local prefix = mw.text.trim(args[1] or '') | ||
+ | local numname = mw.text.trim(args[2] or '') | ||
+ | local valname = mw.text.trim(args[3] or '') | ||
+ | local cond = mw.text.decode(mw.text.unstripNoWiki(mw.text.trim(args.cond or ''))) | ||
+ | local text = mw.text.decode(mw.text.unstripNoWiki(mw.text.trim(args[4] or ''))) | ||
+ | if not parent or numname == '' or valname == '' or text == '' then return '' end | ||
+ | |||
+ | local expr = '^' .. mw.ustring.gsub(prefix, '([-+*?%%])', '%%%1') .. '(%d+)$' | ||
+ | local keys = {} | ||
+ | local output = {} | ||
+ | for key, _ in pairs(parent.args) do | ||
+ | local num = mw.ustring.match(key, expr) | ||
+ | if num then | ||
+ | table.insert(keys, tonumber(num)) | ||
+ | end | ||
+ | end | ||
+ | table.sort(keys) | ||
+ | for _, idx in ipairs(keys) do | ||
+ | parent:callParserFunction('#vardefine', numname, idx) | ||
+ | parent:callParserFunction('#vardefine', valname, parent.args[prefix .. idx]) | ||
+ | if cond == '' or parent:preprocess(cond) ~= '' then | ||
+ | table.insert(output, parent:preprocess(text)) | ||
+ | end | ||
+ | end | ||
+ | return table.concat(output) | ||
+ | end | ||
+ | </pre> | ||
+ | from [[zhmoe:Module:Loop|the Chinese MGP version of Loop module]].--[[User:Tsuyuki2198391|Raxter]] ([[User talk:Tsuyuki2198391|talk]]) 07:23, 11 October 2024 (UTC) | ||
+ | :Notes: I don't have rights to do so as the website will determine that I am doing something bad the server. I would appreciate if someone helps me to do so.--[[User:Tsuyuki2198391|Raxter]] ([[User talk:Tsuyuki2198391|talk]]) 14:30, 17 October 2024 (UTC) |
Latest revision as of 14:31, 17 October 2024
- Welcome to Moegirlpedia, here is the discussion board. This page is for questions about how to use or edit Moegirlpedia or other things about Moegirlpedia.
- We are all volunteers, so sometimes replies can take some time. Please be patient. Check back on this page to see if your topic has been replied.
- You can click here to add a new topic.
- For the Chinese discussion board, click here.
Welcome to the Moegirlpedia discussion board!
You can speak freely!
But don't use it as an excuse to attack other people.
Others, like us, are not perfect.
Please respect other people's comments.
Thank you for your cooperation.
Contents
New draft proposal concerning Translation Moderator
All editors, please be notified a new proposal has been submitted at Talk:Discussion_board/Translation_moderator, according to regulations discussions about to take place. --Nochelux Iquinawir Illumina the Unexperienced Wikier (Criticize · Work on EN Moegirlpedia) 20:10, 8 April 2024 (UTC)
Yes, I aborted this project. If we want any such regulations, I suggest that we just keep it a private agreement between us editors. Those people will never give us the right to make our own conventions. --Nochelux Iquinawir Illumina the Unexperienced Wikier (Criticize · Work on EN Moegirlpedia) 14:04, 29 August 2024 (UTC)
Category page deletion
Hello... I would like to request these pages to be deleted, please, since they're empty. These were created as I couldn't figure out a name for these categories.
Category:Video game developers
Category:Japanese video game developers
Category:American video game developers LiaMinina (talk) 20:09, 31 July 2024 (UTC)
Category page deletion (2)
Can you delete this page, please? I'm reorganizing the categories within "Music".
Category:Songs LiaMinina (talk) 16:34, 5 August 2024 (UTC)
- Why? Songs are diffrent from Music.——KingChan / Fan of XY Production 06:38, 8 August 2024 (UTC)
Category page deletion (3)
Can you delete this category, please? I am having a hard time rearranging the categories...
Category:Real-life countries LiaMinina (talk) 15:13, 6 August 2024 (UTC)
Template problem
This template doesn't display well in this page. What happened? LiaMinina (talk) 16:50, 6 September 2024 (UTC)
- The template lost a
|}
at the end and its new alignment is from T:Characterinfo. You may need a refreshing edit for its new look. --6116G (talk) 07:38, 7 September 2024 (UTC)
About boilerplates
Hello. Is it possible to enable boilerplates in EnMGP? That way, it would be easier to create articles. LiaMinina (talk) 20:36, 23 September 2024 (UTC)
- Thanks for your remind by mail, but that tool is beyond my knowledge so I've no idea. --6116G (talk) 05:59, 1 October 2024 (UTC)
Please move the page
{{CADPA}} should be renamed to {{CADPA rating}}--Raxter (talk) 11:55, 1 October 2024 (UTC)
Please add the code to Module: Loop
Code:
function module.fornumargs(frame) local args = frame.args local parent = frame:getParent() local prefix = mw.text.trim(args[1] or '') local numname = mw.text.trim(args[2] or '') local valname = mw.text.trim(args[3] or '') local cond = mw.text.decode(mw.text.unstripNoWiki(mw.text.trim(args.cond or ''))) local text = mw.text.decode(mw.text.unstripNoWiki(mw.text.trim(args[4] or ''))) if not parent or numname == '' or valname == '' or text == '' then return '' end local expr = '^' .. mw.ustring.gsub(prefix, '([-+*?%%])', '%%%1') .. '(%d+)$' local keys = {} local output = {} for key, _ in pairs(parent.args) do local num = mw.ustring.match(key, expr) if num then table.insert(keys, tonumber(num)) end end table.sort(keys) for _, idx in ipairs(keys) do parent:callParserFunction('#vardefine', numname, idx) parent:callParserFunction('#vardefine', valname, parent.args[prefix .. idx]) if cond == '' or parent:preprocess(cond) ~= '' then table.insert(output, parent:preprocess(text)) end end return table.concat(output) end
from the Chinese MGP version of Loop module.--Raxter (talk) 07:23, 11 October 2024 (UTC)