Lou Montana/Sandbox – User

From Bohemia Interactive Community
< User:Lou Montana
Revision as of 18:26, 27 February 2021 by Lou Montana (talk | contribs) (Add width argument, add link)
Jump to navigation Jump to search

Template Icon2 - should appear inline LOCAL
ARGUMENT
when in a paragraph.

Usage

{{Icon2|firstWord|secondWord|secondLetterColor|width=|link=}}

  • firstWord: first letter word, e.g "argument"
  • secondWord: second letter word, e.g "local"
  • firstLetterColor: (Optional, default blue) CSS color
  • width: (Optional, default 64) width in pixels
  • link: (Optional, default empty) icon link
Examples
Code Result
{{Icon2}} -no arguments provided-
{{Icon2|local|argument|blue}} LOCAL
ARGUMENT
{{Icon2|N/A|argument|grey}} N/A
ARGUMENT
{{Icon2|global|argument|darkorange}} GLOBAL
ARGUMENT
{{Icon2|local|effect|blue}} LOCAL
EFFECT
{{Icon2|N/A|effect|grey}} N/A
EFFECT
{{Icon2|global|effect|darkorange}} GLOBAL
EFFECT
{{Icon2|server|execution|green}} SERVER
EXECUTION
{{Icon2|server|execution|green|width=128}} SERVER
EXECUTION
{{Icon2|server|execution|green|link=Multiplayer Scripting}} SERVER
EXECUTION
{{Icon2|server|execution|green|width=128|link=Multiplayer Scripting}} SERVER
EXECUTION