« Modèle:Infobox Machine » : différence entre les versions

De Wiki Electrolab
(Page créée avec « <includeonly> Category:Miscellaneous Machine [[Category:{{MFUNAME|{{{Manufacturer}}}}}]] <table class="infobox-table floatright "> <tr id="infobox-table-img-bg"> <td width="100%" colspan="3" class="infobox-table-img" style="text-align: center; padding:0 !important;">{{#if:{{{Image|}}}|[[File:{{{Image}}}|400px]]|400px}}</td> </tr> <tr> <th width="100%" colspan="3" class="infobox-table-name" style="font-size: 16px; text-align: center;... »)
 
Aucun résumé des modifications
 
(4 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>
[[Category:Miscellaneous Machine]]
[[Category:Machine]]
[[Category:{{MFUNAME|{{{Manufacturer}}}}}]]
<table class="infobox-table floatright ">
<table class="infobox-table floatright ">
<tr id="infobox-table-img-bg">
<tr id="infobox-table-img-bg">
Ligne 9 : Ligne 8 :
<th width="100%" colspan="3" class="infobox-table-name" style="font-size: 16px; text-align: center;"><b>{{{Nom d'usage}}}</b></th>
<th width="100%" colspan="3" class="infobox-table-name" style="font-size: 16px; text-align: center;"><b>{{{Nom d'usage}}}</b></th>
</tr>
</tr>
{{#if:{{{Manufacturer|}}}|<tr><!--
{{#if:{{{Model|}}}|<tr>
    --><td width="40%" valign="top" colspan="2" style="padding:3px;">Manufacturer</td><!--
<td width="40%" valign="top" colspan="2" style="padding:3px;">Model</td>
    --><td width="60%" class="brand" style="padding:3px;">{{#ifeq:{{MFUNAME|{{{Manufacturer}}}}}|Unknown Manufacturer|{{{Manufacturer}}}|[[Special:MyLanguage/{{MFUNAME|{{{Manufacturer}}}}}|{{MFUNAME|{{{Manufacturer}}}}}]]{{nbsp}}({{{Manufacturer}}})}}</td><!--
<td width="60%" style="padding:3px;">{{{Model}}}</td>
    --></tr>}}
{{#if:{{{Type|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Type</td>
<td width="60%" style="padding:3px;">{{{Type}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Mass|}}}|<tr>
{{#if:{{{Fabricant|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Mass</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Fabricant</td>
<td width="60%" valign="top" style="padding:3px;">{{{Mass}}}</td>
<td width="60%" style="padding:3px;">{{{Fabricant}}}</td>
</tr>}}
{{#if:{{{Zone|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Zone</td>
<td width="60%" style="padding:3px;">{{{Zone}}}</td>
</tr>}}
{{#if:{{{Type de machine|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Type de machine</td>
<td width="60%" style="padding:3px;">{{{Type de machine}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Usage|}}}|<tr>
{{#if:{{{Usage|}}}|<tr>
Ligne 25 : Ligne 28 :
<td width="60%" style="padding:3px;">{{{Usage}}}</td>
<td width="60%" style="padding:3px;">{{{Usage}}}</td>
</tr>}}
</tr>}}
{{#if:{{{UEC Cost|}}}|<tr>
{{#if:{{{Origine|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">UEC Cost</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Origine</td>
<td width="60%" style="padding:3px;">{{{UEC Cost}}}</td>
<td width="60%" style="padding:3px;">{{{Origine}}}</td>
</tr>}}
{{#if:{{{REC Cost|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">REC Cost</td>
<td width="60%" style="padding:3px;">{{{REC Cost}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Range|}}}|<tr>
{{#if:{{{Autres ressources|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Range</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Autres ressources</td>
<td width="60%" style="padding:3px;">{{{Range}}}</td>
<td width="60%" style="padding:3px;">{{{Autres ressources}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Whitley Rating|}}}|<tr>
{{#if:{{{Condition d'accès|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Whitley Rating</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Condition d'accès</td>
<td width="60%" style="padding:3px;">{{{Whitley Rating}}}</td>
<td width="60%" style="padding:3px;">{{{Condition d'accès}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Ammo Count|}}}|<tr>
{{#if:{{{Etat actuel|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Ammo Count</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Etat actuel</td>
<td width="60%" style="padding:3px;">{{{Ammo Count}}}</td>
<td width="60%" style="padding:3px;">{{{Etat actuel}}}</td>
</tr>}}
</tr>}}
{{#if:{{{Rate|}}}|<tr>
{{#if:{{{Réservation|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Fabricant</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Réservation</td>
<td width="60%" style="padding:3px;">{{{Rate}}}</td>
<td width="60%" style="padding:3px;">{{{Réservation}}}</td>
</tr>}}
{{#if:{{{Overheat Time|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Type de machine</td>
<td width="60%" style="padding:3px;">{{{Overheat Time}}}</td>
</tr>}}
{{#if:{{{Cool Time|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Zone</td>
<td width="60%" style="padding:3px;">{{{Cool Time}}}</td>
</tr>}}
{{#if:{{{Power Drain|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Usage</td>
<td width="60%" style="padding:3px;">{{{Power Drain}}}</td>
</tr>}}
{{#if:{{{IR Signature|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Origine</td>
<td width="60%" style="padding:3px;">{{{IR Signature}}}</td>
</tr>}}
</tr>}}
</table><!--
</table><!--


    SEO CONFIG
-->{{#seo:
|title={{{Name}}} - Star Citizen Wiki
|keywords=wiki,star citizen,{{{Name}}}{{#if:{{{Manufacturer|}}}|,{{MFUNAME|{{{Manufacturer}}}}}}}
|image={{#if:{{{Image|}}}|{{filepath:{{{Image}}}}}|{{filepath:Placeholderv2.png}}}}
|site_name=Star Citizen Wiki
}}<!--
--><templatestyles src="Template:InfoboxOld/styles.css" /></includeonly><noinclude>{{/doc}}[[Category:Infobox Templates]]</noinclude>
--><templatestyles src="Template:InfoboxOld/styles.css" /></includeonly><noinclude>{{/doc}}[[Category:Infobox Templates]]</noinclude>

Version actuelle datée du 17 mai 2023 à 09:42

Template documentation[view][edit][history][purge]
This documentation is transcluded from Modèle:Infobox Machine/doc. Changes can be proposed in the talk page.
Utilisation du Template
Ce template est utiliser dans les pages de documentation des machines du lab. Copiez et collez le code suivant au début d'un article, en remplissant tous les champs connus. Laissez les champs inconnus vides et ils n'apparaîtront pas dans l'infobox.
Exemple
{{Infobox Machine
| Image =
| Nom d'usage =
| Model =
| Fabricant = 
| Zone =
| Type de machine = 
| Usage = 
| Origine =
| Autres ressources = 
| Condition d'accès =
| Etat actuel =
| Réservation = 
}}
Example Input
 
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.