Mr. Johnson (talk | contribs) No edit summary Tag: Manual revert |
Mr. Johnson (talk | contribs) 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...
- ↑ 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.