查看“模块:Colorhime/doc”的源代码
←
模块:Colorhime/doc
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{FromOther/CN|site=萌娘百科|originURL=https://zh.moegirl.org.cn/{{FULLPAGENAMEE}}|origin={{FULLPAGENAME}}|copyright=cc|lsubtype=by-nc-sa|lver=3.0|contribURL=https://zh.moegirl.org.cn/index.php?title={{FULLPAGENAMEE}}&action=history}} == 随机颜色示例 == {{#vardefine:h| {{#expr: ({{#time:i}} mod 3)*120+{{#time:s}}*14 mod 360 }}}} <div style="display:flex;flex-wrap:wrap;width:1200px;margin:auto;justify-content:center;max-width:100%"> {{#invoke:nav|box|none |navbar=plain|state=plain |style=width:350px;margin:15px; |titlestyle=background:#{{#invoke:Colorhime|main|hsl({{#var:h}},1%,80%)|ChrMAG=300}}; |groupstyle=background:#{{#var:color-l}};width:20px; |abovestyle=background:#{{#var:color-l}}; |belowstyle=background:#{{#var:color-l}}; |liststyle=width:auto; |title= |above= |below= |group1= |list1= {{#invoke:nav|box|subgroup |groupstyle=background:#{{#var:color-m}};width:20px; |liststyle=background:{{#var:color-r}};width:auto; |group1= |list1= |group2= |list2= |group3= |list3= |group4= |list4= }} }} {{#invoke:nav|box|none |navbar=plain|state=plain |style=width:350px;margin:15px; |titlestyle=background:#{{#invoke:Colorhime|main|hsl({{#expr:{{#var:h}}+80}},1%,80%)|ChrMAG=300}}; |groupstyle=background:#{{#var:color-l}};width:20px; |abovestyle=background:#{{#var:color-l}}; |belowstyle=background:#{{#var:color-l}}; |liststyle=width:auto; |title= |above= |below= |group1= |list1= {{#invoke:nav|box|subgroup |groupstyle=background:#{{#var:color-m}};width:20px; |liststyle=background:{{#var:color-r}};width:auto; |group1= |list1= |group2= |list2= |group3= |list3= |group4= |list4= }} }} {{#invoke:nav|box|none |navbar=plain|state=plain |style=width:350px;margin:15px; |titlestyle=background:#{{#invoke:Colorhime|main|hsl({{#expr:{{#var:h}}+160}},1%,80%)|ChrMAG=300}}; |groupstyle=background:#{{#var:color-l}};width:20px; |abovestyle=background:#{{#var:color-l}}; |belowstyle=background:#{{#var:color-l}}; |liststyle=width:auto; |title= |above= |below= |group1= |list1= {{#invoke:nav|box|subgroup |groupstyle=background:#{{#var:color-m}};width:20px; |liststyle=background:{{#var:color-r}};width:auto; |group1= |list1= |group2= |list2= |group3= |list3= |group4= |list4= }} }} {{#invoke:nav|box|none |navbar=plain|state=plain |style=width:350px;margin:15px; |titlestyle=background:#{{#invoke:Colorhime|main|hsl({{#expr:{{#var:h}}+240}},1%,50%)|ChrMAG=300}}; |groupstyle=background:#{{#var:color-l}};width:20px; |abovestyle=background:#{{#var:color-l}}; |belowstyle=background:#{{#var:color-l}}; |liststyle=width:auto; |title= |above= |below= |group1= |list1= {{#invoke:nav|box|subgroup |groupstyle=background:#{{#var:color-m}};width:20px; |liststyle=background:{{#var:color-r}};width:auto; |group1= |list1= |group2= |list2= |group3= |list3= |group4= |list4= }} }} {{#invoke:nav|box|none |navbar=plain|state=plain |style=width:350px;margin:15px; |titlestyle=background:#{{#invoke:Colorhime|main|hsl({{#expr:{{#var:h}}+320}},1%,50%)|ChrMAG=300}}; |groupstyle=background:#{{#var:color-l}};width:20px; |abovestyle=background:#{{#var:color-l}}; |belowstyle=background:#{{#var:color-l}}; |liststyle=width:auto; |title= |above= |below= |group1= |list1= {{#invoke:nav|box|subgroup |groupstyle=background:#{{#var:color-m}};width:20px; |liststyle=background:{{#var:color-r}};width:auto; |group1= |list1= |group2= |list2= |group3= |list3= |group4= |list4= }} }} {{#invoke:nav|box|none |navbar=plain|state=plain |style=width:350px;margin:15px; |titlestyle=background:#{{#invoke:Colorhime|main|hsl({{#expr:{{#var:h}}+40}},1%,50%)|ChrMAG=300}}; |groupstyle=background:#{{#var:color-l}};width:20px; |abovestyle=background:#{{#var:color-l}}; |belowstyle=background:#{{#var:color-l}}; |liststyle=width:auto; |title= |above= |below= |group1= |list1= {{#invoke:nav|box|subgroup |groupstyle=background:#{{#var:color-m}};width:20px; |liststyle=background:{{#var:color-r}};width:auto; |group1= |list1= |group2= |list2= |group3= |list3= |group4= |list4= }} }} {{#invoke:nav|box|none |navbar=plain|state=plain |style=width:350px;margin:15px; |titlestyle=background:#{{#invoke:Colorhime|main|hsl({{#expr:{{#var:h}}+120}},1%,20%)|ChrMAG=300}}; |groupstyle=background:#{{#var:color-l}};width:20px; |abovestyle=background:#{{#var:color-l}}; |belowstyle=background:#{{#var:color-l}}; |liststyle=width:auto; |title= |above= |below= |group1= |list1= {{#invoke:nav|box|subgroup |groupstyle=background:#{{#var:color-m}};width:20px; |liststyle=background:{{#var:color-r}};width:auto; |group1= |list1= |group2= |list2= |group3= |list3= |group4= |list4= }} }} {{#invoke:nav|box|none |navbar=plain|state=plain |style=width:350px;margin:15px; |titlestyle=background:#{{#invoke:Colorhime|main|hsl({{#expr:{{#var:h}}+200}},1%,20%)|ChrMAG=300}}; |groupstyle=background:#{{#var:color-l}};width:20px; |abovestyle=background:#{{#var:color-l}}; |belowstyle=background:#{{#var:color-l}}; |liststyle=width:auto; |title= |above= |below= |group1= |list1= {{#invoke:nav|box|subgroup |groupstyle=background:#{{#var:color-m}};width:20px; |liststyle=background:{{#var:color-r}};width:auto; |group1= |list1= |group2= |list2= |group3= |list3= |group4= |list4= }} }} {{#invoke:nav|box|none |navbar=plain|state=plain |style=width:350px;margin:15px; |titlestyle=background:#{{#invoke:Colorhime|main|hsl({{#expr:{{#var:h}}+280}},1%,20%)|ChrMAG=300}}; |groupstyle=background:#{{#var:color-l}};width:20px; |abovestyle=background:#{{#var:color-l}}; |belowstyle=background:#{{#var:color-l}}; |liststyle=width:auto; |title= |above= |below= |group1= |list1= {{#invoke:nav|box|subgroup |groupstyle=background:#{{#var:color-m}};width:20px; |liststyle=background:{{#var:color-r}};width:auto; |group1= |list1= |group2= |list2= |group3= |list3= |group4= |list4= }} }} </div>
该页面使用的模板:
模板:FromOther/CN
(
查看源代码
)
模板:Namespace detect
(
查看源代码
)
模块:Arguments
(
查看源代码
)
模块:Color
(
查看源代码
)
模块:Colorhime
(
查看源代码
)
模块:Nav
(
查看源代码
)
返回至
模块:Colorhime/doc
。
导航菜单
个人工具
登录
名字空间
模块
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
随机页面
最近更改
最新文件
常用
上传多个文件
工具
链入页面
相关更改
特殊页面
页面信息