Difference between revisions of "Template:ROSicon quote/doc"

From Railway Operation Simulator Wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{template shortcut|ros-q|rosq}} This is a template for easier presentation...")
 
(No difference)

Latest revision as of 19:52, 15 March 2022

Lua error in package.lua at line 80: module 'strict' not found.

This is a template for easier presentation of ROS map icon images

Parameters

  1. Icon ID. See project:RDT#Pictograms for naming convention of the icons and project:RDT/C for the list of icons.
  2. Show (default) the icon ID (inside the parentheses) or not show (no or 0) the text at all.
  3. Icon size in the format xnpx; 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