Modèle:Radio : Différence entre versions
Version du 3 février 2011 à 19:12 | Version actuelle en date du 30 octobre 2014 à 10:50 76 versions | |||
12 révisions intermédiaires par 5 utilisateurs non affichées | ||||
Ligne 1 : | Ligne 1 : | |||
? | <div style="display:none"> | + | <includeonly><div style="display:none"> | |
{{#vardefine:nt|{{lc:{{{nation}}}}}}} | {{#vardefine:nt|{{lc:{{{nation}}}}}}} | |||
{{#vardefine:i|1}} | {{#vardefine:i|1}} | |||
Ligne 8 : | Ligne 8 : | |||
{{#vardefine:wt|0}} | {{#vardefine:wt|0}} | |||
{{#vardefine:cm|0}} | {{#vardefine:cm|0}} | |||
? | {{#switch:{{#var:nt}}|germany={{#vardefine:nt|[[image: | + | {{#switch:{{#var:nt}}|usa={{#vardefine:nt|[[image:Graffiti_stickers_usa_A.png|40px|link=|]] American Radios}}|germany={{#vardefine:nt|[[image:Graffiti_stickers_germany_S.png|40px|link=|]] German Radios}}|france={{#vardefine:nt|[[image:Graffiti_stickers_france_A.png|40px|link=|]] French Radios}}|ussr={{#vardefine:nt|[[image:Graffiti_stickers_ussr_S.png|40px|link=|]] Soviet Radios}}|china={{#vardefine:nt|[[image:Graffiti_stickers_china.png|40px|link=|]] Chinese Radios}}|uk={{#vardefine:nt|[[image:Graffiti_stickers_uk.png|40px|link=|]] British Radios}}|#default={{#vardefine:nt|Radios}}}}</div> | |
<div id="Panel" class="ModuleList"> | <div id="Panel" class="ModuleList"> | |||
<h3>{{#var:nt}}</h3> | <h3>{{#var:nt}}</h3> | |||
? | <table class="sortable"> | + | <table class="sortable" style="text-indent:0;"> | |
<tr class="titlebar"> | <tr class="titlebar"> | |||
<th style="min-width:55px">Tier</th> | <th style="min-width:55px">Tier</th> | |||
Ligne 31 : | Ligne 31 : | |||
<tr><td><center><span style="color:orange"><b>{{#var:tr}}</b></span></center></td> | <tr><td><center><span style="color:orange"><b>{{#var:tr}}</b></span></center></td> | |||
<td><center><div id="{{#var:nm}}"></div><b>{{#var:nm}}</b></center></td> | <td><center><div id="{{#var:nm}}"></div><b>{{#var:nm}}</b></center></td> | |||
? | <td><center><span style="display:none">{{padleft:{{#var:sg}}|4|0}} </span>{{#var:sg}}<span style="color:gray"> | + | <td><center><span style="display:none">{{padleft:{{#var:sg}}|4|0}} </span>{{#var:sg}}<span style="color:gray"> m</span></center></td> | |
? | <td><center><span style="display:none">{{padleft:{{#var:pr}}| | + | {{#ifeq:{{#var:pr}}|premium | |
? | <td><center><span style="display:none">{{padleft:{{#var:wt}}|4|0}} </span>{{#var:wt}}<span style="color:gray"> | + | |<td><center><span style="display:none">0 </span><span style="opacity:0.8">[[image:PremiumIcon.png|link=]]</span></center></td> | |
+ | |<td><center><span style="display:none">{{padleft:{{#var:pr}}|9|0}} </span>{{f2Num|{{#var:pr}}}}<span style="opacity:0.8"> [[image:Credits.png|link=|]]</span></center></td>}} | |||
+ | <td><center><span style="display:none">{{padleft:{{#var:wt}}|4|0}} </span>{{f2Num|{{#var:wt}}}}<span style="color:gray"> kg</span></center></td> | |||
<td>{{#var:cm}}</td></tr> | <td>{{#var:cm}}</td></tr> | |||
|<tr><td></td><td><p class="error">too few variables</p></td></tr> | |<tr><td></td><td><p class="error">too few variables</p></td></tr> | |||
Ligne 39 : | Ligne 41 : | |||
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | {{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | |||
}} | }} | |||
? | </table> | + | </table></div>__NOTOC__ | |
? | </div> | + | </includeonly><noinclude> | |
? | + | |||
? | <noinclude> | + | ||
==Notes== | ==Notes== | |||
*If you have too few or too many variables the module name will be in red. | *If you have too few or too many variables the module name will be in red. | |||
Ligne 51 : | Ligne 51 : | |||
**tier = tier of the module, acceptable only numbers(1,2,..,10) | **tier = tier of the module, acceptable only numbers(1,2,..,10) | |||
**signal range = the rnge of the radio signal, in meters, do not include "(m)" | **signal range = the rnge of the radio signal, in meters, do not include "(m)" | |||
? | ||||
**price = price of the module, in credits | **price = price of the module, in credits | |||
**weight = weight of the module, in kilograms, do not include "(kg)" | **weight = weight of the module, in kilograms, do not include "(kg)" | |||
? | **compatibility = the vehicle(s) the module is compatible with, arranged by tier, then alphabetically, use | + | **compatibility = the vehicle(s) the module is compatible with, arranged by tier, then alphabetically, use <nowiki>{{Link|"exact pagename"}}</nowiki>. | |
==Template== | ==Template== | |||
Ligne 63 : | Ligne 62 : | |||
}} | }} | |||
</pre> | </pre> | |||
? | ||||
? | ||||
[[Category:C/P Templates]] | [[Category:C/P Templates]] | |||
? | ||||
</noinclude> | </noinclude> |
Version actuelle en date du 30 octobre 2014 à 10:50
Notes
- If you have too few or too many variables the module name will be in red.
- Continue to add | (pipes) to how ever many modules you need.
- nation = nation tree the module panel belongs to, acceptable: "Germany" "USA" "USSR"
- Place variables in order, separated by a comma.
- name = name of the module
- tier = tier of the module, acceptable only numbers(1,2,..,10)
- signal range = the rnge of the radio signal, in meters, do not include "(m)"
- price = price of the module, in credits
- weight = weight of the module, in kilograms, do not include "(kg)"
- compatibility = the vehicle(s) the module is compatible with, arranged by tier, then alphabetically, use {{Link|"exact pagename"}}.
Template
{{Radio|nation= <!--|name, tier, signal range, price, weight, compatibility--> |name, tier, signal range, price, weight, compatibility }}
Catégorie :