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:Issue/Documentation: Difference between revisions

No edit summary
No edit summary
Line 6: Line 6:
{{Code|<nowiki>Some text{{Issue|1}} here.</nowiki>}} returns: {{Return|Some text{{Issue|1}} here.}} ...and... {{Return|<references group="git" />}}
{{Code|<nowiki>Some text{{Issue|1}} here.</nowiki>}} returns: {{Return|Some text{{Issue|1}} here.}} ...and... {{Return|<references group="git" />}}
==Note==
==Note==
In order for a parameter to appear in a {{Code|<nowiki><ref></nowiki>}}, it must be wrapped in a {{Code|<nowiki>{{#var}}</nowiki>}} statement, or the input won't be processed until ''after'' the reference tag is generated.
In order for a parameter to appear in a {{Code|<nowiki><ref></nowiki>}}, it must be wrapped in a {{Code|<nowiki>{{#var}}</nowiki>}} statement, or the input won't be processed until ''after'' the reference tag is generated. That same variable is leveraged by {{Template|References}} to determine wether or not it should generate reference sections.

Revision as of 03:00, 22 November 2023

Template:Issue categorizes articles with open issues on the system GitHub.

Usage

It accepts a mandatory integer parameter, the issue number.

Returns

Some text{{Issue|1}} here. returns:

Some text[git 1] here.

...and...

Note

In order for a parameter to appear in a <ref>, it must be wrapped in a {{#var}} statement, or the input won't be processed until after the reference tag is generated. That same variable is leveraged by Template:References to determine wether or not it should generate reference sections.