« Modèle:DLC ID » : différence entre les versions
mAucun résumé des modifications |
mAucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
<includeonly><onlyinclude><span | <includeonly><onlyinclude><span style="font-family:monospace;">{{Infobulle|xx|Les deux premiers chiffres de cette ID varient selon les addons et mods installés. Cliquez ici pour plus de détails.|Aide:Les IDs et les Add-ons}}{{lc:{{padleft:{{#sub:{{{1|}}}|-6|6}}|6|0}}}}</span></onlyinclude></includeonly> {{Documentation}} [[Catégorie:Modèles de formatage]] |
Version du 29 juillet 2021 à 09:05
Template for Form IDs from add-ons to explain "xx123456" ID format. Turns the "xx" into a link to Help:Form IDs and displays a small tooltip when moving the mouse over it. Applies monospace font and converts letters into lower case for better readability.
For IDs from the base game (i.e. those starting with "00"), use {{ID}}.
Usage
{{DLC ID|123456}}
Longer IDs will be trimmed accordingly, shorter ids will be padded with zeros.
Examples
{{DLC ID|1234567890}}
results in: xx567890
{{DLC ID|12A3}}
results in: xx0012a3