« Module:Biblio » : différence entre les versions

Contenu supprimé Contenu ajouté
Ajout dictionnaire,
dictionnaire : ajout auteur(s) ouvrage ; toutes fonctions : correction paramètres de Outils.extractArgs.
Ligne 8 :
 
Biblio.ouvrage = function ( frame )
local args = Outils.extractArgs( frame, 'titre' )
local Ouvrage = require( 'Module:Biblio/Ouvrage' )
return Ouvrage.ouvrage( args )
Ligne 15 :
 
Biblio.chapitre = function ( frame )
local args = Outils.extractArgs( frame, 'titre', 'titre chapitre', 'titre ouvrage' )
local Ouvrage = require( 'Module:Biblio/Ouvrage' )
return Ouvrage.chapitre( args )
Ligne 22 :
 
Biblio.article = function ( frame )
local args = Outils.extractArgs( frame, 'titre', 'périodique', 'année' )
local Ouvrage = require( 'Module:Biblio/Article' )
return Ouvrage.article( args )
Ligne 29 :
 
Biblio.lienWeb = function( frame )
local args = Outils.extractArgs( frame, 'url', 'titre', 'title' )
local Ouvrage = require( 'Module:Biblio/Lien web' )
return Ouvrage.lienWeb( args )
Ligne 45 :
args.titre = args['titre ouvrage']
args['sous-titre'] = args['sous-titre ouvrage']
args.auteur1 = args['auteur ouvrage']
args.auteurs = args['auteurs ouvrage']
return Ouvrage.ouvrage( args )
end
Ligne 51 ⟶ 53 :
 
Biblio.ISBN = function ( frame )
local args = Outils.extractArgs( frame, 'isbn', 'ISBN', 'iSbn1', 'ISBN1' )
local References = require( 'Module:Biblio/Références' )
return '<small>(' .. References.ISBN( args ) .. ')</small>'
Ligne 58 ⟶ 60 :
 
Biblio.ISSN = function ( frame )
local args = Outils.extractArgs( frame, 'issn', 'ISSN', 'issn1', 'ISSN1' )
local References = require( 'Module:Biblio/Références' )
return References.ISSN( args )
Ligne 65 ⟶ 67 :
 
Biblio.enLigne = function ( frame )
local args = Outils.extractArgs( frame, 'lien', 'url' )
local References = require( 'Module:Biblio/Références' )
return '<small>[' .. References.enLigne( args ) .. ']</small>'