Template:LCARS Toggle: Difference between revisions
Jump to navigation
Jump to search
(adding an option to put in a unicode character to indicate that the button can expand/open) |
m (adding a few suggestions for unicode characters) |
||
Line 23: | Line 23: | ||
<pre>NOTE: To include things like tables and any sort of formatting that uses | characters within the content section of the template, substitute any | characters with {{!}}, and the code should work just fine. | <pre>NOTE: To include things like tables and any sort of formatting that uses | characters within the content section of the template, substitute any | characters with {{!}}, and the code should work just fine. | ||
The "Expand Indicator" variable allows one to set any unicode symbol as a marker to "click here". Hopefully this will increase the salience of the LCARS toggle button!</pre> | The "Expand Indicator" variable allows one to set any unicode symbol as a marker to "click here". Hopefully this will increase the salience of the LCARS toggle button! Some characters that might work include: ˅, ⌄, ↕, ⇕, ⇳, ☟, ⬍, ⭥, 𝅎, 𝅏, 🡙 (but you can use whatever you want).</pre> | ||
===Example=== | ===Example=== |
Revision as of 22:16, 24 May 2024
Creates a toggle-able LCARS menu!
NOTE: To include things like tables and any sort of formatting that uses | characters within the content section of the template, substitute any | characters with {{!}}, and the code should work just fine. The "Expand Indicator" variable allows one to set any unicode symbol as a marker to "click here". Hopefully this will increase the salience of the LCARS toggle button! Some characters that might work include: ˅, ⌄, ↕, ⇕, ⇳, ☟, ⬍, ⭥, 𝅎, 𝅏, 🡙 (but you can use whatever you want).
Example
{{LCARS Toggle |Toggle Name = SL |Side = Left |Color = steelblue |Title = Shore Leave! |Expand Indicator = ⮟ |Content = This is some writing, blarg. }}
which gives you
Shore Leave! ⮟ |
---|
This is some writing, blarg.
Different Sides!
You can also switch the side that the text is on!
⮟ Shore Leave! |
---|
This is some writing, blarg.