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

No edit summary
Tag: Manual revert
No edit summary
Tag: Reverted
Line 5: Line 5:
==Returns==
==Returns==
{{Code|<nowiki>Some text{{Explain|Why should I have to explain anything?}} here.</nowiki>}} returns: {{Return|Some text{{Explain|Why should I have to explain anything?}} here.}} ...and... {{Return|<references group="explain" />}}
{{Code|<nowiki>Some text{{Explain|Why should I have to explain anything?}} here.</nowiki>}} returns: {{Return|Some text{{Explain|Why should I have to explain anything?}} here.}} ...and... {{Return|<references group="explain" />}}
==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.

Revision as of 02:28, 22 November 2023

Template:Explain categorizes articles in need of clarification.

Usage

It accepts a mandatory string parameter, the question in need of answering.

Returns

Some text{{Explain|Why should I have to explain anything?}} here. returns:

Some text[explain 1] here.

...and...

  1. Why should I have to explain anything?

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.