打开/关闭搜索
搜索
打开/关闭菜单
331
1.7K
131
11.8K
星露谷物语扩展百科
导航
首页
最近更改
随机页面
交流群
互通站
上传文件
打开/关闭外观设置菜单
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
创建账号
登录
查看“︁模板:Season”︁的源代码
来自星露谷物语扩展百科
更多语言
查看
阅读
查看源代码
查看历史
associated-pages
模板
讨论
更多操作
←
模板:Season
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:已验证邮箱用户
您必须确认您的电子邮件地址才能编辑页面。请通过
参数设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
<includeonly><!-- // Define the allowed values, with handling for various quirks/oddities. // First column=icon name -> same in all languages // Second column=link (wiki page) name, generally same as displayed text -> needs translation // All other values are synonyms // Marriage, Deviations are for sake of NPC schedule sections (and translations) // For 'All Seasons' case, display text doesn't match icon or wiki-link, so // define default display text in $lang_allseasons, with parameter allowing any other preferred value -->{{ParseInputValues|code=season|| ,All Seasons Icon, 季节,一年四季,All Seasons,All,Seasons,所有季节, Any, Always, Any Season, ,Spring, 春季, ,Summer, 夏季, ,Fall, 秋季, Autumn, ,Winter, 冬季, ,Mermaid's Pendant, 婚后, Marriage,婚姻, ,Deviations, 例外 }}{{#arraydefine:$lang_allseasons | 一年四季 }}<!-- // END OF translated text // Check whether there's already a file link in {{{1}}}... implying this is probably a recursive call. Return immediately -->{{#if:{{#pos:{{{1|}}}|{{Bracket|2}}File}}|{{{1}}}|<!-- // Parse input data, then loop over all extracted entries -->{{#arraydefine:$sseason|{{ParseInputValues|{{{1|}}}|code=season|default=true}}}}<!-- -->{{#arrayprint:$sseason||@season@|<!-- // Convert @season@ (icon name) into translated page name -->{{#arraydefine:$slink_text|{{ParseInputValues|code=season|@season@|translate=true}}}}<!-- // Wrap a sort-key span around all items if requested. On other entries, add {{{space}}} or bullet. -->{{#ifexpr:{{#arraysearch:$sseason|@season@}}>0 |{{{space| • }}} |{{#ifexpr:{{#if:{{{sortkey|}}}|1|0}} or {{#ifeq:{{{sortkey}}}||1|0}} |<span data-sort-value="{{#ifeq:{{{sortkey}}}|||{{#ifeq:{{{sortkey|true}}}|true |{{#expr:{{#if:{{#arrayprint:$slink_text}} |({{ParseInputValues|code=season|@season@|translate=index}}+1)*100 |0}}{{#iferror:{{#expr:{{{2|0}}}>0}}|| + {{{2|0}}}}}}} |{{{sortkey|}}}}}}}"> }}}}<span style="display:inline; margin-right:0; white-space: nowrap"><!-- // Display the non-icon, non-linkable cases: Deviations, and unmatched text (detected by empty link_text) // This is also where text_only option is handled -->{{#ifeq:{{#arrayprint:$slink_text}}| | {{ucfirst:@season@}} | {{#ifexpr: {{#ifeq:@season@|Deviations|1|0}} or {{#if:{{{text_only|}}}|1|0}} | {{#if:{{{no_translate|}}} |{{#ifeq:@season@|All Seasons Icon|All|@season@}} |{{#ifeq:@season@|All Seasons Icon|{{#arrayprint:$lang_allseasons}}|{{#arrayprint:$slink_text}}}}}} |<!-- // Display the normal cases: first display icon -->[[File:@season@.png| {{#if:{{{size|}}}|{{{size}}}px|{{{width|24px}}}}} | link={{#arrayprint:$slink_text}} | alt=]] <!-- // Add day if provided -->{{#if:{{{2|}}}|{{{2}}} }}<!-- // Add link, with special treatment for text of All Seasons -->[[{{#arrayprint:$slink_text}}|<!-- -->{{#ifeq:@season@|All Seasons Icon |{{#if:{{{all|}}}|{{{all|}}}|{{#arrayprint:$lang_allseasons}}}} |{{#arrayprint:$slink_text}}}}]]<!-- -->}}}}</span>}}<!-- -->{{#ifexpr:{{#if:{{{sortkey|}}}|1|0}} or {{#ifeq:{{{sortkey}}}||1|0}}|</span>}} }}</includeonly><noinclude>{{Englishdoc}}</noinclude>
该页面嵌入的页面:
模板:Documentation
(
查看源代码
)
模板:Documentation header
(
查看源代码
)
模板:Season
(
查看源代码
)
模板:Season/doc
(
查看源代码
)
模块:Documentation
(
查看源代码
)
模块:Documentation/styles.css
(
查看源代码
)
模块:ProcessArgs
(
查看源代码
)
模块:STConversion
(
查看源代码
)
模块:Static
(
查看源代码
)
模块:TSLoader
(
查看源代码
)
返回
模板:Season
。
查看“︁模板:Season”︁的源代码
来自星露谷物语扩展百科