1,979
edits
(doc) |
(fixed) |
||
Line 1: | Line 1: | ||
Outputs the Discord tag or username for a user. The link is pulled (via [[Special:CargoTables/users|Cargo]]) from that user's infobox. | Outputs the Discord tag or username for a user. The link is pulled (via [[Special:CargoTables/users|Cargo]]) from that user's infobox. | ||
Usage: <code>{{Discord tag|''name or Discord ID''}}</code> | Usage: <code>{{Discord tag|''name or Discord ID''}}</code> | ||
Example: <code><nowiki>{{Discord tag| | Example: <code><nowiki>{{Discord tag|955229594842185758}}</nowiki></code> (which is [[Cmonster]]'s ID) outputs: {{Discord tag|955229594842185758}} | ||
Using an ID is recommended, as names are more likely to change. If using a name, it must match the name at the very top of the infobox. If using an ID, it must match the first ID in the Discord ID field of the infobox. | Using an ID is recommended, as names are more likely to change. If using a name, it must match the name at the very top of the infobox. If using an ID, it must match the first ID in the Discord ID field of the infobox. | ||
Line 16: | Line 14: | ||
"label": "User", | "label": "User", | ||
"description": "The name or Discord ID of the user. ID is recommended, as names are more likely to change. If using a name, it must match the name at the very top of the infobox. If using an ID, it must match the first ID in the Discord ID field of the infobox.", | "description": "The name or Discord ID of the user. ID is recommended, as names are more likely to change. If using a name, it must match the name at the very top of the infobox. If using an ID, it must match the first ID in the Discord ID field of the infobox.", | ||
"example": " | "example": "955229594842185758", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
Line 26: | Line 24: | ||
} | } | ||
}, | }, | ||
"description": "Outputs the Discord tag or username for a user. The tag is pulled | "description": "Outputs the Discord tag or username for a user. The tag is pulled from the Discord tag field of that user's infobox." | ||
} | } | ||
</templatedata> | </templatedata> |