local mps = require("Module:Sandbox/サンムル/ModulePageSystem") local ALIAS = { karen = { "愛城華戀", "华恋", "華戀", "恋", "戀", "愛城華恋", "華恋", "karen" }, hikari = { "神樂光", "光", "神楽ひかり", "ひかり", "hikari" } } return mps.create("Module:Sandbox/サンムル/少女歌剧片段/角色表述") :substart("爱城华恋") :plain("日文名", "愛城華恋") :plain("罗马字", "Aijo Karen") :wiki("日文名注音", "{{ruby|愛城|あいじょう}} {{ruby|華恋|かれん}}", true) :wiki("彩色声优括号", "'''{{coloredlink|#FB5458|爱城华恋}}'''({{coloredlink|#FB5458|小山百代}})", true) :subend() :ref(ALIAS.karen, "爱城华恋") :substart("日文名") :format(function(self, name, params) return mps.createRef({ mps.util.PARENTNODE, name, "日文名" }) end) :ref(ALIAS.karen, "爱城华恋") :ref(ALIAS.hikari, "神乐光") :subend() :substart("日文名注音") :ref("爱城华恋", { mps.util.PARENTNODE, "爱城华恋", "日文名注音" }) :ref(ALIAS.karen, "爱城华恋") :subend() :sub("神乐光", { ["日文名"] = "神楽ひかり", ["罗马字"] = mps.createPlain("Kagura Hikari"), ["日文名注音"] = mps.createWiki("{{ruby|神楽|かぐら}} ひかり", true) }) :substart("$大场奈奈") :plain("日文名", "大場なな") :plain("罗马字", "Daiba Nana") :wiki("日文名注音", "{{ruby|大場|だいば}} なな", true) :wiki("彩色声优括号", "'''{{coloredlink|#FDD162|大场奈奈}}'''({{coloredlink|#FDD162|小泉萌香}})", true) :subend() :format(function(self, name, params) return mps.create():plain("姓名", name) end)