Template:IDs
Due to the sensitive nature of this template or the fact that it is used on a large number of pages, it has been semi-protected to prevent site-wide damage by vandal bots. Editors: In order to minimize the impact on our servers, please use sandboxes to make and test changes to widely used templates before deployment. For more information, please see this article's talk page. |
Summary
This formats multiple IDs with a consistent style for the ID, while leaving the separator unformatted by default, or formatted differently if formatting is included with the sep parameter.
Parameters
Parameter | Scope | Description |
---|---|---|
sep | optional | The separator to use (defaults to ", "). |
hover | optional | If specified, unnamed parameters come in pairs with the first one being the ID and the second one being the hover text; otherwise, each unnamed parameter should be an ID. |
par | optional | This will be passed down to the individual IDs, and each will be enclosed in parentheses. |
addbefore | optional | This text appears before the list of IDs (using the idall style), but does not count as an ID itself. Useful for adding appropriately sized parentheses around an entire list, or introductory text. |
addafter | optional | This text appears after the list of IDs (using the idall style), but does not count as an ID itself. Useful for adding appropriately sized parentheses around an entire list, or trailing text. |
Examples
Normal
{{IDs|00012345|xx06789a}}
00012345, xx06789a
Hovers
{{IDs|00000007|Player FormID|00000014|Player RefID|hover=1}}
00000007, 00000014