帮助:模板库
出自Meshal Lite
第80行: | 第80行: | ||
|tpl | |tpl | ||
|tip=链接}} | |tip=链接}} | ||
+ | |- | ||
+ | |<span class="hidden">链接</span> | ||
+ | {{quarter| | ||
+ | ;子页面查看链接:{{anchor|<code>{{tpl|subpages}}</code>|id=subpages}} | ||
+ | 搭载在某个页面中,生成一个超链接指向此页面的所有子页面列表。 | ||
+ | |tpl | ||
+ | |tip=链接}} | ||
+ | |- | ||
+ | |<span class="hidden">链接</span> | ||
+ | {{quarter| | ||
+ | ;图片链接:{{anchor|<code>{{tpl|imglink}}</code>|id=imglink}} | ||
+ | 指向一个页面,但这个页面链接用图片来表示。 | ||
+ | |tpl | ||
+ | |tip=链接}} | ||
+ | |- | ||
+ | |<span class="hidden">图片</span> | ||
+ | {{quarter| | ||
+ | ;嵌入图片:{{anchor|<code>{{tpl|img}}</code>|id=img}} | ||
+ | 调用位于<nowiki></nowiki>{{SERVER}}/liteimg/<nowiki></nowiki>下的图片文件。 | ||
+ | ---- | ||
+ | ;变体:{{anchor|<code>{{tpl|eximg}}</code>|id=eximg}} | ||
+ | 调用指定完整URL的图片文件。 | ||
+ | |tpl | ||
+ | |tip=图片}} | ||
+ | |- | ||
+ | |<span class="hidden">图片</span> | ||
+ | {{quarter| | ||
+ | ;嵌入预设符号图片:{{anchor|<code>{{tpl|symbol}}</code>|id=symbol}} | ||
+ | 生成一个符号,该符号是预设的。 | ||
+ | |tpl | ||
+ | |tip=图片}} | ||
|- | |- | ||
|<span class="hidden">格式</span> | |<span class="hidden">格式</span> | ||
第278行: | 第309行: | ||
|tpl | |tpl | ||
|tip=系统}} | |tip=系统}} | ||
+ | |- | ||
+ | |<span class="hidden">查询</span> | ||
+ | {{quarter| | ||
+ | ;世界设定查询:{{anchor|<code>{{tpl|settingList}}</code>|id=settingList}} | ||
+ | 罗列所有已注册世界设定的某个同名页面,类似于生成一个导航文本。 | ||
+ | |tpl | ||
+ | |tip=查询}} | ||
+ | |- | ||
+ | |<span class="hidden">查询</span> | ||
+ | {{quarter| | ||
+ | ;体型等级查询:{{anchor|<code>{{tpl|sizeLevel}}</code>|id=sizeLevel}} | ||
+ | 输入体型,得到体型等级。 | ||
+ | |tpl | ||
+ | |tip=查询}} | ||
+ | |- | ||
+ | |<span class="hidden">查询</span> | ||
+ | {{quarter| | ||
+ | ;货币查询:{{anchor|<code>{{tpl|currency}}</code>|id=currency}} | ||
+ | 输入数字,得到对应的货币格式。 | ||
+ | ---- | ||
+ | ;汇率参数:{{anchor|<code>{{tpl|currency_exchangeRate}}</code>|id=currency_exchangeRate}} | ||
+ | 预定义一组汇率参数以供调用它的页面使用。 | ||
+ | ---- | ||
+ | ;货币查询(GSC):{{anchor|<code>{{tpl|currency_gsc}}</code>|id=currency_gsc}} | ||
+ | 输入数字,得到GSC(金银铜)币制的数字。 | ||
+ | ;货币查询(FER):{{anchor|<code>{{tpl|currency_fer}}</code>|id=currency_fer}} | ||
+ | 输入数字,得到FER(星铁)币制的数字。 | ||
+ | ;货币查询(AES):{{anchor|<code>{{tpl|currency_aes}}</code>|id=currency_aes}} | ||
+ | 输入数字,得到AES(亚兰恩世界埃多安银币)币制的数字。 | ||
+ | |tpl | ||
+ | |tip=查询}} | ||
+ | |- | ||
+ | |<span class="hidden">查询</span> | ||
+ | {{quarter| | ||
+ | ;树状分类查询:{{anchor|<code>{{tpl|categorytree}}</code>|id=categorytree}} | ||
+ | 生成1个树状结构的分类查看表。 | ||
+ | |tpl | ||
+ | |tip=查询}} | ||
+ | |- | ||
+ | |<span class="hidden">查询</span> | ||
+ | {{quarter| | ||
+ | ;分类内容列表:{{anchor|<code>{{tpl|database_list}}</code>|id=database_list}} | ||
+ | 输出特定名字空间和特定分类的条目集合(以可收缩表格方式呈现) | ||
+ | ---- | ||
+ | ;变体:{{anchor|<code>{{tpl|database_listonly}}</code>|id=database_listonly}} | ||
+ | 输出特定名字空间和特定分类的条目集合(以纯列表方式呈现)。 | ||
+ | |tpl | ||
+ | |tip=查询}} | ||
+ | |- | ||
+ | |<span class="hidden">入口</span> | ||
+ | {{quarter| | ||
+ | ;可扩展显示文字:{{anchor|<code>{{tpl|createpages}}</code>|id=createpages}} | ||
+ | 搭载在某个页面中, 生成1个悬浮按钮菜单,提供快速创建资料的入口。 | ||
+ | |tpl | ||
+ | |tip=入口}} | ||
+ | |- | ||
+ | |<span class="hidden">预载</span> | ||
+ | {{quarter| | ||
+ | ;种族预载模板:{{anchor|<code>{{tpl|createRaceFeature}}</code>|id=createRaceFeature}} | ||
+ | ;性别预载模板:{{anchor|<code>{{tpl|createGenderFeature}}</code>|id=createGenderFeature}} | ||
+ | ;体型预载模板:{{anchor|<code>{{tpl|createSizeFeature}}</code>|id=createSizeFeature}} | ||
+ | ;形态预载模板:{{anchor|<code>{{tpl|createFormFeature}}</code>|id=createFormFeature}} | ||
+ | |tpl | ||
+ | |tip=预载}} | ||
+ | |- | ||
+ | |<span class="hidden">预载</span> | ||
+ | {{quarter| | ||
+ | ;主动能力预载模板:{{anchor|<code>{{tpl|createActiveAbility}}</code>|id=createActiveAbility}} | ||
+ | ;被动能力预载模板:{{anchor|<code>{{tpl|createPassiveAbility}}</code>|id=createPassiveAbility}} | ||
+ | |tpl | ||
+ | |tip=预载}} | ||
+ | |- | ||
+ | |<span class="hidden">预载</span> | ||
+ | {{quarter| | ||
+ | ;一般物品预载模板:{{anchor|<code>{{tpl|createItem}}</code>|id=createItem}} | ||
+ | ;武器预载模板:{{anchor|<code>{{tpl|createWeaponItem}}</code>|id=createWeaponItem}} | ||
+ | ;盾牌预载模板:{{anchor|<code>{{tpl|createShieldItem}}</code>|id=createShieldItem}} | ||
+ | ;弹药预载模板:{{anchor|<code>{{tpl|createAmmoItem}}</code>|id=createAmmoItem}} | ||
+ | ;头盔预载模板:{{anchor|<code>{{tpl|createHelmetItem}}</code>|id=createHelmetItem}} | ||
+ | ;护甲预载模板:{{anchor|<code>{{tpl|createArmorItem}}</code>|id=createArmorItem}} | ||
+ | ;鞋靴预载模板:{{anchor|<code>{{tpl|createBootItem}}</code>|id=createBootItem}} | ||
+ | ;异种防具预载模板:{{anchor|<code>{{tpl|createExoticArmourItem}}</code>|id=createExoticArmourItem}} | ||
+ | ;饰品预载模板:{{anchor|<code>{{tpl|createAccessoryItem}}</code>|id=createAccessoryItem}} | ||
+ | |tpl | ||
+ | |tip=预载}} | ||
+ | |- | ||
+ | |<span class="hidden">预载</span> | ||
+ | {{quarter| | ||
+ | ;玩家角色预载模板:{{anchor|<code>{{tpl|createPlayer}}</code>|id=createPlayer}} | ||
+ | ;生物预载模板:{{anchor|<code>{{tpl|createCreature}}</code>|id=createCreature}} | ||
+ | ---- | ||
+ | ;玩家角色/生物附加资料的预载模板:{{anchor|<code>{{tpl|createCharExpandInfo}}</code>|id=createCharExpandInfo}} | ||
+ | |tpl | ||
+ | |tip=预载}} | ||
+ | |- | ||
+ | |<span class="hidden">预载</span> | ||
+ | {{quarter| | ||
+ | ;新模板预载模板:{{anchor|<code>{{tpl|createTemplate}}</code>|id=createTemplate}} | ||
+ | |tpl | ||
+ | |tip=预载}} | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |