Template:Using X: Difference between revisions
Template page
More actions
m +examp |
m +link |
||
| Line 1: | Line 1: | ||
<onlyinclude><sup title="{{{title|{{{lang|{{{langshort}}}}}}}}}" style="display: inline-block; background-color: {{{background-color|#000}}}; font-family: monospace; font-weight: bold; font-style: italic; margin: 0px 1px; padding: 0px 3px; border: 1px solid {{{border-color|#fff}}}; box-shadow: 1px 1px 2px {{{shadow-color|#000}}}; color:{{{font-color|#fff}}}; cursor:default">{{{langshort}}}</sup></onlyinclude> | <onlyinclude><sup title="{{{title|{{{lang|{{{langshort}}}}}}}}}" style="display: inline-block; background-color: {{{background-color|#000}}}; font-family: monospace; font-weight: bold; font-style: italic; margin: 0px 1px; padding: 0px 3px; border: 1px solid {{{border-color|#fff}}}; box-shadow: 1px 1px 2px {{{shadow-color|#000}}}; color:{{{font-color|#fff}}}; cursor:default">{{{langshort}}}</sup></onlyinclude> | ||
{{Using X|langshort={{int:lang}}}} | |||
{{Using JavaScript}} | {{Using JavaScript}} | ||
{{Using LUA}} | {{Using LUA}} | ||
{{Using CSS}} | {{Using CSS}} | ||
{{Using X|langshort=Es|background-color=#F88}} | |||
{{documentation}} | {{documentation}} | ||
Latest revision as of 17:10, 2 February 2021
{{{langshort}}}
en JS LUA CSS Es
This documentation is transcluded from Template:Using X/doc.
This is the base meta-template used by {{Using CSS}}, {{Using JavaScript}}, and {{Using LUA}}. It renders a small superscript badge with a short label and language tooltip.
Parameters
langshort- short label shown inside the badge (e.g. CSS, JS, LUA)
title- tooltip text (long-form language name)
background-color,border-color,font-color,shadow-color- styling
Examples
- {{Using CSS}}: CSS
- {{Using JavaScript}}: JS
- {{Using LUA}}: LUA