inputAction/actions – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "as a thought, there is also this: {{Compact_TOC}} entries could just plainly listed out, or maybe each letter grouping be put into a pre-collapsed container, as to not clutt...")
 
m (Text replacement - "‎" to "")
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Layout==
as a thought, there is also this:
as a thought, there is also this:


{{Compact_TOC}}
{{TOC|abc}}


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
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 {{User|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.&nbsp;--&nbsp;[[User:Fred Gandt|Fred Gandt]]&nbsp;<span style="font-size:80%;vertical-align:3px;line-height:0px;">([[User talk:Fred Gandt|talk]]/[[Special:Contributions/Fred Gandt|contribs]])</span> 20:33, 4 April 2014 (CEST)
 
== The script for the list generation ==
 
<code style="display: block">"debug_console" callExtension "C";
{
"debug_console" callExtension format ["==%1==", getText (_x >> "name")];
{
"debug_console" callExtension format ["* <tt>%1</tt> %2%3", _x, ["", "- "] select (actionName _x != ""), actionName _x];
}
forEach getArray (_x >> "group");
}
forEach ("true" configClasses (configFile >> "UserActionGroups"));</code>

Latest revision as of 12:54, 26 April 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"));