Template:References: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
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__
Adds a references section, and optionally, an <code>As of patch inline</code> ambox if the first parameter is specified.<ref>According to '''''egocarib'''''.</ref>
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 ==
== Usage ==

Revision as of 20:10, 13 November 2020


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.
  1. According to egocarib.