首页
最近更改
MediaWiki帮助
中文社区
模组
人物
团体
群聊
历史
外网社区
模组
发帖交流
论坛
聊天
博客
快捷访问
分类
文件列表
上传文件
用户列表
用户通知
礼物列表
随机页面
聊天中的在线用户
页面
讨论
查看源代码
查看历史
刷新
创建账号
登录
查看“︁中文人物”︁的源代码
来自Age Of History 2 Chinese Wiki
←
中文人物
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>中文人物目录</title> <style> body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: linear-gradient(135deg, #e0e7ff, #f3e8ff); margin: 0; padding: 20px; color: #333; } .directory-container { max-width: 1200px; margin: 0 auto; padding: 20px; } .directory-header { text-align: center; margin-bottom: 30px; } .directory-header h1 { font-size: 2.5em; color: #1e3a8a; margin: 0; } .directory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; } .directory-card { background: #ffffff; border-radius: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); padding: 20px; transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden; } .directory-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); } .directory-card h3 { font-size: 1.5em; color: #1e3a8a; margin: 0 0 10px; } .directory-card p { margin: 5px 0; font-size: 1em; color: #4b5563; } .directory-card p.label { font-weight: bold; color: #1e40af; } /* 响应式设计 */ @media (max-width: 600px) { .directory-grid { grid-template-columns: 1fr; } .directory-header h1 { font-size: 2em; } } </style> </head> <body> <div class="directory-container"> <div class="directory-header"> <h1>中文人物目录</h1> </div> <div class="directory-grid"> <!-- 使用 DynamicPageList3 查询 --> <div class="dynamic-content"> {{#dpl: |category=中文人物 |namespace= |ordermethod=created |order=descending |addpagecounter=true |addauthor=true |addcreationdate=true |resultsheader=<div class="directory-grid"> |noresultsheader=<p>暂无页面数据</p> |format=,<div class="directory-card"><h3>%PAGE%</h3><p class="label">创建时间:</p><p>%DATE%</p><p class="label">创建人:</p><p>%USER%</p></div>, |resultsfooter=</div> }} </div> </div> </div> <script> // 可选:添加动态效果(如平滑滚动) document.querySelectorAll('.directory-card').forEach(card => { card.addEventListener('click', () => { const pageName = card.querySelector('h3').textContent; window.location.href = `/wiki/${encodeURIComponent(pageName)}`; }); }); </script> </body> </html>
该页面使用的模板:
Extension DPL
(
查看源代码
)
返回
中文人物
。
工具
链入页面
相关更改
特殊页面
页面信息
Cargo数据