Bienvenue sur le wiki de Nuit debout, nous sommes le 3027 mars.
Modification de Module:Documentation
Attention : Vous n’êtes pas connecté. Votre adresse IP sera visible de tout le monde si vous faites des modifications. Si vous vous connectez ou créez un compte, vos modifications seront attribuées à votre nom d’utilisateur, entre autres avantages.
Cette modification va être défaite. Veuillez vérifier les modifications ci-dessous, puis publier si c’est bien ce que vous voulez faire.
Version actuelle | Votre texte | ||
Ligne 41 : | Ligne 41 : | ||
:css('border-bottom', '1px solid #aaa') | :css('border-bottom', '1px solid #aaa') | ||
:css('padding-bottom', '3px') | :css('padding-bottom', '3px') | ||
− | :wikitext('[[Fichier:Template-info.png|50px|alt=|link=]]') | + | :wikitext('[[Fichier:Template-info.png|50px|alt=Documentation|link=]]') |
:tag('span') | :tag('span') | ||
:css('font-weight', 'bold') | :css('font-weight', 'bold') | ||
:css('font-size', '125%') | :css('font-size', '125%') | ||
− | |||
:wikitext(' ') | :wikitext(' ') | ||
:wikitext(args.titre or 'Documentation') | :wikitext(args.titre or 'Documentation') | ||
Ligne 53 : | Ligne 52 : | ||
local editionLien = res:tag('span') | local editionLien = res:tag('span') | ||
:addClass('mw-editsection plainlinks') | :addClass('mw-editsection plainlinks') | ||
− | |||
:wikitext('[') | :wikitext('[') | ||
Ligne 151 : | Ligne 149 : | ||
res | res | ||
:newline() | :newline() | ||
− | :tag('div') | + | :tag('div', {selfClosing = true}) |
:css('clear', 'both') | :css('clear', 'both') | ||
Ligne 160 : | Ligne 158 : | ||
local res = mw.html.create('div') | local res = mw.html.create('div') | ||
:css('border-top', '1px solid #aaa') | :css('border-top', '1px solid #aaa') | ||
− | :css('margin', ' | + | :css('margin', '1em 0 0') |
local contenuParagraphe = res | local contenuParagraphe = res | ||
Ligne 171 : | Ligne 169 : | ||
if args.contenu then | if args.contenu then | ||
if args.notice then | if args.notice then | ||
− | contenuParagraphe:wikitext(args.notice | + | contenuParagraphe:wikitext(args.notice) |
else | else | ||
contenuParagraphe | contenuParagraphe | ||
Ligne 280 : | Ligne 278 : | ||
if page.subpageText == 'Bac à sable' then | if page.subpageText == 'Bac à sable' then | ||
res | res | ||
− | :tag('div | + | :tag('div', {selfClosing = true}) |
− | + | :done() | |
− | + | ||
:wikitext(mw.getCurrentFrame():expandTemplate{title = 'Sous-page de bac à sable'}) | :wikitext(mw.getCurrentFrame():expandTemplate{title = 'Sous-page de bac à sable'}) | ||
end | end | ||
Ligne 339 : | Ligne 336 : | ||
return p | return p | ||
+ |