Difference between revisions of "Template:ROSicon quote"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <includeonly>{{nowrap|[[File:ROSicon {{1|obsolete}}.svg|{{#if:{{{3|}}}|{{{3}}}|x20}}px|border| |class=noviewer]]{{#switch:{{{2}}} | + | <includeonly>{{nowrap|[[File:ROSicon {{{1|obsolete}}}.svg|{{#if:{{{3|}}}|{{{3}}}|x20}}px|border| |class=noviewer]]{{#switch:{{{2}}} |
| no | 0 = | | no | 0 = | ||
| #default = (<code style="color:blue">'''{{#if:{{{alt|}}}|{{{alt}}}|{{{1|icon name undefined}}}}}'''</code>) | | #default = (<code style="color:blue">'''{{#if:{{{alt|}}}|{{{alt}}}|{{{1|icon name undefined}}}}}'''</code>) |
Revision as of 21:09, 16 March 2022
This is a template for easier presentation of ROS map icon images
Parameters
- Icon ID. See project:RDT#Pictograms for naming convention of the icons and project:RDT/C for the list of icons.
- Show (default) the icon ID (inside the parentheses) or not show (no or 0) the text at all.
- Icon size in the format
x
npx
; x20px (20 pixels high) by default.
- alt: alternative name of the text shown in the parentheses. Useful for displaying temporary file with the intended file name to be substituted.
Examples
This code: | generates this result: |
{{bs-q|BHF}} | Template:Bs-q |
{{bs-q|KRX|0}} or {{bs-q|KRX|no}} |
Template:Bs-q |
{{bs-q|SBHF danmark||x40px}} | Template:Bs-q |
{{bs-q|leer|alt=Icon with alternate text}} | Template:Bs-q |