「Template:Season」修訂間的差異

出自Stardew Valley Wiki
跳至導覽 跳至搜尋
(sync with english template)
(sync with english template)
行 33: 行 33:
 
    | • 
 
    | • 
 
    |{{#if:{{{sortkey|}}}|
 
    |{{#if:{{{sortkey|}}}|
      <span class="sortkey" style="display:none;">{{#if:{{#arrayprint:$slink_text}}
+
      <span class="sortkey" style="display:none;">{{#expr:
  |{{#expr:{{ParseInputValues|code=season|@season@|translate=index}}+1}}
+
      {{#if:{{#arrayprint:$slink_text}}
  |0}}</span>
+
       |({{ParseInputValues|code=season|@season@|translate=index}}+1)*100
 +
   |0}}
 +
      {{#iferror:{{#expr:{{{2|0}}}>0}}|| + {{{2|0}}}}}}}</span>
 
   }}}}<span style="display:inline; margin-right:0; white-space: nowrap"><!--
 
   }}}}<span style="display:inline; margin-right:0; white-space: nowrap"><!--
  

於 2020年10月21日 (三) 22:53 的修訂

有關此模板的詳細信息,請參閱英語語言文檔頁

用法

可以通過在相關頁面上輸入以下內容來使用此模板。

{{Season}}

結果是... Template:ParseInputValues[[File:Template:ParseInputValues.png|

    24px | link=Template:ParseInputValues | alt=]] [[Template:ParseInputValues|Template:ParseInputValues]]