Template:References: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>== References == {{#if:{{{1|}}}|{{As of patch inline|{{{1}}}}}}}<references /></includeonly><noinclude> Adds a references section, and optionally, an <code>As of...") |
(Added "see also" links) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>== References == | <includeonly>== References == | ||
{{#if:{{{1|}}}|{{As of patch inline|{{{1}}}}}}}<references /></includeonly><noinclude> | {{#if:{{{1|}}}|{{As of patch inline|{{{1}}}}}}}<references /></includeonly><noinclude> | ||
__NOTOC__ | |||
Stubs out a references section for a page, and optionally, adds an <code>As of patch inline</code> ambox if the first parameter is specified.<ref>According to '''''egocarib'''''.</ref> | |||
== Usage == | |||
===Option 1 (no patch info)=== | |||
<code><nowiki>{{references}}</nowiki></code> | |||
Results in this code: | |||
<pre> | |||
== References == | |||
<references /> | |||
</pre> | |||
===Option 2 (patch info)=== | |||
<code><nowiki>{{references|2.0.201.49}}</nowiki></code> | |||
Results in this code: | |||
<pre> | |||
== References == | |||
{{as of patch inline|2.0.201.49}} | |||
<references /> | |||
</pre> | |||
===Example rendered output of option 2:=== | |||
{{references|2.0.201.49}} | |||
== See Also == | |||
* [[Template:Code Reference]] | |||
* [[Template:File Reference]] | |||
* [[Template:XML Reference]] | |||
</noinclude> | </noinclude> |
Latest revision as of 20:57, 5 June 2022
Stubs out a references section for a page, and optionally, adds an As of patch inline
ambox if the first parameter is specified.[1]
Usage
Option 1 (no patch info)
{{references}}
Results in this code:
== References == <references />
Option 2 (patch info)
{{references|2.0.201.49}}
Results in this code:
== References == {{as of patch inline|2.0.201.49}} <references />
Example rendered output of option 2:
References
This information is reliable as of patch 2.0.201.49. |
This information is reliable as of patch 2.0.201.49.
- ↑ According to egocarib.
See Also