inputAction/actions – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Remove soon-to-be non-existent template usage)
m (Text replacement - "<code>" to "<code style="display: block">")
Line 11: Line 11:
== The script for the list generation ==
== The script for the list generation ==


<code>"debug_console" callExtension "C";
<code style="display: block">"debug_console" callExtension "C";
{
{
"debug_console" callExtension format ["==%1==", getText (_x >> "name")];
"debug_console" callExtension format ["==%1==", getText (_x >> "name")];

Revision as of 11:52, 11 January 2023

Layout

as a thought, there is also this:

entries could just plainly listed out, or maybe each letter grouping be put into a pre-collapsed container, as to not clutter/muck up the page - like, but not exactly: http://en.wikipedia.org/wiki/Template:Navbox Strangepete 19:21, 4 April 2014‎

I like it :-)
There're so many layout tables and such, I didn't fancy trying to figure out what worked (I'm lazy). I tend to go for styled HTML5 when the options are daunting, and let other people do the wiki markup which is probably more robust than the slightly less than standard CSS. -- Fred Gandt (talk/contribs) 20:33, 4 April 2014 (CEST)

The script for the list generation

"debug_console" callExtension "C"; { "debug_console" callExtension format ["==%1==", getText (_x >> "name")]; { "debug_console" callExtension format ["* %1 %2%3", _x, ["", "- "] select (actionName _x != ""), actionName _x]; } forEach getArray (_x >> "group"); } forEach ("true" configClasses (configFile >> "UserActionGroups"));