跳转到内容
打开/关闭搜索
搜索
打开/关闭菜单
392
条目
24
文件
3
用户
1050
编辑
Novark
导航
首页
最近更改
随机页面
MediaWiki帮助
特殊页面
打开/关闭外观设置菜单
无法加载外观设置。请检查您的网络连接并重试。
重试
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
登录
查看“︁模板:NovarkDeityInfobox”︁的源代码
来自Novark
查看
阅读
查看源代码
查看历史
相关页面
模板
讨论
更多操作
更多
工具
链入页面
相关更改
页面信息
←
模板:NovarkDeityInfobox
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<templatestyles src="NovarkDeityInfobox/styles.css" /> <div class="novark-deity-infobox"> {{#if:{{{emblem|}}}|{{#ifexist:File:{{{emblem|}}}|<div class="novark-deity-emblem">[[File:{{{emblem|}}}|frameless|alt={{{emblem_alt|}}}]]</div>|<div class="novark-media-missing">图片待补:{{{emblem|}}}</div>}}|}} <div class="novark-deity-title"> <div class="name">{{{name|}}}</div> {{#if:{{{epithet|}}}|<div class="epithet">{{{epithet|}}}</div>|}} </div> <dl class="novark-deity-data"> {{#if:{{{sacred_symbol|}}}|<div class="novark-deity-data-row"><dt>神徽</dt><dd>{{{sacred_symbol|}}}</dd></div>|}} {{#if:{{{divine_name|}}}|<div class="novark-deity-data-row"><dt>神名</dt><dd>{{{divine_name|}}}</dd></div>|}} {{#if:{{{title|}}}|<div class="novark-deity-data-row"><dt>头衔</dt><dd>{{{title|}}}</dd></div>|}} {{#if:{{{alignment|}}}|<div class="novark-deity-data-row"><dt>阵营倾向</dt><dd>{{{alignment|}}}</dd></div>|}} {{#if:{{{domains|}}}|<div class="novark-deity-data-row"><dt>领域倾向</dt><dd>{{{domains|}}}</dd></div>|}} {{#if:{{{celestial|}}}|<div class="novark-deity-data-row"><dt>星体</dt><dd>{{{celestial|}}}</dd></div>|}} {{#if:{{{extra1_label|}}}|<div class="novark-deity-data-row"><dt>{{{extra1_label|}}}</dt><dd>{{{extra1_value|}}}</dd></div>|}} {{#if:{{{extra2_label|}}}|<div class="novark-deity-data-row"><dt>{{{extra2_label|}}}</dt><dd>{{{extra2_value|}}}</dd></div>|}} {{#if:{{{extra3_label|}}}|<div class="novark-deity-data-row"><dt>{{{extra3_label|}}}</dt><dd>{{{extra3_value|}}}</dd></div>|}} {{#if:{{{extra4_label|}}}|<div class="novark-deity-data-row"><dt>{{{extra4_label|}}}</dt><dd>{{{extra4_value|}}}</dd></div>|}} </dl> </div> <noinclude> 神祇信息框。用命名参数传神徽图案、神名、头衔、阵营/领域倾向、星体;旧页面迁移时由转换器把旧 `novark-deity-infobox` 信息框容器转为本模板,未知字段进入 `extraN_label/extraN_value`。 用法: ``` {{NovarkDeityInfobox |name=伊斯普洛尔 |emblem=启明.png |epithet= |sacred_symbol=源泉之书上的启明星 |divine_name=伊斯普洛尔 |title=启明星,群星伊始 |alignment=守序中立 |domains=[[弥恩诸世/信仰体系/领域/启明|启明]],[[弥恩诸世/信仰体系/领域/知识|知识]],[[弥恩诸世/信仰体系/领域/星寰|星寰]] |celestial=第一神座 }} ``` 图片参数使用目标站 File 名;未上传前的红链属预期。 <templatedata> { "description": "神祇信息框(迁移自旧 novark-deity-infobox)", "params": { "name": { "label": "神名", "type": "string", "required": true }, "emblem": { "label": "神徽文件名", "type": "string", "required": false }, "emblem_alt": { "label": "神徽替代文字", "type": "string", "required": false }, "epithet": { "label": "尊称/别号", "type": "string", "required": false }, "sacred_symbol": { "label": "神徽", "type": "string", "required": false }, "divine_name": { "label": "神名(正式)", "type": "string", "required": false }, "title": { "label": "头衔", "type": "string", "required": false }, "alignment": { "label": "阵营倾向", "type": "string", "required": false }, "domains": { "label": "领域倾向", "type": "string", "required": false }, "celestial": { "label": "星体", "type": "string", "required": false }, "extra1_label": { "label": "扩展字段1名称", "type": "string", "required": false }, "extra1_value": { "label": "扩展字段1值", "type": "string", "required": false }, "extra2_label": { "label": "扩展字段2名称", "type": "string", "required": false }, "extra2_value": { "label": "扩展字段2值", "type": "string", "required": false }, "extra3_label": { "label": "扩展字段3名称", "type": "string", "required": false }, "extra3_value": { "label": "扩展字段3值", "type": "string", "required": false }, "extra4_label": { "label": "扩展字段4名称", "type": "string", "required": false }, "extra4_value": { "label": "扩展字段4值", "type": "string", "required": false } }, "paramOrder": [ "name", "emblem", "emblem_alt", "epithet", "sacred_symbol", "divine_name", "title", "alignment", "domains", "celestial", "extra1_label", "extra1_value", "extra2_label", "extra2_value", "extra3_label", "extra3_value", "extra4_label", "extra4_value" ] } </templatedata> </noinclude>
该页面使用的模板:
模板:NovarkDeityInfobox
(
查看源代码
)
模板:NovarkDeityInfobox/styles.css
(
查看源代码
)
返回
模板:NovarkDeityInfobox
。
查看“︁模板:NovarkDeityInfobox”︁的源代码
来自Novark