Template:Using X: Difference between revisions
Template page
More actions
m changing cursor |
m +examp |
||
| 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 JavaScript}} | |||
{{Using LUA}} | |||
{{Using CSS}} | |||
{{documentation}} | {{documentation}} | ||
Revision as of 17:06, 2 February 2021
{{{langshort}}}
JS LUA CSS
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