BIS fnc 3DENDiagFonts: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "_x" to "_x")
Line 51: Line 51:
_firstLine [[a = b|=]] [[format]] ["Fonts [[for]] <nowiki>{{GVI|arma3|%1}}</nowiki>:<br>", _version];
_firstLine [[a = b|=]] [[format]] ["Fonts [[for]] <nowiki>{{GVI|arma3|%1}}</nowiki>:<br>", _version];
_s [[a = b|=]] [_firstLine, <nowiki>"<ol start{{=}}""0"">"</nowiki>];
_s [[a = b|=]] [_firstLine, <nowiki>"<ol start{{=}}""0"">"</nowiki>];
_cfgFonts [[a = b|=]] [[configProperties]] [configfile [[config greater greater name|>>]] "cfgfontfamilies","[[isclass]] [[_x]]"];
_cfgFonts [[a = b|=]] [[configProperties]] [configfile [[config greater greater name|>>]] "cfgfontfamilies","[[isclass]] [[Magic Variables#x|_x]]"];
_cfgFonts [[apply]] {
_cfgFonts [[apply]] {
_s [[pushBack]] [[format]][<nowiki>"<li>%1</li>"</nowiki>, [[configName]] _x];
_s [[pushBack]] [[format]][<nowiki>"<li>%1</li>"</nowiki>, [[configName]] _x];

Revision as of 12:57, 25 February 2021

Posted on November 1, 2020 - 15:36 (UTC)
7erra
Code used to generate list: _version = str(productVersion select 2); _version = format["%1.%2", _version select [0,1], _version select [1, count _version]]; _firstLine = format ["Fonts for {{GVI|arma3|%1}}:
", _version]; _s = [_firstLine, "<ol start{{=}}""0"">"]; _cfgFonts = configProperties [configfile >> "cfgfontfamilies","isclass _x"]; _cfgFonts apply { _s pushBack format["<li>%1</li>", configName _x]; }; _s pushBack "</ol>"; _s = _s joinString endl; copyToClipboard _s; _s