Actions

Modèle

Site web : Différence entre versions

De erg

Ligne 15 : Ligne 15 :
 
Modifiez la page pour voir le texte du modèle.
 
Modifiez la page pour voir le texte du modèle.
 
{{#cargo_declare:_table=Site_web|Site_url=URL|Feed_url=URL|Last_updated=Datetime|Description=Wikitext|Scraper=String|Title_selector=Text|Content_selector=Text|Exclude_selector=Text}}
 
{{#cargo_declare:_table=Site_web|Site_url=URL|Feed_url=URL|Last_updated=Datetime|Description=Wikitext|Scraper=String|Title_selector=Text|Content_selector=Text|Exclude_selector=Text}}
</noinclude><includeonly>{{#cargo_store:_table=Site_web|Site_url={{{Site_url|}}}|Feed_url={{{Feed_url|}}}|Last_updated={{{Last_updated|}}}|Description={{{Description|}}}|Scraper={{{Scraper|}}}|Title_selector={{{Title_selector|}}}|Content_selector={{{Content_selector|}}}|Exclude_selector={{{Exclude_selector|}}} }}{{{ Description| }}}
+
</noinclude><includeonly>{{#cargo_store:_table=Site_web|Site_url={{{Site_url|}}}|Feed_url={{{Feed_url|}}}|Last_updated={{{Last_updated|}}}|Description={{{Description|}}}|Scraper={{{Scraper|}}}|Title_selector={{{Title_selector|}}}|Content_selector={{{Content_selector|}}}|Exclude_selector={{{Exclude_selector|}}} }}{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
 
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">Site satellite <span class="rssicon">&nbsp;</span></span>
 
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">Site satellite <span class="rssicon">&nbsp;</span></span>
 
|-
 
|-
Ligne 31 : Ligne 30 :
 
| {{{Scraper|}}}
 
| {{{Scraper|}}}
 
|}
 
|}
 +
{{{ Description| }}}
 +
 +
{{Site web/Modifications récentes}}
  
 
[[Catégorie:Site web]]
 
[[Catégorie:Site web]]
 
</includeonly>
 
</includeonly>

Version du 13 mars 2018 à 16:27

Ceci est le modèle « Site web ». Il devrait être appelé selon le format suivant :

{{Site web
|Site_url=
|Feed_url=
|Last_updated=
|Description=
|Scraper=
|Title selector=
|Content selector=
|Exclude selector=
}}

Modifiez la page pour voir le texte du modèle. Ce modèle définit le tableau « Site_web ». Voir le tableau.