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, ...) }}
| <nowiki>{{{field | organisme
+
| &#123;&#123;&#123;field
     | input type=text with autocomplete
+
    &#124; organisme
     | mandatory
+
     &#124; input type=text with autocomplete
     | values from property=Belongs to
+
     &#124; mandatory
}}}</nowiki>
+
     &#124; values from property=Belongs to
 +
&#125;&#125;&#125;
 
! {{Mandatory|Geolocalisation}}
 
! {{Mandatory|Geolocalisation}}
 
|-
 
|-
 
! {{Mandatory|Fonction}}
 
! {{Mandatory|Fonction}}
| <nowiki>{{{field | fonction
+
| &#124;&#124;&#124;field
     | input type=text with autocomplete
+
    &#124; fonction
     | mandatory
+
     &#124; input type=text with autocomplete
     | values from property=Holds the position of
+
     &#124; mandatory
}}}</nowiki>
+
     &#124; values from property=Holds the position of
 +
&#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}}
| <nowiki>{{{field | telephone
+
| &#124;&#124;&#124;field
     | input type=text
+
    &#124; telephone
     | mandatory
+
     &#124; input type=text
     | placeholder=xx xx xx xx xx
+
     &#124; mandatory
}}}</nowiki>
+
     &#124; placeholder=xx xx xx xx xx
|  width="55%"  rowspan = 9 | <nowiki>{{{field | coordinates
+
&#125;&#125;&#125;
     | input type=googlemaps
+
|  width="55%"  rowspan = 9 | &#123;&#123;&#123;field
     | width=100% | height=300
+
    &#124; coordinates
     | centre=46.8627932897649, 2.664651767578107
+
     &#124; input type=googlemaps
     | autozoom=off
+
     &#124; width=100%
     | zoom=5
+
    &#124; height=300
}}}</nowiki>
+
     &#124; centre=46.8627932897649, 2.664651767578107
 +
     &#124; autozoom=off
 +
     &#124; zoom=5
 +
&#125;&#125;&#125;
 
|-
 
|-
 
! {{Mandatory|Adresse mail}}
 
! {{Mandatory|Adresse mail}}
| <nowiki>{{{field | email
+
| &#124;&#124;&#124;field
     | input type=text
+
    &#124; email
     | mandatory
+
     &#124; input type=text
     | placeholder=identifiant@domain.tld
+
     &#124; mandatory
}}}</nowiki>
+
     &#124; placeholder=identifiant@domain.tld
 +
&#125;&#125;&#125;
 
|-
 
|-
 
! Site web :
 
! Site web :
| <nowiki>{{{field | website
+
| &#124;&#124;&#124;field
     | placeholder=monsite.tld
+
    &#124; website
}}}</nowiki>
+
     &#124; placeholder=monsite.tld
 +
&#125;&#125;&#125;
 
|-
 
|-
 
! {{Mandatory|Adresse postale}}
 
! {{Mandatory|Adresse postale}}
| <nowiki>{{{field | adress_1
+
| &#124;&#124;&#124;field
     | input type=text
+
    &#124; adress_1
     | mandatory
+
     &#124; input type=text
}}}</nowiki>
+
     &#124; mandatory
 +
&#125;&#125;&#125;
 
|-
 
|-
 
! Adresse (suite) :
 
! Adresse (suite) :
| <nowiki>{{{field | adress_2
+
| &#124;&#124;&#124;field
     | input type=text
+
    &#124; adress_2
}}}</nowiki>
+
     &#124; input type=text
 +
&#125;&#125;&#125;
 
|-
 
|-
 
! {{Mandatory|Code postal}}
 
! {{Mandatory|Code postal}}
| <nowiki>{{{field | zipcode
+
| &#124;&#124;&#124;field
     | input type=text with autocomplete|mandatory
+
    &#124; zipcode
     | placeholder=29200
+
     &#124; input type=text with autocomplete|mandatory
     | values from property=Has zipcode
+
     &#124; placeholder=29200
}}}</nowiki>
+
     &#124; values from property=Has zipcode
 +
&#125;&#125;&#125;
 
|-
 
|-
 
! {{Mandatory|Ville}}
 
! {{Mandatory|Ville}}
| <nowiki>{{{field | city
+
| &#124;&#124;&#124;field
     | input type=text with autocomplete
+
    &#124; city
     | mandatory
+
     &#124; input type=text with autocomplete
     | placeholder=Brest
+
     &#124; mandatory
     | values from property=From city
+
     &#124; placeholder=Brest
}}}</nowiki>
+
     &#124; values from property=From city
 +
&#125;&#125;&#125;
 
|-
 
|-
 
! Cedex :
 
! Cedex :
| <nowiki>{{{field | cedex}}}</nowiki>
+
| &#124;&#124;&#124;field
 +
    &#124; cedex
 +
&#125;&#125;&#125;
 
|-
 
|-
 
! {{Mandatory|Département}}
 
! {{Mandatory|Département}}
| <nowiki>{{{field | departement
+
| &#124;&#124;&#124;field
     | input type=combobox
+
    &#124; departement
     | mandatory
+
     &#124; input type=combobox
     | values from property=is_list_Département
+
     &#124; mandatory
     | placeholder=Finistère
+
     &#124; values from property=is_list_Département
}}}</nowiki>
+
     &#124; placeholder=Finistère
 +
&#125;&#125;&#125;
 
|}</includeonly>
 
|}</includeonly>

Version du 29 avril 2014 à 12:31