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

De Forum des Usages Coopératifs

 
(4 révisions intermédiaires par un utilisateur sont masquées)
Ligne 2 : Ligne 2 :
 
{| class="wikitable" width="100%" style="padding:2px; margin:0;"
 
{| class="wikitable" width="100%" style="padding:2px; margin:0;"
 
|-
 
|-
!  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, établissement scolaire...) }}
| {{{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}}
| &#124;&#124;&#124;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}}
| &#124;&#124;&#124;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}}
| &#124;&#124;&#124;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 :
| &#124;&#124;&#124;field
+
| <nowiki>{{{field | website
    &#124; website
+
     | placeholder=monsite.tld
     &#124; placeholder=monsite.tld
+
}}}</nowiki>
&#125;&#125;&#125;
+
 
|-
 
|-
 
! {{Mandatory|Adresse postale}}
 
! {{Mandatory|Adresse postale}}
| &#124;&#124;&#124;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) :
| &#124;&#124;&#124;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}}
| &#124;&#124;&#124;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}}
| &#124;&#124;&#124;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 :
| &#124;&#124;&#124;field
+
| <nowiki>{{{field | cedex}}}</nowiki>
    &#124; cedex
+
&#125;&#125;&#125;
+
 
|-
 
|-
 
! {{Mandatory|Département}}
 
! {{Mandatory|Département}}
| &#124;&#124;&#124;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><noinclude>[[Category:Bazar/Template]]{{Modèle:BazarDoc|modèle}}</noinclude>
|}</includeonly>
+

Version actuelle en date du 13 février 2018 à 18:00


Bittorrent.png

Portail :
Sémantique bazar

Il y a actuellement 19 articles liés à ce sujet.


Documentation


[create]

Template-info.svg Documentation du BazaR

Pour utiliser ce modèle, mettez {{Modèle:Form/Foaf}} dans la page où vous voulez l'utiliser.

Ce modèle n'a pas de documentation, s'il vous plaît ajoutez en