Modèle:Form/Foaf : Différence entre versions

De Forum des Usages Coopératifs

Ligne 3 : Ligne 3 :
 
|-
 
|-
 
!  width="15%" | {{Mandatory|Organisme}}{{#info: Il s'agit du nom de l'organisme auquel vous appartenez (association, collectivité, entreprise, ...) }}
 
!  width="15%" | {{Mandatory|Organisme}}{{#info: Il s'agit du nom de l'organisme auquel vous appartenez (association, collectivité, entreprise, ...) }}
| {{{field
+
| <nowiki>{{{field | organisme
    &#124; organisme
+
     | input type=text with autocomplete
     &#124; input type=text with autocomplete
+
     | mandatory
     &#124; mandatory
+
     | values from property=Belongs to
     &#124; values from property=Belongs to
+
}}}</nowiki>
&#125;&#125;&#125;
+
 
! {{Mandatory|Geolocalisation}}
 
! {{Mandatory|Geolocalisation}}
 
|-
 
|-
 
! {{Mandatory|Fonction}}
 
! {{Mandatory|Fonction}}
| &#123;&#123;&#123;field
+
| <nowiki>{{{field | fonction
    &#124; fonction
+
     | input type=text with autocomplete
     &#124; input type=text with autocomplete
+
     | mandatory
     &#124; mandatory
+
     | values from property=Holds the position of
     &#124; values from property=Holds the position of
+
}}}</nowiki>
&#125;&#125;&#125;
+
 
| renseignez le second champ  texte en indiquant l'adresse et la ville puis cliquez sur le bouton "Estimer les coordonnées"
 
| renseignez le second champ  texte en indiquant l'adresse et la ville puis cliquez sur le bouton "Estimer les coordonnées"
 
|-
 
|-
 
! {{Mandatory|Téléphone}}
 
! {{Mandatory|Téléphone}}
| &#123;&#123;&#123;field
+
| <nowiki>{{{field | telephone
    &#124; telephone
+
     | input type=text
     &#124; input type=text
+
     | mandatory
     &#124; mandatory
+
     | placeholder=xx xx xx xx xx
     &#124; placeholder=xx xx xx xx xx
+
}}}</nowiki>
&#125;&#125;&#125;
+
|  width="55%"  rowspan = 9 | <nowiki>{{{field | coordinates
|  width="55%"  rowspan = 9 | &#123;&#123;&#123;field
+
     | input type=googlemaps
    &#124; coordinates
+
     | width=100% | height=300
     &#124; input type=googlemaps
+
     | centre=46.8627932897649, 2.664651767578107
     &#124; width=100%
+
     | autozoom=off
    &#124; height=300
+
     | zoom=5
     &#124; centre=46.8627932897649, 2.664651767578107
+
}}}</nowiki>
     &#124; autozoom=off
+
     &#124; zoom=5
+
&#125;&#125;&#125;
+
 
|-
 
|-
 
! {{Mandatory|Adresse mail}}
 
! {{Mandatory|Adresse mail}}
| &#123;&#123;&#123;field
+
| <nowiki>{{{field | email
    &#124; email
+
     | input type=text
     &#124; input type=text
+
     | mandatory
     &#124; mandatory
+
     | placeholder=identifiant@domain.tld
     &#124; placeholder=identifiant@domain.tld
+
}}}</nowiki>
&#125;&#125;&#125;
+
 
|-
 
|-
 
! Site web :
 
! Site web :
| &#123;&#123;&#123;field
+
| <nowiki>{{{field | website
    &#124; website
+
     | placeholder=monsite.tld
     &#124; placeholder=monsite.tld
+
}}}</nowiki>
&#125;&#125;&#125;
+
 
|-
 
|-
 
! {{Mandatory|Adresse postale}}
 
! {{Mandatory|Adresse postale}}
| &#123;&#123;&#123;field
+
| <nowiki>{{{field | adress_1
    &#124; adress_1
+
     | input type=text
     &#124; input type=text
+
     | mandatory
     &#124; mandatory
+
}}}</nowiki>
&#125;&#125;&#125;
+
 
|-
 
|-
 
! Adresse (suite) :
 
! Adresse (suite) :
| &#123;&#123;&#123;field
+
| <nowiki>{{{field | adress_2
    &#124; adress_2
+
     | input type=text
     &#124; input type=text
+
}}}</nowiki>
&#125;&#125;&#125;
+
 
|-
 
|-
 
! {{Mandatory|Code postal}}
 
! {{Mandatory|Code postal}}
| &#123;&#123;&#123;field
+
| <nowiki>{{{field | zipcode
    &#124; zipcode
+
     | input type=text with autocomplete|mandatory
     &#124; input type=text with autocomplete|mandatory
+
     | placeholder=29200
     &#124; placeholder=29200
+
     | values from property=Has zipcode
     &#124; values from property=Has zipcode
+
}}}</nowiki>
&#125;&#125;&#125;
+
 
|-
 
|-
 
! {{Mandatory|Ville}}
 
! {{Mandatory|Ville}}
| &#123;&#123;&#123;field
+
| <nowiki>{{{field | city
    &#124; city
+
     | input type=text with autocomplete
     &#124; input type=text with autocomplete
+
     | mandatory
     &#124; mandatory
+
     | placeholder=Brest
     &#124; placeholder=Brest
+
     | values from property=From city
     &#124; values from property=From city
+
}}}</nowiki>
&#125;&#125;&#125;
+
 
|-
 
|-
 
! Cedex :
 
! Cedex :
| &#123;&#123;&#123;field
+
| <nowiki>{{{field | cedex}}}</nowiki>
    &#124; cedex
+
&#125;&#125;&#125;
+
 
|-
 
|-
 
! {{Mandatory|Département}}
 
! {{Mandatory|Département}}
| &#123;&#123;&#123;field
+
| <nowiki>{{{field | departement
    &#124; departement
+
     | input type=combobox
     &#124; input type=combobox
+
     | mandatory
     &#124; mandatory
+
     | values from property=is_list_Département
     &#124; values from property=is_list_Département
+
     | placeholder=Finistère
     &#124; placeholder=Finistère
+
}}}</nowiki>
&#125;&#125;&#125;
+
 
|}</includeonly>
 
|}</includeonly>

Version du 29 avril 2014 à 12:35