(Created page with "{{Template|src}} is used to create sourcebook references. ==Usage== It accepts one {{Parameter|mandatory|string}}, a sourcebook abbreviation. Valid options are listed in Template:src/Abbreviations. ==Return==") |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Template|src}} is used to create sourcebook references. | {{Template|src}} is used to create sourcebook references. | ||
==Usage== | ==Usage== | ||
It accepts one {{Parameter|mandatory|string}} | It accepts one {{Parameter|mandatory|string}} and one {{Parameter|optional|string}} | ||
* {{Code|1}} is a sourcebook abbreviation; valid options are listed in [[Template:src/Abbreviations]]. | |||
* {{Code|2}} is a page reference, typically a single integer or a range. | |||
==Return== | ==Return== | ||
{{Code|<nowiki>{{src|sr5}}</nowiki>}} returns: {{Return|{{src|sr5}}}} | |||
{{Code|<nowiki>{{src|sr5|404}}</nowiki>}} returns: {{Return|{{src|sr5|404}}}} | |||
Revision as of 14:20, 23 October 2022
Template:src is used to create sourcebook references.
Usage
It accepts one mandatory string parameter and one optional string parameter
1is a sourcebook abbreviation; valid options are listed in Template:src/Abbreviations.2is a page reference, typically a single integer or a range.
Return
{{src|sr5}} returns:
{{src|sr5|404}} returns:
