Template:LCARS Toggle: Difference between revisions
Jump to navigation
Jump to search
(making a template for a LCARS-y thing I've been using on my page, so that I can stop having to copy and paste it (and hopefully my code will look better!)) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><div class="LCARS"><div class="mw-customtoggle-{{{Toggle Name}}}""> | ||
<div class="LCARS"><div class="mw-customtoggle-{{{Toggle Name}}}""> | |||
{|style="width: 100%; align: center;" | {|style="width: 100%; align: center;" | ||
|width="40px" height="16px" style="background:{{{Color}}}; border:0px; border-radius: 20px 0px 0px 20px"| | |width="40px" height="16px" style="background:{{{Color}}}; border:0px; border-radius: 20px 0px 0px 20px"| |
Revision as of 00:05, 24 May 2024
Creates a toggle-able LCARS menu!
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.