« Modèle:PavéNumPhyPro » : différence entre les versions

De Disposition de clavier bépo
m (Marcel a déplacé la page Modèle:Tkhcadre vers Modèle:PavéNumPhyPro : recyclage modèle inutilisé et raté)
(recyclage)
 
Ligne 1 : Ligne 1 :
<includeonly><table style="height: 100%; width: 100%;
<table style="text-align: center; background: #50c;" cellpadding="0" cellspacing="5">
{{#switch: {{{style|blanc}}}
| gris =  background-color: lightgrey;
| blanc = background-color: white;
| pro =  background-image: linear-gradient(
                            to right,
                            rgb(256, 140, 140),
                            rgb(256, 238, 238),
                            rgb(256, 238, 238),
                            rgb(256, 256, 256),
                            rgb(256, 256, 256),
                            rgb(256, 256, 256));
| #default = {{{style|}}}
}}
  border-top:    1px outset #424242;
  border-left:  1px outset #424242;
  border-right:  1px outset #B9B9B9;
  border-bottom: 1px outset #B9B9B9;
  border-radius: 0.5em;
">
{{{1}}}
</table></includeonly><noinclude>
<table cellpadding="0" cellspacing="5">
   <tr style="height: 45px;">
   <tr style="height: 45px;">
     <td style="width: 45px; height: 45px;">
     <td style="width: 45px; height: 45px;">
       {{tkcadre| |style=gris }}
       {{tkcadre| {{{NE51| {{ck|NE51}} }}} |style=gris }}
     </td>
     </td>
     <td style="width: 45px; height: 45px;">
     <td style="width: 45px; height: 45px;">
       {{tkcadre| |style=blanc }}
       {{tkcadre| {{{NE52| {{ck|NE52}} }}} |style=pro }}
     </td>
     </td>
     <td colspan="3" style="width: 45px; height: 45px;">
     <td style="width: 45px; height: 45px;">
       {{tkcadre| |style=pro }}
      {{tkcadre| {{{NE53| {{ck|NE53}} }}} |style=pro }}
    </td>
    <td style="width: 45px; height: 45px;">
       {{tkcadre| {{{NE54| {{ck|NE54}} }}} |style=pro }}
     </td>
     </td>
   </tr>
   </tr>
</table>


Ce modèle est à utiliser avec {{M|k}} : ce modèle est le coté « physique » d’une touche, et {{M|k}} le coté « logique ».
  <tr style="height: 45px;">
    <td style="width: 45px; height: 45px;">
      {{tkcadre| {{{ND51| {{ck|ND51}} }}} |style=pro }}
    </td>
    <td style="width: 45px; height: 45px;">
      {{tkcadre| {{{ND52| {{ck|ND52}} }}} |style=pro }}
    </td>
    <td style="width: 45px; height: 45px;">
      {{tkcadre| {{{ND53| {{ck|ND53}} }}} |style=pro }}
    </td>
    <td rowspan="2" cellspacing="0" style="width: 45px; height: 95px;">
      {{tkcadre| {{{ND54| {{ck|ND54}} }}} |style=blanc }}
    </td>
  </tr>


== Arguments ==
  <tr style="height: 45px;">
Il y a un argument anonyme qui le contenu de la touche elle-même, typiquement un modèle {{M|k}}, et un argument nommé '''style'''. Ce dernier a deux valeurs particulière : '''blanc''' pour les touches de lettres et de symboles et '''gris''' pour les autres touche (Control, Entrée…). Si '''style''' a une valeur différente, elle est copiée telle quelle dans l’attribut '''style''' de la table.
    <td style="width: 45px; height: 45px;">
      {{tkcadre| {{{NC51| {{ck|NC51}} }}} |style=pro }}
    </td>
    <td style="width: 45px; height: 45px;">
      {{tkcadre| {{{NC52| {{ck|NC52}} }}} |style=pro }}
    </td>
    <td style="width: 45px; height: 45px;">
      {{tkcadre| {{{NC53| {{ck|NC53}} }}} |style=pro }}
    </td>
  </tr>
 
  <tr style="height: 45px;">
    <td style="width: 45px; height: 45px;">
      {{tkcadre| {{{NB51| {{ck|NB51}} }}} |style=pro }}
    </td>
    <td style="width: 45px; height: 45px;">
      {{tkcadre| {{{NB52| {{ck|NB52}} }}} |style=pro }}
    </td>
    <td style="width: 45px; height: 45px;">
      {{tkcadre| {{{NB53| {{ck|NB53}} }}} |style=pro }}
    </td>
    <td rowspan="2" cellspacing="0" style="width: 45px; height: 95px;">
      {{tkcadre| {{{NRTR| {{ck|NRTR}} }}} |style=gris }}
    </td>
  </tr>


== Voir aussi ==
  <tr style="height: 45px;">
Ce modèle est à utiliser avec d’autres :
    <td colspan="2" style="width: 95px; height: 45px;">
* {{M|k}}
      {{tkcadre| {{{NA52| {{ck|NA52}} }}} |style=pro }}
* {{M|kcadre}}
    </td>
* {{M|clavier105}}
    <td style="width: 45px; height: 45px;">
* {{M|clavier105Bépo}}
      {{tkcadre| {{{NA53| {{ck|NA53}} }}} |style=pro }}
* {{M|morte}}
    </td>
  </tr>


</noinclude>
</table>

Dernière version du 23 octobre 2016 à 20:32

NE51
NE52
NE53
NE54
ND51
ND52
ND53
ND54
NC51
NC52
NC53
NB51
NB52
NB53
NRTR
NA52
NA53