Anonymous
×
Create a new article
Write your page title here:
We currently have 55 articles on SR5 Foundry VTT System Wiki. Type your article name above or click on one of the titles below and start writing!



SR5 Foundry VTT System Wiki

Template:References: Difference between revisions

No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation}}
{{Documentation}}
<includeonly><onlyinclude>{{#if:{{#var:explain}}{{#var:git}}{{#var:source}}|<h2 style="clear:both;">References</h2>}}{{#if:{{#var:explain}}|<h3>Explaination Needed</h3><references group="explain" />}}{{#if:{{#var:git}}|<h3>GitHub Issues</h3><references group="git" />}}{{#if:{{#var:source}}|<h3>Sourcebook</h3><references group="source" />}}</onlyinclude></includeonly>
<includeonly><onlyinclude>{{#if:{{#var:explain}}{{#var:git}}{{#var:sr}}|<h2 style="clear:{{{clear|both}}};">References</h2>}}{{#if:{{#var:explain}}|<h3>Explanation Needed</h3><references group="explain" />}}{{#if:{{#var:git}}|<h3>GitHub Issues</h3><references group="git" />}}{{#if:{{#var:sr}}|<h3>Sourcebook</h3><references group="sr" />}}</onlyinclude></includeonly>

Latest revision as of 19:49, 22 January 2024

Template:References

Template:References creates an auto-populating reference section at the bottom of each article page. It should be the very last item on pretty much every article in the Main namespace.

Usage

It relies on the presence of specific {{#var}} declarations in related Reference Templates.

It accepts one optional named parameter, clear (default: both), which controls how/if it uses the CSS clear property. If supplied, it should be one of left, right, or none.

Returns

As it relies on the contents of other pages, no example is provided.

The documentation above was transcluded from Template:References/Documentation.