Template:Trim ID
Template page
More actions
| This template uses Lua: |
This template will take an ID or reference number that is comprised of parts or levels separated by forward-slashes and trim the final value. It is used by {{Scottish document}} to display the NRS collection that a document is included in, if applicable.
Usage
For instance, {{Trim ID|GD305/1/123}} returns GD305/1.