Template:Cite file:修订间差异

(merge from offical wiki)
 
无编辑摘要
 
第1行: 第1行:
<includeonly><code class="filename">{{{1}}}</code> {{#if:{{{2|}}}|({{{2}}})|}}</includeonly><noinclude>
<includeonly><code class="filename">{{{1}}}</code>{{#if:{{{2|}}}|&#32;({{{2}}})|}}</includeonly><noinclude>


Template for citing game files, typically in a <nowiki><ref></ref></nowiki> block.
Template for citing game files, typically in a <nowiki><ref></ref></nowiki> block.

2020年11月16日 (一) 12:15的最新版本


Template for citing game files, typically in a <ref></ref> block.

Parameters[编辑源代码]

  • The first parameter is a filename.
  • The second (optional) parameter helps identify a part of the file, such as a decision name or event ID.

Examples[编辑源代码]

  • {{cite file|common/decisions/00_guest_decisions.txt}} produces
    • common/decisions/00_guest_decisions.txt
  • {{cite file|common/decisions/00_guest_decisions.txt|invite_claimants_decision}} produces
    • common/decisions/00_guest_decisions.txt (invite_claimants_decision)