Différences entre versions de « Utilisateur:Admin »
Sauter à la navigation
Sauter à la recherche
| Ligne 140 : | Ligne 140 : | ||
'' Exemple :'' | '' Exemple :'' | ||
<nowiki>{{parts-begin}} | <nowiki>{{parts-begin}} | ||
| − | {{parts-item-pi}} | + | {{parts-item-pi|qty=1}} |
{{parts-end}}</nowiki> | {{parts-end}}</nowiki> | ||
{{parts-begin}} | {{parts-begin}} | ||
| − | {{parts-item-pi}} | + | {{parts-item-pi|qty=1}} |
{{parts-end}} | {{parts-end}} | ||
| Ligne 153 : | Ligne 153 : | ||
|img=part-item-pi.jpg | |img=part-item-pi.jpg | ||
|link=http://mchobby.be/PrestaShop/product.php?id_product=141 | |link=http://mchobby.be/PrestaShop/product.php?id_product=141 | ||
| − | |qty={{{qty}} | + | |qty={{{qty}}} |
}}</nowiki> | }}</nowiki> | ||
Version du 9 janvier 2013 à 11:59
Projet en cours
- Scratch Pour Arduino (projet en cours)
Traduction à prévoir
- Raspberry GPIO setup, en Python, inclus I2C
- Traduction pour LCD 2x16
- EL Wire
- ADF-MICROSD-BRK discusses microSD cards, wiring and how to use this breakout board with an Arduino
- Wave Shield Voice Changer pour AMP-3.7w-ClassD
- PN532 RFID/NFC Tutorial pour RFID/NFC-SHIELD
Toolbox
Quelques outils pour créer plus facilement du contenu sur ce wiki.
MediaWiki extension
Boxes
- AmBox et ses instructions d'installation la documentation du modèle est Modèle:Ambox/doc
- TmBox qui peut être obtenu ici, pour visualiser, faire une recherche sur le modèle Modèle:Tmbox/doc
- Visiblement besoin d'un parser pour "#ifeq:". Pour plus d'info voir Extension:ParserFunctions. Le parseur est diponible dans la version 1.16 (visiblement pas la 1.17!)
- Rechercher la page MediaWiki:Common.css et ajouter une partie du style CSS mentionné ici
Exemple TmBox
|
|
Some text. |
|
|
En cours de traduction |
{{tmbox | text = En cours de traduction}}
Exemple AmBox
| Some text. |
{{ambox | text = Some text.}}
| Text for a big box, for the top of articles. |
{{Ambox
| type = delete
| image = [[File:StopHand.png|40px|alt=Stop]]
| textstyle = color: red; font-weight: bold; font-style: italic;
| text = Text for a big box, for the top of articles.
}}
IFrame (vidéo)
Exemple de IFrame
{{#Widget:Iframe |url=http://www.youtube.com/embed/lmoz-XrSfEw |width=420 |height=315 |border=0 }}
{{#Widget:Iframe
|url=http://www.youtube.com/embed/lmoz-XrSfEw
|width=420
|height=315
|border=0
}}
Petite structure permettant de naviguer plus facilement dans les articles composés de plusieurs pages.
Déclaration à l'aide d'un template
{{TFT-SHIELD-NAV}}
Contenu du template
<div style="position: absolute; right:10px; background-color: #f6f6f6; padding-right: 5px; border: 1px #d8d8d8 solid;"> * Introduction ** [[Ecran tactile 2.8" TFT]] * Librairie GFX ** [[Tutoriel Librairie Adafruit GFX|Tutoriel GFX]] ** [[Tutoriel Librairie Adafruit GFX - Couleurs 16 Bits|Couleurs 16 bits]] * Acheter ** [http://mchobby.be/PrestaShop/product.php?id_product=16 Ecran tactile 2.8"] </div>
TABLES
Parts List - Table
{{parts-begin}}
{{parts-item
|name=Afficheur
|descr=Afficheur LCD (2x16 caractères)
|img=afficheur-lcd-afficheur.jpg
|link=http://mchobby.be/PrestaShop/product.php?id_product=176
|qty=1
}}
{{parts-item
|name=Potentiomètre
|descr=pot. 10 KOhms linéraire<br />Inclus avec l'afficheur LCD
|img=afficheur-lcd-pot.jpg
|link=http://mchobby.be/PrestaShop/product.php?id_product=33
|qty=1
}}
{{parts-end}}
| Description | Quantité | |
| Afficheur |
Afficheur LCD (2x16 caractères) disponible ici chez MCHobby |
1 |
| Potentiomètre |
pot. 10 KOhms linéraire Inclus avec l'afficheur LCD disponible ici chez MCHobby |
1 |
parts-item prédéfini
Plutôt que recoder systématiquement toutes les informations d'un part-item, il est également possible d'utiliser l'un des prédéfini.
Exemple :
{{parts-begin}}
{{parts-item-pi|qty=1}}
{{parts-end}}
| Description | Quantité | |
| Raspberry Pi B |
Raspberry Pi disponible ici chez MCHobby |
1 |
Raspberry Pi 3 ou Pi 2
|
Raspberry Pi 3 disponible ici chez MCHobby |
1 |
Modèle pour Création :
{{parts-item
|name=Raspberry Pi
|descr=Raspberry Pi<br />{{{note}}}
|img=part-item-pi.jpg
|link=http://mchobby.be/PrestaShop/product.php?id_product=141
|qty={{{qty}}}
}}
Liste :
WikiMedia - Tables
- SpreadSheet to Wikitable converter (fonctionne aussi avec un copy d'une table HTML)
| Type de lumière ambiante... | Lumière ambiante (lux) | Valeur photo-Résistance (Ohms) | Photo-résistance + R (Ohms) | Courant (Photo-résistance + R) | Tension aux bornes de R |
| Hall faiblement éclairé | 0.1 lux | 600 KOhms | 610 KOhms | 0.008 mA | 0.1 V |
| Clair de lune | 1 lux | 70 KOhms | 80 KOhms | 0.07 mA | 0.6 V |
| Pièce sombre | 10 lux | 10 KOhms | 20 KOhms | 0.25 mA | 2.5 V |
| Jour très couvert (sombre) / Pièce lumineuse | 100 lux | 1.5 KOhms | 11.5 KOhms | 0.43 mA | 4.3 V |
| Jour couvert | 1000 lux | 300 Ohms | 10.03 KOhms | 0.5 mA | 5V |
{| class="wikitable" border="1"
|-
| align="center" | Type de lumière ambiante...
| align="center" | Lumière ambiante (lux)
| align="center" | Valeur photo-Résistance (Ohms)
| align="center" | Photo-résistance + R (Ohms)
| align="center" | Courant (Photo-résistance + R)
| align="center" | Tension aux bornes de R
|- style="font-size: 90%"
| align="left" | Hall faiblement éclairé
| align="left" | 0.1 lux
| align="left" | 600 KOhms
| align="left" | 610 KOhms
| align="left" | 0.008 mA
| align="left" | 0.1 V
|- style="font-size: 90%"
| align="left" | Clair de lune
| align="left" | 1 lux
| align="left" | 70 KOhms
| align="left" | 80 KOhms
| align="left" | 0.07 mA
| align="left" | 0.6 V
|- style="font-size: 90%"
| align="left" | Pièce sombre
| align="left" | 10 lux
| align="left" | 10 KOhms
| align="left" | 20 KOhms
| align="left" | 0.25 mA
| align="left" | 2.5 V
|- style="font-size: 90%"
| align="left" | Jour très couvert (sombre) / Pièce lumineuse
| align="left" | 100 lux
| align="left" | 1.5 KOhms
| align="left" | 11.5 KOhms
| align="left" | 0.43 mA
| align="left" | 4.3 V
|- style="font-size: 90%"
| align="left" | Jour couvert
| align="left" | 1000 lux
| align="left" | 300 Ohms
| align="left" | 10.03 KOhms
| align="left" | 0.5 mA
| align="left" | 5V
|}
