匿名
未登录
中文(中国大陆)
登录
「荏苒之境」
搜索
查看“︁模块:Gltd-Archive.lua”︁的源代码
来自「荏苒之境」
命名空间
模块
讨论
更多
更多
页面操作
阅读
查看源代码
历史
清除缓存
←
模块:Gltd-Archive.lua
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
local interp = require("Module:Interp.lua") local archive = {} local PERMISSION_COLORS = { "rgb(91 157 102)", "rgb(177, 160, 89))", "rgb(215, 122, 50)", "rgb(215, 56, 51)", "black" } local TEMPLATE = [=[<div class="gltd-archive" style="border: 5px solid rgb(189, 189, 189); padding-bottom: 0.5em; background-color: ${color}; color: white !important;"> <div class="logo" style="background-image: url(https://wiki.gilatod.art/resources/assets/Gilatod-logo.svg);"></div> <div class="text"> <p style="text-align: center; font-size: 1.5em; margin-bottom: -0.3em;"> [[「荏苒之境」归档码|${id}]] <span style="font-size: 0.6em;"> / [[事件组:${event_group}|${event_group}]] 事件组<span> </p> <p style="text-align: center;">本档案已被[[「荏苒之境」图书管理庭]]归档,[[「荏苒之境」权限级|权限级]]:${permission}。</p> </div> </div>]=] archive.show = function(frame) local permission = tonumber(frame.args.permission) or 1 return interp(TEMPLATE, { id = frame.args.id, color = PERMISSION_COLORS[permission], permission = permission, event_group = frame.args.event_group, }) end return archive
该页面使用的模板:
模块:Gltd-Archive.lua/doc
(
查看源代码
)
返回
模块:Gltd-Archive.lua
。
导航
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
wiki工具
wiki工具
Cargo数据
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志