Template:LCARS Toggle: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(added note about {{!}} vs | within the template)
mNo edit summary
Line 21: Line 21:
Creates a toggle-able LCARS menu! <!-- Also, this is my first template, hoorah! -->
Creates a toggle-able LCARS menu! <!-- Also, this is my first template, hoorah! -->


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.</pre>


===Example===
===Example===

Revision as of 15:54, 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.

Example

{{LCARS Toggle
|Toggle Name = SL
|Side = Left
|Color = steelblue
|Title = Shore Leave!
|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.