Lou Montana/Sandbox/Template:Function – User

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Add usage of Template:Command/examples)
(Page cleanup)
Tag: Replaced
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
To be removed; kept for Function history - [[User:Lou Montana|Lou Montana]] ([[User talk:Lou Montana|talk]]) 02:24, 26 December 2019 (CET)
-->__NOTOC__<!--
-->__NOEDITSECTION__<!--
-->{{DISPLAYTITLE:{{PAGENAMEE}}}}<!--
-->{{DEFAULTSORT:{{uc:{{PAGENAME}}}}}}<!--
-->[[Category:{{Name|{{{game|{{{game1|{{{1}}}}}}}}}}}: New Functions List|{{uc:{{PAGENAME}}}}]]<!-- Automatically includes page in "New Scripting Commands List" category
-->{{#ifeq: {{Name|{{{game|{{{game1|{{{1}}}}}}}}}}} | {{Name|arma3dev}} | [[Category:Introduced with Arma 3 Development Branch]] | }}<!-- Includes every arma 3 dev function in one category as well as reg version subcategories


// TODO: split BIS_fnc_ / BIN_fnc_ ?
[[Category: Sandbox]]
[[Category:Functions|{{uc:romanNumeral}}]]
[[Category:{{Name|{{{game|{{{game1|{{{1}}}}}}}}}}}: Functions|{{uc:romanNumeral}}]]
--><div class="_description fnc"><!--
 
-->{{GVI|{{{game|{{{game1|{{{1}}}}}}}}}|{{{version|{{{version1|{{{2|1.00}}}}}}}}}|categorize}}<!--
-->{{#if:{{{game2|}}}|{{GVI|{{{game2}}}|{{{version2|1.00}}}|categorize}}|}}<!--
-->{{#if:{{{game3|}}}|{{GVI|{{{game3}}}|{{{version3|1.00}}}|categorize}}|}}<!--
-->{{#if:{{{game4|}}}|{{GVI|{{{game4}}}|{{{version4|1.00}}}|categorize}}|}}<!--
-->{{#if:{{{game5|}}}|{{GVI|{{{game5}}}|{{{version5|1.00}}}|categorize}}|}}<!--
 
-->{{#if:{{{arg|{{{eff|}}}}}}|<span style="margin-left: 1em">|}}<!-- space between game versions and arguments/effects
 
-->{{#if:{{{arg|}}}|{{EffArg|fnc|arg|{{{arg}}}|categorize}}|}}<!--
-->{{#if:{{{eff|}}}|{{EffArg|fnc|eff|{{{eff}}}|categorize}}|}}<!--
 
-->{{#if:{{{arg|{{{eff|}}}}}}|</span>|}}<!--
 
--><div style="font-size: 0.9em"><!--
-->[[:Category:{{Name|{{{game|{{{game1|{{{1}}}}}}}}}}}: New Scripting Commands List|Introduced in '''{{Name|{{{game|{{{game1|{{{1}}}}}}}}}}}''']] <!--
-->[[:Category:Introduced with {{Name|{{{game|{{{game1|{{{1}}}}}}}}}}} version {{{version|{{{2|1.00}}}}}}|version '''{{{version|{{{2|1.00}}}}}}''']]<!--
--></div>
 
<div style="color:grey; font-size:0.75em">Click on the images for descriptions</div>
 
<h3>Description</h3>
<dl>
<dt>Description:</dt>
<dd>{{{description|{{{descr|{{{desc|{{{d|{{{3|}}}}}}}}}}}}}}}</dd>
</dl><!--
 
-->{{#if:{{{mp|}}}|
<dt>Multiplayer:</dt>
<dd>{{{mp}}}</dd>|}}<!--
 
-->{{#if:{{{problem|{{{pr|}}}}}}|
<dt>Problems:</dt>
<dd>{{ Important | {{{pr}}} }}</dd>|}}<!--
 
--><h3>Syntax</h3>
<dl>
<dt>Syntax:</dt>
<dd>{{{s1|{{{4|'''{{PAGENAMEE}}'''}}}}}}</dd><!--
 
-->{{Command/params
|  {{{p1|}}} |  {{{p2|}}} |  {{{p3|}}} |  {{{p4|}}} |  {{{p5|}}}
|  {{{p6|}}} |  {{{p7|}}} |  {{{p8|}}} |  {{{p9|}}} | {{{p10|}}}
| {{{p11|}}} | {{{p12|}}} | {{{p13|}}} | {{{p14|}}} | {{{p15|}}}
| {{{p16|}}} | {{{p17|}}} | {{{p18|}}} | {{{p19|}}} | {{{p20|}}} }}<!--
 
--><dt>Return Value:</dt>
<dd>{{{r1|{{{5|[[Nothing]]}}}}}}</dd>
</dl><!--
 
-->{{#if:{{{s2|}}}|
<h3>Alternative Syntax</h3>
<dl>
<dt>Syntax:</dt>
<dd>{{{s2}}}</dd>|}}<!--
 
-->{{Command/params
| {{{p21|}}} | {{{p22|}}} | {{{p23|}}} | {{{p24|}}} | {{{p25|}}}
| {{{p26|}}} | {{{p27|}}} | {{{p28|}}} | {{{p29|}}} | {{{p30|}}}
| {{{p31|}}} | {{{p32|}}} | {{{p33|}}} | {{{p34|}}} | {{{p35|}}}
| {{{p36|}}} | {{{p37|}}} | {{{p38|}}} | {{{p39|}}} | {{{p40|}}} }}<!--
 
-->{{#if:{{{s2|}}}|
<dt>Return Value:</dt>
<dd>{{{r2|[[Nothing]]}}}</dd>
</dl>|}}<!--
 
-->
<h3>Examples</h3>
<dl>
{{Command/examples
| {{{x1|}}} | {{{x2|}}} | {{{x3|}}} | {{{x4|}}} |  {{{x5|}}}
| {{{x6|}}} | {{{x7|}}} | {{{x8|}}} | {{{x9|}}} | {{{x10|}}} }}
</dl>
 
<h3>Additional Information</h3>
<dl>
<dt>Execution:</dt>
<dd>{{#ifeq:{{{exec|call}}}|call|[[call]]|'''[[{{{exec}}}]]'''}}</dd>
<dt>See also:</dt>
<dd class="seealso">{{busa}}{{#if:{{{seealso|{{{6|}}}}}}|{{#replace:{{#replace:{{{seealso|{{{6}}}}}}|], [|][}}|],[|][}}|{{See also needed}}}}</dd>
</dl>
 
<h3>Notes</h3>
<dd style{{=}}"font-size: smaller; text-align: center">
{{Messagebox
| '''Only post proven facts here.'''<!--
--> Report bugs on [http://feedback.arma3.com/ the feedback tracker].<!--
--> Use the [[{{NAMESPACE}} talk:{{PAGENAME}}|Talk page]] or the [https://forums.bohemia.net/ Forums] for discussions.
<div class{{=}}"plainlinks" style{{=}}"margin-top: -0.25em">
[{{canonicalurl:{{FULLPAGENAMEE}}|action=edit&section{{=}}new&preload{{=}}Template:Add_new_note&preloadtitle{{=}}&summary{{=}}Added+new+note&nosummary{{=}}true}} Add New Note] <nowiki>|</nowiki> [[How To#Add a new note|How To]]
</div>
| i
| #DAF5F5
}}
</dd>
</div></includeonly><noinclude>
 
 
{{<nowiki/>Command/documentation}}
 
{{Important | This page is an attempt to refresh the [[Template:Function|Function]] template, do not empty it even if this page is listed in functions categories!}}
<br><br>
----
{{User:Lou_Montana/Sandbox/Template:Function
 
| 1
| 2
| 3
| 4
| 5
| 6
| 7
| 8
|game= arma3
|version= 1.00
 
|game2= arma2
|version2= 1.00
 
|description= Convert integer to roman numeral (e.g. 42 becomes "XLII").
 
|s1= integer [[call]] [[BIS_fnc_romanNumeral]]
 
|p1= integer: [[Number]], [[String]], [[Code]] or [[Config]], same as [[BIS_fnc_parseNumber]] (used in this function) - any '''integer''' between 1 and 3999
 
|r1= [[String]] - Roman number
 
|x1= <code>1 [[call]] [[BIS_fnc_romanNumeral]]; {{cc|returns "I"}}</code>
 
|x2= <code>3999 [[call]] [[BIS_fnc_romanNumeral]]; {{cc|returns "MMMCMXCIX"}}</code>
 
|seealso= [[BIS_fnc_ordinalNumber]], [[BIS_fnc_phoneticalWord]]
 
|pr= Pompei - so hot right now!
 
|exec= exec
 
|mp= This works well in Multiplayer. Have fun!
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
 
<!-- Note Section END -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Strings|{{uc:romanNumeral}}]]
[[Category:Functions|{{uc:romanNumeral}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:romanNumeral}}]]
 
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on October 1, 2019 - 01:46 (UTC)</dd>
<dt class="note">[[User:Lou Montana|Lou Montana]]</dt>
<dd class="note">
A Roman numeral is read like this: with your ''eyes''.<br>
To learn more: '''{{Wikipedia|Eye}}'''
</dd>
</dl>
<!-- DISCONTINUE Notes -->
 
[[Category:Templates|{{uc:{{PAGENAME}}}}]]
</noinclude>

Latest revision as of 02:24, 26 December 2019

To be removed; kept for Function history - Lou Montana (talk) 02:24, 26 December 2019 (CET)