编辑“︁
Template:Inflation/fn/doc
”︁
跳转到导航
跳转到搜索
这是
Inflation/fn
模板的
文档页面
。
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
{{documentation subpage}} {{High-use}} Provides standard article footnotes for documenting the source of the inflated prices calculated by {{tlx|Inflation}}. == Usage == {{tlx|Inflation/fn}} {{tlx|Inflation/fn|''index''}} {{tlx|Inflation/fn|''index''|3=group=''groupname''}} When the '''index''' parameter is provided, a footnote about that specific data set is generated. The index codes are the same as those used by {{tlx|Inflation}}: * {{tlx|Inflation/fn|AU}} = {{Inflation/fn|AU}} ** {{tlx|Inflation/fn|AU-road}} = {{Inflation/fn|AU-road}} * {{tlx|Inflation/fn|CA}} = {{Inflation/fn|CA}} * {{tlx|Inflation/fn|DE}} = {{Inflation/fn|DE}} * {{tlx|Inflation/fn|JP}} = {{Inflation/fn|JP}} * {{tlx|Inflation/fn|UK}} = {{Inflation/fn|UK}} ** {{tlx|Inflation/fn|UK-GDP}} = {{Inflation/fn|UK-GDP}} * {{tlx|Inflation/fn|US}} = {{Inflation/fn|US}} ** {{tlx|Inflation/fn|US-GDP}} = {{Inflation/fn|US-GDP}} When '''no''' <code>index</code> parameter is provided, or when an invalid index is provided, a generic footnote is generated with an error: * {{tlx|Inflation/fn}} = {{Inflation/fn}} * {{tlx|Inflation/fn|xyz}} = {{Inflation/fn|xyz}} This is the reference list generated by the above examples: {{reflist|33em}} Anchor names produced are based on the index parameter, or its lack thereof. As a result, the same {{tlx|Inflation/fn|index}} code can be used many times in the same article while generating only one actual footnote per index code. ===Reference grouping=== If it is desired to place the footnote into a [[WP:REFGROUP|reference group]] other than the default, the {{para|group}} parameter may be used: * {{tlx|Inflation/fn|UK|3=group=nb}} = {{Inflation/fn|UK|group=nb}} {{reflist|group=nb}} '''NB''' to group the footnote with other footnotes rather than references, ({{tl|notelist}}), use {{para|group|lower-alpha}} See the [[Template:Inflation#Referencing|related section]] at {{tl|Inflation}} for additional instructions and examples. ===Date format=== Where the ''country'' is either <code>CA</code> or <code>US</code>, the generated reference includes the retrieval date of the data, which is shown in month-first (MDY) format. For <code>US</code> only, this may be altered to day-first (DMY) format by adding {{para|df|yes}}. This must be done each time the template is called in an article, or there will be an error message in the reference list. * {{tlx|Inflation/fn|US|3=df=yes}} = {{Inflation/fn|US|df=yes}} {{reflist|close=1}} ===Citation format=== The citations for several indexes use {{tl|cite web}} as a base template. This means the footnotes are output using [[Help:Citation Style 1|Citation Style 1]] (CS1) as a default. One (<code>IN</code>) uses {{tl|citation}} as a base template, resulting in [[Help:Citation Style 2|Citation Style 2]] (CS2) as a default. To switch between these, use {{para|mode|cs1}} or {{para|mode|cs2}} as appropriate. This must be done each time the template is called in an article, or there will be an error message in the reference list. *{{tlx|Inflation/fn|US|3=mode=cs2}} = {{Inflation/fn|US|mode=cs2}} *{{tlx|Inflation/fn|JP|3=mode=cs1}} = {{Inflation/fn|JP|mode=cs1}} {{reflist|close=1}} ===Name list styles=== This template supports {{para|name-list-style}} to promote consistency with other citations in an article. *{{tlx|Inflation/fn|US-GDP|3=name-list-style=amp}} = {{Inflation/fn|US-GDP|name-list-style=amp}} {{reflist|}} == 參見 == * {{tl|Inflation}} * {{tl|Inflation/year}} * {{tl|Format price}} * [[Help:Footnotes]] <includeonly>{{Sandbox other|| <!--Categories below this line, please; interwikis at Wikidata--> [[Category:經濟格式功能模板]] <!-- [[Category:Finance formatting and function templates]] --> [[Category:美国经济模板]] [[Category:生成命名引用的模板]] }}</includeonly>
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
模板
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息