Difference between revisions of "Template:LSL Event/fr"
Jump to navigation
Jump to search
constants
Gally Young (talk | contribs) (fixes) |
m |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Multi-lang}} | {{Multi-lang|Template:LSL Event|/fr}} | ||
{{LSL Header/fr}} __NOTOC__ <noinclude> | {{LSL Header/fr}} __NOTOC__ <noinclude> | ||
<pre> | <pre> | ||
{{LSL_Event | {{LSL_Event | ||
|event | |event | ||
|event_id | |event_id | ||
Line 79: | Line 79: | ||
|mode | |mode | ||
|self=self | |self=self | ||
|issues={{Issue/V1|SVC-2|first SVC bug|type=bug}} | |||
}} | }} | ||
</div> | </div> | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#if: | {{#if: | ||
{{#if:work around changes from 1.11 to 1.12 | |||
{{{issues|}}}{{#var:issues}} | |||
}} | |||
{{#vardefine:name|{{{event}}}}} | {{#vardefine:name|{{{event}}}}} | ||
{{#vardefine:sort|{{#if:{{#var:sort}}|{{#var:sort}}|{{#if:{{{sort|}}}|{{{sort}}}|{{ucfirst:{{#var:name}}}}}}}}}} | {{#vardefine:sort|{{#if:{{#var:sort}}|{{#var:sort}}|{{#if:{{{sort|}}}|{{{sort}}}|{{ucfirst:{{#var:name}}}}}}}}}} | ||
Line 135: | Line 139: | ||
{{#vardefine:also_articles|{{#var:also_articles}} | {{#vardefine:also_articles|{{#var:also_articles}} | ||
{{{also_articles|}}}}} | {{{also_articles|}}}}} | ||
{{#vardefine:also_library|{{#var:also_library}} | |||
{{{also_library|}}}}} | |||
{{#vardefine:also_footer|{{#var:also_footer}}{{{also_footer|}}}}} | {{#vardefine:also_footer|{{#var:also_footer}}{{{also_footer|}}}}} | ||
{{#vardefine:notes|{{#var:notes}}{{{notes|}}}}} | {{#vardefine:notes|{{#var:notes}}{{{notes|}}}}} | ||
Line 143: | Line 149: | ||
{{#vardefine:location|{{#var:location}}{{{location|}}}}} | {{#vardefine:location|{{#var:location}}{{{location|}}}}} | ||
{{#vardefine:footer|{{#var:footer}}}} | {{#vardefine:footer|{{#var:footer}}}} | ||
{{{{#switch:{{#var:mode}} | |||
{{{{# | |god=LSL_Generic/god/fr | ||
|request=LSL_Generic/request/fr | |||
{{{{#if:{{{deprecated | |pre-release=LSL_Generic/pre-release/fr | ||
{{#vardefine:{{#if:{{{event_desc|}}}|| | |!}}|}} | ||
{{{{#if:{{{deprecated|}}}|LSL_Generic/deprecated/fr|!}}|{{{deprecated|}}}|}} | |||
{{#vardefine:header|{{#if:{{{event_desc|}}}|| | |||
<div id="box" style="background:yellow;"> | <div id="box" style="background:yellow;"> | ||
''' 'event_desc' can not be undefined''' | ''' 'event_desc' can not be undefined''' | ||
<div style="padding: 0.5em;background:#ffffff;"> | <div style="padding: 0.5em;background:#ffffff;"> | ||
''(Please define a value for 'event_desc' to describe the events actions.)''</div></div>{{#if:{{{self|}}}|| {{LSLC | ''(Please define a value for 'event_desc' to describe the events actions.)''</div></div>{{#if:{{{self|}}}|| {{LSLC|FixMe}} }} }} | ||
{{#var:header}}}} | {{#var:header}}}} | ||
}}{{#if:{{#var:nofixname}}||{{#if:{{#pos:{{lc:{{FULLPAGENAMEE}}}}|{{lc:{{{event}}}}}}}|<div id="RealTitleBanner" style="display:none;"><span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{event}}}</span></div>}}}}{{#if:{{#var:self}}|| __NOEDITSECTION__ }}{{#var:header}} | }}{{#if:{{#var:nofixname}}||{{#if:{{#pos:{{lc:{{FULLPAGENAMEE}}}}|{{lc:{{{event}}}}}}}|<div id="RealTitleBanner" style="display:none;"><span id="RealTitle">{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{event}}}</span></div>}}}}{{#if:{{#var:self}}|| __NOEDITSECTION__ }}{{#var:header}} | ||
{{{ | {{RightToc|font-size:80%}} | ||
{{ | <div id="box"><h2 style="display:none"> Description </h2>{{#ifexpr:({{#var:BugCounter}} + 0) > 0|<span class="mw-headline" style="display:block; color:#FF0000; font-family:Arial,Helvetica,Sans-Serif; background-color:#F4F8FB; font-size:120%; font-weight:bolder; margin:0pt; padding:0.2em 0.5em; text-align:left; float:right;">[[#Issues|<span title="Il y a {{#ifeq:{{#var:BugCounter}}|1|1 bug signalé|{{#var:BugCounter}} bugs signalés}} pour cet(te) {{#var:type}}." style="color:#FF0000;">!</span>]]</span>}}<span id="{{anchorencode:Description}}" class="mw-headline" style="display:block; color:#546368; font-family:Arial,Helvetica,Sans-Serif; background-color:#F4F8FB; border-bottom:1px dotted #AAAAAA; font-size:120%; font-weight:bold; margin:0pt; padding:0.2em 0.5em; text-align:left;"> [[:Category:LSL_Events/fr|Event]]: [[{{{event}}}/fr|{{{event}}}]]( {{#if:{{{p1_name|}}}{{{p1_type|}}}| [[{{{p1_type|}}}|{{{p1_type|}}}]] {{LSL Param/fr|{{{p1_name|}}}}}{{#if:{{{p2_name|}}}{{{p2_type|}}}|, [[{{{p2_type|}}}|{{{p2_type|}}}]] {{LSL Param/fr|{{{p2_name|}}}}}{{#if:{{{p3_name|}}}{{{p3_type|}}}|, [[{{{p3_type|}}}|{{{p3_type|}}}]] {{LSL Param/fr|{{{p3_name|}}}}}{{#if:{{{p4_name|}}}{{{p4_type|}}}|, [[{{{p4_type|}}}|{{{p4_type|}}}]] {{LSL Param/fr|{{{p4_name|}}}}}{{#if:{{{p5_name|}}}{{{p5_type|}}}|, [[{{{p5_type|}}}|{{{p5_type|}}}]] {{LSL Param/fr|{{{p5_name|}}}}}{{#if:{{{p6_name|}}}{{{p6_type|}}}|, [[{{{p6_type|}}}|{{{p6_type|}}}]] {{LSL Param/fr|{{{p6_name|}}}}}{{#if:{{{p7_name|}}}{{{p7_type|}}}|, [[{{{p7_type|}}}|{{{p7_type|}}}]] {{LSL Param/fr|{{{p7_name|}}}}}{{#if:{{{p8_name|}}}{{{p8_type|}}}|, [[{{{p8_type|}}}|{{{p8_type|}}}]] {{LSL Param/fr|{{{p8_name|}}}}}{{#if:{{{p9_name|}}}{{{p9_type|}}}|, [[{{{p9_type|}}}|{{{p9_type|}}}]] {{LSL Param/fr|{{{p9_name|}}}}}{{#if:{{{p10_name|}}}{{{p10_type|}}}|, [[{{{p10_type|}}}|{{{p10_type|}}}]] {{LSL Param/fr|{{{p10_name|}}}}}{{#if:{{{p11_name|}}}{{{p11_type|}}}|, [[{{{p11_type|}}}|{{{p11_type|}}}]] {{LSL Param/fr|{{{p11_name|}}}}}{{#if:{{{p12_name|}}}{{{p12_type|}}}|, [[{{{p12_type|}}}|{{{p12_type|}}}]] {{LSL Param/fr|{{{p12_name|}}}}}}}}}}}}}}}}}}}}}}}}}}}}} )<nowiki>{ ; }</nowiki></span> | ||
{{ | <div style="padding: 0.5em; min-height: 4em;"> | ||
<div id="box" style="float:right; margin: 0 0.5em; font-size:90%;" ><table><tr> | |||
<div style="padding: 0.5em"><div id="box" style="float:right;"><table><tr> | <td>{{#ifeq:{{#var:mode}}|request|REQUEST|{{HoverText|{{{event_id|}}}|Le numéro associé à l'évènement.}}}} | ||
<td>{{#ifeq:{{#var:mode}}|request|REQUEST|{{HoverText|{{{event_id|}}}|Le numéro associé à l'évènement.}}}} | <td>[[LSL Event ID/fr|Event ID]] | ||
<td>[[LSL Event ID/fr| | </tr><tr {{#if:{{{event_delay|}}}||style="display:none;"}}> | ||
</tr><tr {{#if:{{{event_delay|}}}||style="display:none;"}}> | <td>{{HoverText|{{{event_delay|}}}|Secondes entre les évènements de ce type}} | ||
<td>{{HoverText|{{{event_delay|}}}|Secondes entre les évènements de ce type}} | <td>[[LSL Delay/fr|Delais]] | ||
<td>[[LSL Delay/fr| | </tr></table></div> | ||
</tr></table></div> | |||
{{{event_desc|event_desc undefined}}}<br/> | {{{event_desc|event_desc undefined}}}<br/> | ||
{{#if:{{#var:p1_name}}{{#var:p1_type}}{{#var:pe_name}}{{#var:pe_type}}|{{{!}} | {{#if:{{#var:p1_name}}{{#var:p1_type}}{{#var:pe_name}}{{#var:pe_type}}|{{{!}} style="margin-bottom:0.5em;" | ||
{{#if:{{#var:p1_name}}{{#var:p1_type}}|{{LSL DefineRow|1={{#var:p1_type}}|2={{#var:p1_name}}|3={{#var:p_{{#var:p1_name}}_desc}}}} | {{#if:{{#var:p1_name}}{{#var:p1_type}}|{{LSL DefineRow|1={{#var:p1_type}}|2={{#var:p1_name}}|3={{#var:p_{{#var:p1_name}}_desc}}}} | ||
{{#if:{{#var:p2_name}}{{#var:p2_type}}|{{LSL DefineRow|1={{#var:p2_type}}|2={{#var:p2_name}}|3={{#var:p_{{#var:p2_name}}_desc}}}} | {{#if:{{#var:p2_name}}{{#var:p2_type}}|{{LSL DefineRow|1={{#var:p2_type}}|2={{#var:p2_name}}|3={{#var:p_{{#var:p2_name}}_desc}}}} | ||
Line 182: | Line 189: | ||
{{#if:{{#var:pe_name}}{{#var:pe_type}}|{{LSL DefineRow|1={{#var:pe_type}}|2={{#var:pe_name}}|3={{#var:pe_desc}}}}}} | {{#if:{{#var:pe_name}}{{#var:pe_type}}|{{LSL DefineRow|1={{#var:pe_type}}|2={{#var:pe_name}}|3={{#var:pe_desc}}}}}} | ||
{{!}}} }} | {{!}}} }} | ||
{{#if:{{{event_footnote|}}}{{{event_footer|}}}| | {{#if:{{{event_footnote|}}}{{{event_footer|}}}|{{{event_footnote|}}}{{{event_footer|}}}}} | ||
{{{event_footnote|}}}{{{event_footer|}}}}} | </div></div> | ||
{{#if:{{#var:spec}}| | |||
{{#if:{{#var:spec}}| | <div id="box"> | ||
<h2>{{#if:{{#var:T_Specification}}|{{#var:T_Specification}}|Spécification}}</h2> | <h2>{{#if:{{#var:T_Specification}}|{{#var:T_Specification}}|Spécification}}</h2> | ||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{#var:spec}} | {{#var:spec}} | ||
</div></div>}} | </div></div>}}{{#if:{{#var:constants_nb}}{{#var:constants}}| | ||
{{#var:constants_nb}}{{#if:{{#var:constants}}| | |||
{{#if:{{#var:constants_nb}}{{#var:constants}}| | |||
<div id="box"><h2>{{#if:{{#var:T_Constants}}|{{#var:T_Constants}}|Constantes}}</h2> | <div id="box"><h2>{{#if:{{#var:T_Constants}}|{{#var:T_Constants}}|Constantes}}</h2> | ||
{{#var:constants}} | {{#var:constants}} | ||
</div>}}}} | </div>}}}}{{#if:{{#var:caveats}}| | ||
<div id="box"><h2>{{#if:{{#var:T_Caveats}}|{{#var:T_Caveats}}|Défauts}}</h2> | |||
{{#if:{{#var:caveats}}| | |||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{#var:caveats}} | {{#var:caveats}} | ||
</div></div>}} | </div></div>}}{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}| | ||
<div id="box"><h2>{{#if:{{#var:T_Examples}}|{{#var:T_Examples}}|Exemples}}</h2> | |||
{{#if:{{#if:{{#var:deprecated}}||t}}{{#var:examples}}| | |||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{#var:examples}} | {{#var:examples}} | ||
</div></div>}} | </div></div>}}{{#if:{{#var:helpers}}| | ||
<div id="box"><h2>{{#if:{{#var:T_Useful_Snippets}}|{{#var:T_Useful_Snippets}}|Codes utiles}}</h2> | |||
{{#if:{{#var:helpers}}| | |||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{#var:helpers}} | {{#var:helpers}} | ||
</div></div>}} | </div></div>}}{{#if:{{#var:notes}}| | ||
<div id="box"><h2>{{#if:{{#var:T_Notes}}|{{#var:T_Notes}}|Notes}}</h2> | |||
{{#if:{{#var:notes}}| | |||
<div style="padding: 0.5em"> | <div style="padding: 0.5em"> | ||
{{#var:notes}} | {{#var:notes}} | ||
</div></div>}} | </div></div>}}{{#if:{{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_tests}}{{#var:also_header}}{{#var:also_library}}|<div id="box"> | ||
<h2>Voir aussi</h2> | |||
{{#if:{{#var:also_footer}}{{#var:also_functions}}{{#var:also_events}}{{#var:also_articles}}{{#var:also_tests}}{{#var:also_header}} | <div style="padding: 0.5em;"> | ||
{{ | {{#if:{{#var:also_header}}|<div> | ||
<div style="padding: 0.5em"> | {{#var:also_header}} | ||
{{#if:{{#var:also_header}}| | </div>}}{{#if:{{#var:also_events}}| | ||
{{#var:also_header}}}}{{#if:{{#var:also_events}}| | <h3>Evénements</h3> | ||
<h3> | |||
{{{!}} | {{{!}} | ||
{{#var:also_events}} | {{#var:also_events}} | ||
{{!}}} }}{{#if:{{#var:also_functions}}| | {{!}}} }}{{#if:{{#var:also_functions}}| | ||
<h3> | <h3>Fonctions</h3> | ||
{{{!}} | {{{!}} | ||
{{#var:also_functions}} | {{#var:also_functions}} | ||
{{!}}} }}{{#if:{{#var:also_tests}}| | {{!}}} }}{{#if:{{#var:also_tests}}| | ||
<h3> | <h3>Tests</h3> | ||
{{{!}} | {{{!}} | ||
{{#var:also_tests}} | {{#var:also_tests}} | ||
{{!}}} }}{{#if:{{#var:also_articles}}| | {{!}}} }}{{#if:{{#var:also_articles}}| | ||
<h3> | <h3>Articles</h3> | ||
{{{!}} | {{{!}} | ||
{{#var:also_articles}} | {{#var:also_articles}} | ||
{{!}}} }}{{#if:{{#var:also_library}}| | |||
<h3>Bibliothèque et Exemples</h3> | |||
{{{!}} | |||
{{#var:also_library}} | |||
{{!}}} }} | {{!}}} }} | ||
{{#if:{{#var:also_footer}}|< | {{#if:{{#var:also_footer}}|<div style="margin-top:0.5em;"> | ||
</div></div>}} | {{#var:also_footer}} | ||
{{ | </div>}} | ||
{{# | </div></div>}}{{#if:{{{history|}}}{{#var:history}}{{{issues|}}}{{#var:issues}}{{#var:location}}{{#var:footnotes}}{{{deepnotes|}}}{{#var:deepnotes}}{{{mono|}}}{{#var:mono}}{{{lso|}}}{{#var:lso}}| | ||
{{ | |||
<div id="box"> | <div id="box"> | ||
< | == Notes complémentaires == | ||
<div | <div style="padding: 0.5em"><div> | ||
{{{deepnotes|}}}{{#var:deepnotes}} | |||
</div>{{#if:{{{mono|}}}{{#var:mono}}| | |||
<h4> Notes sur la MV Mono</h4><div> | |||
{{{mono|}}}{{#var:mono}} | |||
</div>}}{{#if:{{{lso|}}}{{#var:lso}}| | |||
<h4> Note sur la MV LSO</h4><div> | |||
{{{lso|}}}{{#var:lso}} | |||
</div>}}{{#if:{{{history|}}}{{#var:history}}| | |||
<h4> Historique </h4><div> | |||
{{{history|}}}{{#var:history}} | |||
</div>}}{{#if:{{{issues|}}}{{#var:issues}}| | |||
<h4> Problèmes </h4> | |||
{{{!}} | |||
{{{issues|}}}{{#var:issues}} | |||
{{!}}} | |||
}}{{#if:{{#var:location}}| | |||
<h4> Source </h4><div> | |||
{{#var:location}} | {{#var:location}} | ||
</div>}}{{#if:{{#var:footnotes}}| | |||
<h4 style="margin-bottom:0;"> Notes de bas de page </h4> | |||
{{{{#if:{{#var:footnotes}}|Footnotes|!}}|}} | |||
}} | |||
</div></div>}}{{#if:{{{comments|}}}|<div id="box"> | |||
<h2>Commentaires</h2> | |||
<div style="padding: 0.5em;"> | |||
{{{comments|}}} | |||
</div></div>}} | </div></div>}} | ||
{{#var:footer}} {{#if:{{{self|}}}|| {{#switch:{{#var:mode}}|request|user=|#default= [[Category:LSL Events/fr]] {{#ifexpr:({{#var:BugCounter}} + 0) > 0|[[Category:LSL topics with bugs/fr]]}} [[Category:LSL Events/ID/fr| {{padleft:{{#var:event_id}}|5|0}}]] {{#if:{{#var:examples}}||[[Category:LSL Needs Example/fr]]}} {{LSL Unhelpful/fr|{{{event}}}|}} }} {{#if:{{{cat1|}}}|{{LSLC|{{{cat1}}}}}}} {{#if:{{{cat2|}}}|{{LSLC|{{{cat2}}}}}}} {{#if:{{{cat3|}}}|{{LSLC|{{{cat3}}}}}}} {{#if:{{{cat4|}}}|{{LSLC|{{{cat4}}}}}}} {{#if:{{{cat5|}}}|{{LSLC|{{{cat5}}}}}}} {{#if:{{{cat6|}}}|{{LSLC|{{{cat6}}}}}}} {{#if:{{{cat7|}}}|{{LSLC|{{{cat7}}}}}}} {{#if:{{{cat8|}}}|{{LSLC|{{{cat8}}}}}}} }}</includeonly> | |||
{{#var:footer}} |
Latest revision as of 14:16, 26 September 2013
LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
{{LSL_Event |event |event_id |event_delay |event_desc |event_footnote |p1_type|p1_name|p1_desc|p1_hover |p2_type|p2_name|p2_desc|p2_hover |p3_type|p3_name|p3_desc|p3_hover |p4_type|p4_name|p4_desc|p4_hover |p5_type|p5_name|p5_desc|p5_hover |p6_type|p6_name|p6_desc|p6_hover |p7_type|p7_name|p7_desc|p7_hover |p8_type|p8_name|p8_desc|p8_hover |p9_type|p9_name|p9_desc|p9_hover |p10_type|p10_name|p10_desc|p10_hover |p11_type|p11_name|p11_desc|p11_hover |p12_type|p12_name|p12_desc|p12_hover |constants |spec |caveats |examples |helpers |also_header |also_functions |also_tests |also_articles |also_footer |notes |mode |deprecated |location |cat1 |cat2 |cat3 |cat4 |cat5 |cat6 |cat7 |cat8 }}
Voir Template:LSL Function/fr pour une explication de la syntaxe (les deux templates sont presque identiques).
LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
! Event: MyEvent( integer i, float f, string s, key k, list l, vector v, rotation r ){ ; }Spécification
spec
Défauts
caveats
Exemples
examples
Codes utiles
helpers
Notes
notes
Voir aussi
also_header
Evénements
- also_events
Fonctions
- also_functions
Tests
- also_tests
Articles
- also_articles
also_footer