Derniers inscrits sur membres du 1er site de rencontres sur internet!

Trucs et astuces

De TroSexy - Le Wiki Sexe.

Sommaire

 Trucs et Astuces

Voici quelques astuces pour ajouter du contenu à un article grâce aux extensions de MediaWiki.

Intégration d'une vidéo

EmbedVideo++

The EmbedVideo parser function expects to be called in either of the following ways:

  • {{#ev:service|id}} -or-
  • {{#ev:service|id|width}}

Where:

  • service is the name of a video sharing service.
  • id is the id of the video to include
  • width (optional) is the width in pixels of the viewing area (height will be determined automatically)

For example, to include the famous "evolution of dance" YouTube video, you'd enter:

{{#ev:youtube|dMH0bHeiRNg}}

And if you wanted scaled down to thumbnail size, you could use:

{{#ev:youtube|dMH0bHeiRNg|100}}

L'intégration est possible pour :

Intégration d'un flux RSS

Extension:RSS

Use one section between <rss>-tags for each feed. The rss section may contain parameters separated by a pipe ("|"), just like links and templates. These parameters are supported:

  • charset=… The charset used by the feed. iconv is used to convert this.
  • short Do not show the description text for each news item.
  • date Shows date/time stamp for each news item.
  • max=x Shows x most recent headlines.
  • highlight= term1 term2 The terms separated by a space are highlighted.
  • filter= term1 term2 Show only RSS items containing at least one of the terms.
  • filterout= term1 term2 Do not show any RSS items containing any terms
  • reverse Display the RSS items in reverse order

This extension supports filtering-out (i.e. grep -v) items based on title when in short list mode. It only displays unique titles.

Par Exemple,

<rss>http://rss.slashdot.org/Slashdot/slashdot|charset=UTF-8|short|date|max=5</rss>

Utilisation de modèles

Pour créer un modèle : Modèle:Nomdumodèle

Pour intégrer un modèle à une page : {{NomduModèle}}

Liste des modèles existants :

Redirection

#REDIRECT [[pagename]]

CategoryTagCloud

<tagcloud>exclude=television,celebrities,food,yoga</tagcloud>

Galerie d'images

<gallery>
Fichier:Pellicule effet.jpg | N° 1
Fichier:Pellicule effet2.jpg | N° 2
Fichier:Pellicule effet3.jpg | N°3
</gallery>
Ce qui donne :
<gallery perrow="5" widths="75" heights="55">
Fichier:Exemple.jpg|[[Orgasme]]
Fichier:Wiki.png|Avec un commentaire
Fichier:Wiki.png
Fichier:Wiki.png|[[Accueil|Lien]] avec un lien dans le commentaire.
Fichier:Exemple.jpg|[[Sexe]]
Fichier:Wiki.png|Avec un commentaire
Fichier:Wiki.png
Fichier:Wiki.png|[[Accueil|Lien]] avec un lien dans le commentaire.
Fichier:Exemple1.jpg|[[Accueil]]
Fichier:Exemple2.jpg|Un [[trio]]
</gallery>
Ce qui donne