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
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
==Usage==
==Usage==
It accepts a {{Parameter|mandatory|integer}}, the issue number.
It accepts a {{Parameter|mandatory|integer}}, the issue number.
It has a second {{Parameter|optional}}, that alters the behavior if set to {{Code|inline}}.
==Returns==
==Returns==
{{Code|<nowiki>Some text{{Issue|1}} here.</nowiki>}} returns: {{Return|Some text{{Issue|1}} here.}} ...and... {{Return|<references group="git" />}}
The basic behavior creates a foot note. {{Code|<nowiki>Some text{{Issue|1}} here.</nowiki>}} returns: {{Return|Some text{{Issue|1}} here.}} ...and... {{Return|<references group="git" />}}
If the second parameter is {{Code|inline}}, such as {{Code|<nowiki>It looks like {{Issue|1|inline}} insted.</nowiki>}}, it returns: {{Return|It looks like {{Issue|1|inline}} instead.}}

Latest revision as of 03:12, 3 December 2023

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

Usage

It accepts a mandatory integer parameter, the issue number.

It has a second optional parameter, that alters the behavior if set to inline.

Returns

The basic behavior creates a foot note. Some text{{Issue|1}} here. returns:

Some text[git 1] here.

...and...

If the second parameter is inline, such as It looks like {{Issue|1|inline}} insted., it returns:

It looks like GitHub Issue #1 instead.