Template:ID: Difference between revisions
mNo edit summary |
VibranceBot (talk | contribs) m (use Template:sup) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><span style="font-family: | <noinclude> | ||
{{Documentation/sandbox|doc = | |||
Template for IDs for consistent formatting. Applies consolas font for better readability. | |||
==Usage== | |||
===Parameters=== | |||
;<code>1</code> {{sup|required}} | |||
:ID to be formatted. | |||
==Examples== | |||
*{{tll|ID|Base.BaseballBat}} | |||
Base.BaseballBat -> {{ID|Base.BaseballBat}} | |||
*{{tll|ID|farming.Potato}} | |||
farming.Potato -> {{ID|farming.Potato}} | |||
*{{tll|ID|Base.CarStationWagon2}} | |||
Base.CarStationWagon2 -> {{ID|Base.CarStationWagon2}} | |||
{{Translation guide}} | |||
}} | |||
{{ll|Category:Templates}} | |||
</noinclude><includeonly><span style="font-family: Consolas, Menlo, Monaco, Lucida Console, Monospace; font-size: 90%;">{{{1}}}</span></includeonly> |
Latest revision as of 04:42, 8 January 2024
Template for IDs for consistent formatting. Applies consolas font for better readability.
Usage
Parameters
1
Required- ID to be formatted.
Examples
{{ID|Base.BaseballBat}}
Base.BaseballBat -> Base.BaseballBat
{{ID|farming.Potato}}
farming.Potato -> farming.Potato
{{ID|Base.CarStationWagon2}}
Base.CarStationWagon2 -> Base.CarStationWagon2
How to translate
This template doesn't need to/shouldn't be translated, but you can translate the documentation of this template with the following steps:
- Create a subpage of this template with the language code of the language you want to translate to.
- Copy the code wrapped in the
<noinclude>
tag in this template into the page you created.{{Translation guide}}
template should be removed from the translated documentation.
- Translate the page according to the translation requirements of normal pages.