Difference between revisions of "Template:LCD/doc"
m |
|||
Line 5: | Line 5: | ||
bgcolor=#00FF00| | bgcolor=#00FF00| | ||
line1=<MegaDrum.info ;>| | line1=<MegaDrum.info ;>| | ||
− | line2=(c)D.Skachkov | + | line2=(c)D.Skachkov{{nbsp|2}}♦| |
caption=MegaDrum copyright screen and contrast adjust | caption=MegaDrum copyright screen and contrast adjust | ||
}} | }} | ||
Line 15: | Line 15: | ||
bgcolor=#00FF00| | bgcolor=#00FF00| | ||
line1=<MegaDrum.info >| | line1=<MegaDrum.info >| | ||
− | line2=(c)D.Skachkov | + | line2=(c)D.Skachkov{{nbsp|2}}♦| |
caption=MegaDrum copyright screen and contrast adjust | caption=MegaDrum copyright screen and contrast adjust | ||
}} | }} | ||
+ | |||
+ | As you can see, there is 2 lines, 16 characters in each. This mimics the type of LCD currently used with MegaDrum. | ||
The format of the template is self-explanatory. Any parameter can be omitted. Defaults are: black characters on green background. The default text is the copyright screen and default caption is "MegaDrum display". Observe the main template to see how it looks. | The format of the template is self-explanatory. Any parameter can be omitted. Defaults are: black characters on green background. The default text is the copyright screen and default caption is "MegaDrum display". Observe the main template to see how it looks. | ||
− | '''A note on text formatting: Please note that if a line contains more than a single whitespace character you will need to | + | '''A note on text formatting: Please note that if a line contains more than a single whitespace character you will need to use the Nbsp template. For example, let's say you need 5 consecutive space characters in a string. You would write this as:''' |
+ | |||
+ | <pre> | ||
+ | {{nbsp|5}} | ||
+ | </pre> | ||
+ | |||
+ | Please consult the [[Template:Nbsp|documentation]] for more information. | ||
− | Also consider using &lt; for the "<" character and "&gt;" for the ">" character. | + | '''Also consider using &lt; for the "<" character and "&gt;" for the ">" character.''' |
Here's another example. Note that I used a different color/bgcolor here. You can also use standard RGB color representations such as #00FF00. | Here's another example. Note that I used a different color/bgcolor here. You can also use standard RGB color representations such as #00FF00. | ||
Line 50: | Line 58: | ||
color=white| | color=white| | ||
bgcolor=blue| | bgcolor=blue| | ||
− | line1=&lt;CustomCurve1 | + | line1=&lt;CustomCurve1{{nbsp|2}}&gt;| |
− | line2=P1: | + | line2=P1:{{nbsp|11}}2♦| |
caption=Custom curve '''CustomCurve1''' point '''P1''' value | caption=Custom curve '''CustomCurve1''' point '''P1''' value | ||
}} | }} | ||
Line 60: | Line 68: | ||
color=white| | color=white| | ||
bgcolor=blue| | bgcolor=blue| | ||
− | line1=<CustomCurve1 | + | line1=<CustomCurve1{{nbsp|2}}>| |
− | line2=P1: | + | line2=P1:{{nbsp|11}}2♦| |
caption=Custom curve '''CustomCurve1''' point '''P1''' value | caption=Custom curve '''CustomCurve1''' point '''P1''' value | ||
}} | }} | ||
− | |||
− |
Revision as of 20:50, 27 June 2010
This template is used to illustrate various MegaDrum settings that a user can observe on the LCD screen. Here's how it works in a nutshell: you write the following code:
{{LCD| color=black| bgcolor=#00FF00| line1=<MegaDrum.info ;>| line2=(c)D.Skachkov{{nbsp|2}}♦| caption=MegaDrum copyright screen and contrast adjust }}
Ang get this result:
<MegaDrum.info > |
(c)D.Skachkov ♦ |
MegaDrum copyright screen and contrast adjust
As you can see, there is 2 lines, 16 characters in each. This mimics the type of LCD currently used with MegaDrum.
The format of the template is self-explanatory. Any parameter can be omitted. Defaults are: black characters on green background. The default text is the copyright screen and default caption is "MegaDrum display". Observe the main template to see how it looks.
A note on text formatting: Please note that if a line contains more than a single whitespace character you will need to use the Nbsp template. For example, let's say you need 5 consecutive space characters in a string. You would write this as:
{{nbsp|5}}
Please consult the documentation for more information.
Also consider using < for the "<" character and ">" for the ">" character.
Here's another example. Note that I used a different color/bgcolor here. You can also use standard RGB color representations such as #00FF00.
{{LCD| color=white| bgcolor=blue| line1=█_______________| line2=________________| caption=MegaDrum VU Meter screen }}
Result:
█_______________ |
________________ |
MegaDrum VU Meter screen
Finally here is an example settings screen:
{{LCD| color=white| bgcolor=blue| line1=<CustomCurve1{{nbsp|2}}>| line2=P1:{{nbsp|11}}2♦| caption=Custom curve '''CustomCurve1''' point '''P1''' value }}
The result is as follows:
<CustomCurve1 > |
P1: 2♦ |
Custom curve CustomCurve1 point P1 value