Wikikilden nowikisource https://no.wikisource.org/wiki/Wikikilden:Forside MediaWiki 1.47.0-wmf.23 first-letter Medium Spesial Diskusjon Bruker Brukerdiskusjon Wikikilden Wikikilden-diskusjon Fil Fildiskusjon MediaWiki MediaWiki-diskusjon Mal Maldiskusjon Hjelp Hjelpdiskusjon Kategori Kategoridiskusjon Forfatter Forfatterdiskusjon Side Sidediskusjon Indeks Indeksdiskusjon Undertekster Undertekstdiskusjon Modul Moduldiskusjon Arrangement Arrangementsdiskusjon Mal:Dokumentasjon 10 3584 339293 124857 2026-10-10T13:21:09Z Tholme 1359 Erstatter siden med '{{#invoke:documentation|main}}' 339293 wikitext text/x-wiki {{#invoke:documentation|main}} gu7dkwkxnrequjiuw38hbtjihjxr36x Mal:Forfatter 10 9188 339314 306590 2026-10-10T15:34:55Z Kåre-Olav 25 vis bare ett fødested (hvis flere stedsnavn er angitt i wd) 339314 wikitext text/x-wiki <includeonly>{{forfatter/Tabell | navn = {{{navn|{{#invoke:wd|label}}}}} | alternative_navn = {{{alternative_navn|{{#invoke:wd|properties|P742}}}}} | sorter = {{{sorter|}}} | beskrivelse = {{{beskrivelse|{{#invoke:wd|description}}}}} | annet = {{{annet|}}} | født = {{#invoke:WikidataDato|norskDato|pv=P569}} | død = {{#invoke:WikidataDato|norskDato|pv=P570}} | fødested = {{#invoke:wd|property|P19}} | dødssted = {{#invoke:wd|property|P20}} | fødeår = {{#invoke:WikidataDato|Aar|pv=P569}} | dødsår = {{#invoke:WikidataDato|Aar|pv=P570}} | bilde = {{#invoke:wd|property|raw|P18}} | wikipedia = {{#invoke:Wikibase|sitelink|{{#invoke:Wikibase|id}}|nowiki}} | wikiquote = {{#invoke:Wikibase|sitelink|{{#invoke:Wikibase|id}}|nowikiquote}} | commons = {{#invoke:Wikibase|sitelink|{{#invoke:Wikibase|id}}|commonswiki}} | wikidata = {{#invoke:wd|label|raw}} | bibsysID = {{#invoke:wd|property|raw|P1015}} | signatur = {{#invoke:wd|property|raw|P109}} }}{{KategoriKjønn}} {{DEFAULTSORT:{{#if:{{{sorter|}}}|{{{sorter}}}| {{#if:{{#invoke:wd|property|raw|P734}}|{{#invoke:wd|property|P734}}, {{#invoke:wd|property|P735}}|{{PAGENAME}}}}}}}} [[Kategori:Forfattere]] </includeonly><noinclude>{{dokumentasjon}}[[Kategori:Maler]]</noinclude> pxxg4b0wtloh4vspf4lk8ncmtpx83p3 Side:Halvhundrede Digte.djvu/120 104 42666 339317 199531 2026-10-11T11:48:06Z ~2026-54513-47 6344 Rettet "ssagde" til "sagde". 339317 proofread-page text/x-wiki <noinclude><pagequality level="3" user="V85" /></noinclude><poem> Med Et blev der tyst i det lystige Lag; der hørtes fra Fjeldet et grueligt Brag og et Brøl som af hundrede Tyre. „Nu er det vel mørkt,“ sagde Dyre. Og Dyre gik flux til Totak-Vand og løste sin Baad behendigt; men da han kom nær til den anden Strand, det raabte ham an ubendigt: „„Hvem er det som pusler i Kjernet nu?““ „Det er nok Dyre fra Vaa. — End du?, der rusler i Urer og Myre, saa mørkt som det er?“ spurgte Dyre. „„Jeg er fra Aashoug og skal afsted til Glomshougs-Møerne mine. Læg hid til Stranden og tag mig med, og brug saa Kræfterne dine!““ „Ja, let dig først,“ gav Dyre til Svar, „For Prammen er klein, og jeg tænker, du har en Krop som de sværeste Fyre, og husk, det er mørkt,“ sagde Dyre. </poem><noinclude> <references/></noinclude> bwt28xlg5umkypsjyj2bsgz4agip8fv Modul:Header template 828 64167 339294 314045 2026-10-10T14:49:40Z Kåre-Olav 25 hvis vi skal ha grønne innholdsfortegnelser, må headeren ha en lignende farge 339294 Scribunto text/plain function cleanCoinsParameter( param ) param = string.gsub( param, "%[%[.*|(.*)%]%]", "%1" ) return string.gsub( param, "%[%[(.*)%]%]", "%1" ) end function toAbsoluteTitle( relative_title, base_title ) --TODO: hacky implementation return mw.getCurrentFrame():callParserFunction( '#rel2abs', { relative_title, tostring( base_title or mw.title.getCurrentTitle() ) } ) end function formatString( str, schema_property ) return tostring(mw.html.create('span') :attr('itemprop', schema_property) :wikitext(str) ) end function formatYear( date, schema_property ) year = tonumber( date ) if year == nil or year < 1000 then return tostring(mw.html.create('span') :attr('itemprop', schema_property) :wikitext(date)) else return tostring(mw.html.create('time') :attr('datetime', year) :attr('itemprop', schema_property) :wikitext(date)) end end function formatPublisherWithName( name ) return tostring(mw.html.create('span') :attr('itemprop', 'publisher') :attr('itemscope', '') :attr('itemtype', 'http://schema.org/Organization') --TODO: always an Organization? :tag('span') :attr('itemprop', 'name') :wikitext(name) :done() ) end function formatAuthorLink( page, label, schema_property ) -- TODO: itemid quand on pourra répérer les ids Wikidata https://phabricator.wikimedia.org/T152909 local title = mw.title.new( page ) if title == nil then return tostring(mw.html.create('span') :attr('itemprop', schema_property) :attr('itemscope', '') :attr('itemtype', 'http://schema.org/Person') --TODO: not always true (but nearly) :wikitext('[[' .. page .. '|<span itemprop="name">' .. label .. '</span>]]') ) end if title.isRedirect then title = title.redirectTarget end return tostring(mw.html.create('span') :attr('itemprop', schema_property) :attr('itemscope', '') :attr('itemtype', 'http://schema.org/Person') --TODO: not always true (but nearly) :wikitext('[[' .. title.fullText .. '|<span itemprop="name">' .. label .. '</span>]]') :tag('link') :attr('itemprop', 'mainEntityOfPage') :attr('href', title:fullUrl(nil, 'canonical')) :done() ) end function parseAuthorWikitext( wikitext, schema_property ) wikitext = mw.ustring.gsub( wikitext, '%[%[([^|]*)|(.*)%]%]', function( page, link ) return formatAuthorLink( page, link, schema_property ) end ) wikitext = mw.ustring.gsub( wikitext, '%[%[([^|]*)%]%]', function( page ) return formatAuthorLink( page, page, schema_property ) end ) return wikitext end function formatTitleLink( page, label, schema_property ) local title = mw.title.new( toAbsoluteTitle( page ) ) if title == nil then return '[[' .. page .. '|' .. label .. ']]' end if title.isRedirect then title = title.redirectTarget end local tag = mw.html.create('span') :attr('itemprop', schema_property) :attr('itemscope', '') :attr('itemtype', 'http://schema.org/CreativeWork') --TODO: find a more relenvant type :wikitext('[[' .. title.fullText .. '|<span itemprop="name">' .. label .. '</span>]]') -- :tag('link') -- :attr('itemprop', 'mainEntityOfPage') -- :attr('href', title:fullUrl(nil, 'canonical')) -- :done() return tostring(tag) end function parseTitleWikitext( wikitext, schema_property ) wikitext = mw.ustring.gsub( wikitext, '%[%[([^|]*)|(.*)%]%]', function( page, link ) return formatTitleLink( page, link, schema_property ) end ) wikitext = mw.ustring.gsub( wikitext, '%[%[([^|]*)%]%]', function( page ) return formatTitleLink( page, page, schema_property ) end ) return wikitext end function headerTemplate( frame ) local parentFrame = frame:getParent() local args = parentFrame.args local page = mw.title.getCurrentTitle() local item = mw.wikibase.getEntity() local headerType = args.value if args.header_type and args.header_type ~= '' then headerType = args.header_type end headerType = mw.ustring.lower( headerType ) --Permet d'écrire le type en majuscule ou en minuscule local erSammendrag = (headerType == 'sammendrag' or headerType == 'toc') --Custom page numbers local from = '' if args.displayed_from and args.displayed_from ~= '' then from = args.displayed_from elseif args.from then from = args.from end local to = '' if args.displayed_to and args.displayed_to ~= '' then to = args.displayed_to elseif args.to then to = args.to end local schema_type = 'http://schema.org/CreativeWork' if args.type then if args.type == 'book' then if erSammendrag then schema_type = 'http://schema.org/Book' else schema_type = 'http://schema.org/Chapter' end elseif args.type == 'collection' then schema_type = 'https://schema.org/Collection' elseif args.type == 'journal' then if erSammendrag then schema_type = 'http://schema.org/PublicationVolume' else schema_type = 'http://schema.org/Article' end elseif args.type == 'phdthesis' then if erSammendrag then schema_type = 'http://schema.org/Thesis' else schema_type = 'http://schema.org/Chapter' end end end --Début du header local html = mw.html.create() local container = html:tag('div') :attr('itemscope', '') :attr('itemtype', schema_type) if item ~= nil then container:attr('itemid', 'http://www.wikidata.org/entity/' .. item.id) end classement( parentFrame, page, args ) if args.header_type == 'empty' then if args.sammendrag then container:tag( 'div' ) :addClass('ws-summary') :css('margin-top', '1em') :newline() :wikitext(args.sammendrag) end return html end local headertemplate = container:tag('div') :attr('id', 'headertemplate') :addClass('ws-noexport') :tag('div') -- if args.type == 'journal' then -- headertemplate:addClass('headertemplate-journal') -- else headertemplate:addClass('headertemplate') :css ('border-top', '1px solid var(--border-color-success, #ACA)') :css('background-color', 'var(--background-color-success-subtle, #132821)') -- end --Forfatter if args.forfatter and args.forfatter ~= '' then headertemplate:tag('div') :addClass('headertemplate-author') :wikitext(parseAuthorWikitext(args.forfatter, 'author')) end --Titre local tittel = formatString( page.baseText, 'name' ) if args.type == 'collection' then if args.samling and args.samling ~= '' then -- Commenté pour tester avec uniquement le nom du recueil, le titre lui est déjà -- dans le navigateur et fréquemment en début de la page. -- tittel = tittel .. '&#32;— <i>' .. args.samling .. '</i>' tittel = '<i>' .. parseTitleWikitext(args.samling, 'isPartOf') .. '</i>' elseif args.current and args.current ~= '' then tittel = formatString( args.current, 'name' ) else if erSammendrag then tittel = formatString( tittel, 'name' ) else tittel = parseTitleWikitext(tittel, 'isPartOf') end end if args.publication and args.publication ~= '' then tittel = tittel .. ' <span style="font-size:90%;">(' .. args.publication .. ')</span>' end elseif args.type == 'journal' then if erSammendrag then tittel = formatString( args.tittel, 'name' ) elseif args.current and args.current ~= '' then tittel = formatString( args.current, 'name' ) else tittel = parseTitleWikitext(tittel, 'isPartOf') end else if args.tittel then tittel = args.tittel end if erSammendrag then tittel = formatString( tittel, 'name' ) else tittel = parseTitleWikitext(tittel, 'isPartOf') end if args.publication and args.publication ~= '' then tittel = tittel .. ' <span style="font-size:90%;">(' .. args.publication .. ')</span>' end end if erSammendrag and args['undertittel'] and args['undertittel'] ~= '' then tittel = tittel .. ' <br/><small>' .. args['undertittel'] .. '</small>' end headertemplate:tag('div') :addClass('headertemplate-title') :wikitext(tittel) --References local references = headertemplate:tag('div') :addClass('headertemplate-reference') if args.oversetter and args.oversetter ~= '' then local translatorStr = 'Oversatt av ' .. parseAuthorWikitext(args.oversetter, 'translator') if string.lower(args.oversetter) == 'anonym' then translatorStr = "Anonym oversetter" elseif string.lower(args.oversetter) == 'ukjent' then translatorStr = "Ukjent oversetter" end references:wikitext(translatorStr .. '.') :tag('br') end if erSammendrag and args.illustrator and args.illustrator ~= '' then references:wikitext('Illustrert av ' .. parseAuthorWikitext(args.illustrator, 'illustrator') .. '.') :tag('br') end if erSammendrag and args.bind and args.bind ~= '' then references:wikitext( formatString( args.bind, 'volumeNumber' ) ) :tag('br') end local infos = {} --Liste des données à afficher séparés par une virgule if args.type == 'collection' then if args.tittel and args.tittel ~= '' then table.insert( infos, '<i>' .. args.tittel .. '</i>' ) end if args.utgiver and args.utgiver ~= '' then if args.type == 'collection' then table.insert( infos, 'utgitt av ' .. parseAuthorWikitext( args.utgiver, 'editor' ) ) else table.insert( infos, 'Utgitt av ' .. parseAuthorWikitext( args.utgiver, 'editor' ) ) end end if args.forlag and args.forlag ~= '' then table.insert( infos, formatPublisherWithName( args.forlag ) ) end if args.ar and args.ar ~= '' then table.insert( infos, formatYear( args.ar, 'datePublished' ) ) end if not erSammendrag then if args.bind and args.bind ~= '' then table.insert( infos, formatString( args.bind, 'volumeNumber' ) ) end end elseif args.type == 'journal' then if not erSammendrag then table.insert( infos, '<i>' .. args.tittel .. '</i>' ) if args.bind and args.bind ~= '' then table.insert( infos, formatString( args.bind, 'volumeNumber' ) ) end end if args.ar and args.ar ~= '' then table.insert( infos, formatYear( args.ar, 'datePublished' ) ) end else if args.utgiver and args.utgiver ~= '' then table.insert( infos, 'Utgitt av ' .. parseAuthorWikitext( args.utgiver, 'editor' ) ) end if args.forlag and args.forlag ~= '' then table.insert( infos, formatPublisherWithName( args.forlag ) ) end if args.ar and args.ar ~= '' then table.insert( infos, formatYear( args.ar, 'datePublished' ) ) end end local line = '' if infos ~= {} then line = table.concat( infos, ',&nbsp;' ) end --Parenthèse if not erSammendrag and from ~= '' then local temp = '' if args.bind and args.bind ~= '' and args.type ~= 'collection' and args.type ~= 'journal' then temp = formatString( args.bind, 'volumeNumber' ) if from ~= to or from ~= '-' then temp = temp .. ',&nbsp;' end end if from ~= to or from ~= '-' then temp = temp .. pagination( from, to ) end if temp ~= '' then line = line .. ' (' .. temp .. ')' end end if line ~= '' then references:wikitext(line .. '.') end local subheader = container:tag('div') :attr('id', 'subheader') :addClass('ws-noexport') :css('margin-bottom', '1.5em') if erSammendrag then local texteEntier = mw.title.new( page.prefixedText .. '/Texte entier' ) if texteEntier and texteEntier.exists then subheader:tag('div') :css('text-align', 'center') :wikitext('[[' .. texteEntier.fullText .. '|Texte sur une seule page]]') end end if (not erSammendrag or (args.header_type and args.header_type =='toc')) and (args.prev or args.next) then local maxwidth = 50 if (args.type ~= 'collection' or args.samling ~= '') and args.current then maxwidth = 33 end local footer = subheader:tag('div') :addClass('footertemplate') :addClass('ws-noexport') :css ('border-top', '1px solid var(--border-color-success, #ACA)') :css ('border-bottom', '1px solid var(--border-color-success, #ACA)') :css('background-color', 'var(--background-color-neutral-subtle, #202122)') local nav = footer:tag('div') :css('width', '100%') :css('padding-left', '0px') :css('padding-right', '0px') :css('background-color', 'transparent') if args.prev and args.prev ~= '' then nav:tag('div') :css('text-align', 'left') :css('float', 'left') :css('max-width', maxwidth .. '%') :tag('span') :attr('id', 'headerprevious') :tag('span') :css('color', '#808080') :wikitext('&#x25C4;&nbsp;&nbsp;') :done() :wikitext(args.prev) end if args.next and args.next ~= '' then nav:tag('div') :css('text-align', 'right') :css('float', 'right') :css('max-width', maxwidth .. '%') :tag('span') :attr('id', 'headernext') :wikitext(args.next) :tag('span') :css('color', '#808080') :wikitext('&nbsp;&nbsp;&#x25BA;') end if (args.type ~= 'collection' or args.samling ~= '') and args.current then nav:tag('div') :attr('itemprop', 'name') :css('text-align', 'center') :css('margin-left', '25%') :css('margin-right', '25%') :wikitext(args.current) end footer:tag('div') :css('clear', 'both') end if (to == '-' and from ~= to) then container:wikitext('[[Kategori:Tekster med overstyring av sidetall i header-malen]]') end -- Inclusion de l'épigraphe et du sommaire if headerType == 'toc' then if args.epigraphe and args.epigraphe ~= '' then container:wikitext(args.epigraphe) :newline() end container:tag('div') :addClass('ws-summary') :css('margin-top', '1em') :wikitext(args.sammendrag) elseif headerType == 'sammendrag' then html:wikitext('<div id="ws-summary">') --Bad hack, outputs unbalanced HTML end -- Métadonnées, see http://ocoins.info/ for coins. local coins = {} local uriCoins = 'ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3A' coins['rft.genre'] = 'unknown' coins['rfr_id'] = tostring( page:fullUrl( nil, "canonical" ) ) local datahtml = container:tag('div') :attr('id', 'ws-data') :addClass('ws-noexport') :css('display', 'none') :css('speak', 'none') if args.type then datahtml:node( outputMicroformatRow( 'type', args.type ) ) end if args.type and args.type == 'journal' then uriCoins = uriCoins .. 'journal' if erSammendrag then coins['rft.genre'] = 'publication' coins['rft.jtitle'] = cleanCoinsParameter( tittel ) else coins['rft.genre'] = 'article' coins['rft.atitle'] = cleanCoinsParameter( tittel ) if args.tittel then coins['rft.jtitle'] = cleanCoinsParameter( args.tittel ) datahtml:node( outputMicroformatRow( 'periodical', cleanCoinsParameter( args.tittel ) ) ) end end else uriCoins = uriCoins .. 'book' if erSammendrag then coins['rft.btitle'] = cleanCoinsParameter( tittel ) else coins['rft.atitle'] = cleanCoinsParameter( tittel ) end if args.type and args.type == 'book' then if erSammendrag then coins['rft.genre'] = 'book' else coins['rft.genre'] = 'bookitem' end end end datahtml:node( outputMicroformatRow( 'title', tittel ) ) if args.forfatter and args.forfatter ~= '' then datahtml:node( outputMicroformatRow( 'author', args.forfatter ) ) coins['rft.au'] = cleanCoinsParameter( args.forfatter ) end if args.oversetter and args.oversetter ~= '' then datahtml:node( outputMicroformatRow( 'translator', args.oversetter ) ) end if args.illustrator and args.illustrator ~= '' then datahtml:node( outputMicroformatRow( 'illustrator', args.illustrator ) ) end if args.school and args.school ~= '' then datahtml:node( outputMicroformatRow( 'school', args.school ) ) end if args.forlag and args.forlag ~= '' then datahtml:node( outputMicroformatRow( 'publisher', args.forlag ) ) coins['rft.pub'] = cleanCoinsParameter( args.forlag ) end if args.ar and args.ar ~= '' then datahtml:node( outputMicroformatRow( 'year', args.ar ) ) coins['rft.date'] = args.ar end if args.sted and args.sted ~= '' then datahtml:node( outputMicroformatRow( 'place', args.sted ) ) coins['rft.place'] = args.sted end if args.fremgang and args.fremgang ~= '' then datahtml:node( outputMicroformatRow( 'progress', args.fremgang ) ) end if args.bind and args.bind ~= '' then datahtml:node( outputMicroformatRow( 'volume', args.bind ) ) end if args.current and args.current ~= '' then datahtml:node( outputMicroformatRow( 'chapter', args.current ) ) end if args.index then datahtml:node( outputMicroformatRow( 'scan', args.index ) ) if args.image and mw.ustring.match(args.image, '^%d+$') ~= nil then datahtml:node( outputMicroformatRow( 'cover', args.index .. '/' .. args.image ) ) end end if from ~= '' and to ~= '' then if from == to then datahtml:node( outputMicroformatRow( 'pages', from ) ) else datahtml:node( outputMicroformatRow( 'pages', from .. '-' .. to ) ) end coins['rft.spage'] = from coins['rft.epage'] = to end datahtml:tag('span') :addClass('Z3988') :attr('title', uriCoins .. '&' .. mw.uri.buildQueryString( coins )) :wikitext('&nbsp;') return html end function classement( frame, page, args ) local classement = require 'Modul:Klassifisering' local key = '' if args.type and args.type == 'journal' then key = classement.getSortKey( {args= {page.text}} ) elseif args.type and (args.type == 'dictionary' or args.type == 'collection') then key = classement.getSortKey( {args= {page.subpageText}} ) elseif not page.isSubpage then key = classement.getSortKey( {args= {page.text}} ) end if key ~= '' then --Evite le parse des paramètres passés à la page. local child = frame:newChild{ title = page.text, args = {} } child:preprocess( '{{DEFAULTSORT:' .. key .. '}}\n' ) end end function pagination( from, to ) if from ~= '' and to ~= '' then if (from == to or to == '-') then return '<abbr title="side">s.</abbr>&nbsp;' .. formatString(from, 'pagination' ) else return '<abbr title="sider">s.</abbr>&nbsp;' .. formatString( from, 'pageStart' ) .. '–' .. formatString( to, 'pageEnd' ) end end end function outputMicroformatRow( name, value ) return mw.html.create('span') :addClass('ws-' .. name) :wikitext(value) end local p = {} function p.headerTemplate( frame ) return headerTemplate( frame ) end return p r21ufsctxo3d574zt40zriqq3g1qss9 339295 339294 2026-10-10T14:54:09Z Kåre-Olav 25 Fjernet sideversjon [[Special:Diff/339294|339294]] av [[Special:Contributions/Kåre-Olav|Kåre-Olav]] ([[User talk:Kåre-Olav|diskusjon]]) 339295 Scribunto text/plain function cleanCoinsParameter( param ) param = string.gsub( param, "%[%[.*|(.*)%]%]", "%1" ) return string.gsub( param, "%[%[(.*)%]%]", "%1" ) end function toAbsoluteTitle( relative_title, base_title ) --TODO: hacky implementation return mw.getCurrentFrame():callParserFunction( '#rel2abs', { relative_title, tostring( base_title or mw.title.getCurrentTitle() ) } ) end function formatString( str, schema_property ) return tostring(mw.html.create('span') :attr('itemprop', schema_property) :wikitext(str) ) end function formatYear( date, schema_property ) year = tonumber( date ) if year == nil or year < 1000 then return tostring(mw.html.create('span') :attr('itemprop', schema_property) :wikitext(date)) else return tostring(mw.html.create('time') :attr('datetime', year) :attr('itemprop', schema_property) :wikitext(date)) end end function formatPublisherWithName( name ) return tostring(mw.html.create('span') :attr('itemprop', 'publisher') :attr('itemscope', '') :attr('itemtype', 'http://schema.org/Organization') --TODO: always an Organization? :tag('span') :attr('itemprop', 'name') :wikitext(name) :done() ) end function formatAuthorLink( page, label, schema_property ) -- TODO: itemid quand on pourra répérer les ids Wikidata https://phabricator.wikimedia.org/T152909 local title = mw.title.new( page ) if title == nil then return tostring(mw.html.create('span') :attr('itemprop', schema_property) :attr('itemscope', '') :attr('itemtype', 'http://schema.org/Person') --TODO: not always true (but nearly) :wikitext('[[' .. page .. '|<span itemprop="name">' .. label .. '</span>]]') ) end if title.isRedirect then title = title.redirectTarget end return tostring(mw.html.create('span') :attr('itemprop', schema_property) :attr('itemscope', '') :attr('itemtype', 'http://schema.org/Person') --TODO: not always true (but nearly) :wikitext('[[' .. title.fullText .. '|<span itemprop="name">' .. label .. '</span>]]') :tag('link') :attr('itemprop', 'mainEntityOfPage') :attr('href', title:fullUrl(nil, 'canonical')) :done() ) end function parseAuthorWikitext( wikitext, schema_property ) wikitext = mw.ustring.gsub( wikitext, '%[%[([^|]*)|(.*)%]%]', function( page, link ) return formatAuthorLink( page, link, schema_property ) end ) wikitext = mw.ustring.gsub( wikitext, '%[%[([^|]*)%]%]', function( page ) return formatAuthorLink( page, page, schema_property ) end ) return wikitext end function formatTitleLink( page, label, schema_property ) local title = mw.title.new( toAbsoluteTitle( page ) ) if title == nil then return '[[' .. page .. '|' .. label .. ']]' end if title.isRedirect then title = title.redirectTarget end local tag = mw.html.create('span') :attr('itemprop', schema_property) :attr('itemscope', '') :attr('itemtype', 'http://schema.org/CreativeWork') --TODO: find a more relenvant type :wikitext('[[' .. title.fullText .. '|<span itemprop="name">' .. label .. '</span>]]') -- :tag('link') -- :attr('itemprop', 'mainEntityOfPage') -- :attr('href', title:fullUrl(nil, 'canonical')) -- :done() return tostring(tag) end function parseTitleWikitext( wikitext, schema_property ) wikitext = mw.ustring.gsub( wikitext, '%[%[([^|]*)|(.*)%]%]', function( page, link ) return formatTitleLink( page, link, schema_property ) end ) wikitext = mw.ustring.gsub( wikitext, '%[%[([^|]*)%]%]', function( page ) return formatTitleLink( page, page, schema_property ) end ) return wikitext end function headerTemplate( frame ) local parentFrame = frame:getParent() local args = parentFrame.args local page = mw.title.getCurrentTitle() local item = mw.wikibase.getEntity() local headerType = args.value if args.header_type and args.header_type ~= '' then headerType = args.header_type end headerType = mw.ustring.lower( headerType ) --Permet d'écrire le type en majuscule ou en minuscule local erSammendrag = (headerType == 'sammendrag' or headerType == 'toc') --Custom page numbers local from = '' if args.displayed_from and args.displayed_from ~= '' then from = args.displayed_from elseif args.from then from = args.from end local to = '' if args.displayed_to and args.displayed_to ~= '' then to = args.displayed_to elseif args.to then to = args.to end local schema_type = 'http://schema.org/CreativeWork' if args.type then if args.type == 'book' then if erSammendrag then schema_type = 'http://schema.org/Book' else schema_type = 'http://schema.org/Chapter' end elseif args.type == 'collection' then schema_type = 'https://schema.org/Collection' elseif args.type == 'journal' then if erSammendrag then schema_type = 'http://schema.org/PublicationVolume' else schema_type = 'http://schema.org/Article' end elseif args.type == 'phdthesis' then if erSammendrag then schema_type = 'http://schema.org/Thesis' else schema_type = 'http://schema.org/Chapter' end end end --Début du header local html = mw.html.create() local container = html:tag('div') :attr('itemscope', '') :attr('itemtype', schema_type) if item ~= nil then container:attr('itemid', 'http://www.wikidata.org/entity/' .. item.id) end classement( parentFrame, page, args ) if args.header_type == 'empty' then if args.sammendrag then container:tag( 'div' ) :addClass('ws-summary') :css('margin-top', '1em') :newline() :wikitext(args.sammendrag) end return html end local headertemplate = container:tag('div') :attr('id', 'headertemplate') :addClass('ws-noexport') :tag('div') if args.type == 'journal' then headertemplate:addClass('headertemplate-journal') else headertemplate:addClass('headertemplate') end --Forfatter if args.forfatter and args.forfatter ~= '' then headertemplate:tag('div') :addClass('headertemplate-author') :wikitext(parseAuthorWikitext(args.forfatter, 'author')) end --Titre local tittel = formatString( page.baseText, 'name' ) if args.type == 'collection' then if args.samling and args.samling ~= '' then -- Commenté pour tester avec uniquement le nom du recueil, le titre lui est déjà -- dans le navigateur et fréquemment en début de la page. -- tittel = tittel .. '&#32;— <i>' .. args.samling .. '</i>' tittel = '<i>' .. parseTitleWikitext(args.samling, 'isPartOf') .. '</i>' elseif args.current and args.current ~= '' then tittel = formatString( args.current, 'name' ) else if erSammendrag then tittel = formatString( tittel, 'name' ) else tittel = parseTitleWikitext(tittel, 'isPartOf') end end if args.publication and args.publication ~= '' then tittel = tittel .. ' <span style="font-size:90%;">(' .. args.publication .. ')</span>' end elseif args.type == 'journal' then if erSammendrag then tittel = formatString( args.tittel, 'name' ) elseif args.current and args.current ~= '' then tittel = formatString( args.current, 'name' ) else tittel = parseTitleWikitext(tittel, 'isPartOf') end else if args.tittel then tittel = args.tittel end if erSammendrag then tittel = formatString( tittel, 'name' ) else tittel = parseTitleWikitext(tittel, 'isPartOf') end if args.publication and args.publication ~= '' then tittel = tittel .. ' <span style="font-size:90%;">(' .. args.publication .. ')</span>' end end if erSammendrag and args['undertittel'] and args['undertittel'] ~= '' then tittel = tittel .. ' <br/><small>' .. args['undertittel'] .. '</small>' end headertemplate:tag('div') :addClass('headertemplate-title') :wikitext(tittel) --References local references = headertemplate:tag('div') :addClass('headertemplate-reference') if args.oversetter and args.oversetter ~= '' then local translatorStr = 'Oversatt av ' .. parseAuthorWikitext(args.oversetter, 'translator') if string.lower(args.oversetter) == 'anonym' then translatorStr = "Anonym oversetter" elseif string.lower(args.oversetter) == 'ukjent' then translatorStr = "Ukjent oversetter" end references:wikitext(translatorStr .. '.') :tag('br') end if erSammendrag and args.illustrator and args.illustrator ~= '' then references:wikitext('Illustrert av ' .. parseAuthorWikitext(args.illustrator, 'illustrator') .. '.') :tag('br') end if erSammendrag and args.bind and args.bind ~= '' then references:wikitext( formatString( args.bind, 'volumeNumber' ) ) :tag('br') end local infos = {} --Liste des données à afficher séparés par une virgule if args.type == 'collection' then if args.tittel and args.tittel ~= '' then table.insert( infos, '<i>' .. args.tittel .. '</i>' ) end if args.utgiver and args.utgiver ~= '' then if args.type == 'collection' then table.insert( infos, 'utgitt av ' .. parseAuthorWikitext( args.utgiver, 'editor' ) ) else table.insert( infos, 'Utgitt av ' .. parseAuthorWikitext( args.utgiver, 'editor' ) ) end end if args.forlag and args.forlag ~= '' then table.insert( infos, formatPublisherWithName( args.forlag ) ) end if args.ar and args.ar ~= '' then table.insert( infos, formatYear( args.ar, 'datePublished' ) ) end if not erSammendrag then if args.bind and args.bind ~= '' then table.insert( infos, formatString( args.bind, 'volumeNumber' ) ) end end elseif args.type == 'journal' then if not erSammendrag then table.insert( infos, '<i>' .. args.tittel .. '</i>' ) if args.bind and args.bind ~= '' then table.insert( infos, formatString( args.bind, 'volumeNumber' ) ) end end if args.ar and args.ar ~= '' then table.insert( infos, formatYear( args.ar, 'datePublished' ) ) end else if args.utgiver and args.utgiver ~= '' then table.insert( infos, 'Utgitt av ' .. parseAuthorWikitext( args.utgiver, 'editor' ) ) end if args.forlag and args.forlag ~= '' then table.insert( infos, formatPublisherWithName( args.forlag ) ) end if args.ar and args.ar ~= '' then table.insert( infos, formatYear( args.ar, 'datePublished' ) ) end end local line = '' if infos ~= {} then line = table.concat( infos, ',&nbsp;' ) end --Parenthèse if not erSammendrag and from ~= '' then local temp = '' if args.bind and args.bind ~= '' and args.type ~= 'collection' and args.type ~= 'journal' then temp = formatString( args.bind, 'volumeNumber' ) if from ~= to or from ~= '-' then temp = temp .. ',&nbsp;' end end if from ~= to or from ~= '-' then temp = temp .. pagination( from, to ) end if temp ~= '' then line = line .. ' (' .. temp .. ')' end end if line ~= '' then references:wikitext(line .. '.') end local subheader = container:tag('div') :attr('id', 'subheader') :addClass('ws-noexport') :css('margin-bottom', '1.5em') if erSammendrag then local texteEntier = mw.title.new( page.prefixedText .. '/Texte entier' ) if texteEntier and texteEntier.exists then subheader:tag('div') :css('text-align', 'center') :wikitext('[[' .. texteEntier.fullText .. '|Texte sur une seule page]]') end end if (not erSammendrag or (args.header_type and args.header_type =='toc')) and (args.prev or args.next) then local maxwidth = 50 if (args.type ~= 'collection' or args.samling ~= '') and args.current then maxwidth = 33 end local footer = subheader:tag('div') :addClass('footertemplate') :addClass('ws-noexport') local nav = footer:tag('div') :css('width', '100%') :css('padding-left', '0px') :css('padding-right', '0px') :css('background-color', 'transparent') if args.prev and args.prev ~= '' then nav:tag('div') :css('text-align', 'left') :css('float', 'left') :css('max-width', maxwidth .. '%') :tag('span') :attr('id', 'headerprevious') :tag('span') :css('color', '#808080') :wikitext('&#x25C4;&nbsp;&nbsp;') :done() :wikitext(args.prev) end if args.next and args.next ~= '' then nav:tag('div') :css('text-align', 'right') :css('float', 'right') :css('max-width', maxwidth .. '%') :tag('span') :attr('id', 'headernext') :wikitext(args.next) :tag('span') :css('color', '#808080') :wikitext('&nbsp;&nbsp;&#x25BA;') end if (args.type ~= 'collection' or args.samling ~= '') and args.current then nav:tag('div') :attr('itemprop', 'name') :css('text-align', 'center') :css('margin-left', '25%') :css('margin-right', '25%') :wikitext(args.current) end footer:tag('div') :css('clear', 'both') end if (to == '-' and from ~= to) then container:wikitext('[[Kategori:Tekster med overstyring av sidetall i header-malen]]') end -- Inclusion de l'épigraphe et du sommaire if headerType == 'toc' then if args.epigraphe and args.epigraphe ~= '' then container:wikitext(args.epigraphe) :newline() end container:tag('div') :addClass('ws-summary') :css('margin-top', '1em') :wikitext(args.sammendrag) elseif headerType == 'sammendrag' then html:wikitext('<div id="ws-summary">') --Bad hack, outputs unbalanced HTML end -- Métadonnées, see http://ocoins.info/ for coins. local coins = {} local uriCoins = 'ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3A' coins['rft.genre'] = 'unknown' coins['rfr_id'] = tostring( page:fullUrl( nil, "canonical" ) ) local datahtml = container:tag('div') :attr('id', 'ws-data') :addClass('ws-noexport') :css('display', 'none') :css('speak', 'none') if args.type then datahtml:node( outputMicroformatRow( 'type', args.type ) ) end if args.type and args.type == 'journal' then uriCoins = uriCoins .. 'journal' if erSammendrag then coins['rft.genre'] = 'publication' coins['rft.jtitle'] = cleanCoinsParameter( tittel ) else coins['rft.genre'] = 'article' coins['rft.atitle'] = cleanCoinsParameter( tittel ) if args.tittel then coins['rft.jtitle'] = cleanCoinsParameter( args.tittel ) datahtml:node( outputMicroformatRow( 'periodical', cleanCoinsParameter( args.tittel ) ) ) end end else uriCoins = uriCoins .. 'book' if erSammendrag then coins['rft.btitle'] = cleanCoinsParameter( tittel ) else coins['rft.atitle'] = cleanCoinsParameter( tittel ) end if args.type and args.type == 'book' then if erSammendrag then coins['rft.genre'] = 'book' else coins['rft.genre'] = 'bookitem' end end end datahtml:node( outputMicroformatRow( 'title', tittel ) ) if args.forfatter and args.forfatter ~= '' then datahtml:node( outputMicroformatRow( 'author', args.forfatter ) ) coins['rft.au'] = cleanCoinsParameter( args.forfatter ) end if args.oversetter and args.oversetter ~= '' then datahtml:node( outputMicroformatRow( 'translator', args.oversetter ) ) end if args.illustrator and args.illustrator ~= '' then datahtml:node( outputMicroformatRow( 'illustrator', args.illustrator ) ) end if args.school and args.school ~= '' then datahtml:node( outputMicroformatRow( 'school', args.school ) ) end if args.forlag and args.forlag ~= '' then datahtml:node( outputMicroformatRow( 'publisher', args.forlag ) ) coins['rft.pub'] = cleanCoinsParameter( args.forlag ) end if args.ar and args.ar ~= '' then datahtml:node( outputMicroformatRow( 'year', args.ar ) ) coins['rft.date'] = args.ar end if args.sted and args.sted ~= '' then datahtml:node( outputMicroformatRow( 'place', args.sted ) ) coins['rft.place'] = args.sted end if args.fremgang and args.fremgang ~= '' then datahtml:node( outputMicroformatRow( 'progress', args.fremgang ) ) end if args.bind and args.bind ~= '' then datahtml:node( outputMicroformatRow( 'volume', args.bind ) ) end if args.current and args.current ~= '' then datahtml:node( outputMicroformatRow( 'chapter', args.current ) ) end if args.index then datahtml:node( outputMicroformatRow( 'scan', args.index ) ) if args.image and mw.ustring.match(args.image, '^%d+$') ~= nil then datahtml:node( outputMicroformatRow( 'cover', args.index .. '/' .. args.image ) ) end end if from ~= '' and to ~= '' then if from == to then datahtml:node( outputMicroformatRow( 'pages', from ) ) else datahtml:node( outputMicroformatRow( 'pages', from .. '-' .. to ) ) end coins['rft.spage'] = from coins['rft.epage'] = to end datahtml:tag('span') :addClass('Z3988') :attr('title', uriCoins .. '&' .. mw.uri.buildQueryString( coins )) :wikitext('&nbsp;') return html end function classement( frame, page, args ) local classement = require 'Modul:Klassifisering' local key = '' if args.type and args.type == 'journal' then key = classement.getSortKey( {args= {page.text}} ) elseif args.type and (args.type == 'dictionary' or args.type == 'collection') then key = classement.getSortKey( {args= {page.subpageText}} ) elseif not page.isSubpage then key = classement.getSortKey( {args= {page.text}} ) end if key ~= '' then --Evite le parse des paramètres passés à la page. local child = frame:newChild{ title = page.text, args = {} } child:preprocess( '{{DEFAULTSORT:' .. key .. '}}\n' ) end end function pagination( from, to ) if from ~= '' and to ~= '' then if (from == to or to == '-') then return '<abbr title="side">s.</abbr>&nbsp;' .. formatString(from, 'pagination' ) else return '<abbr title="sider">s.</abbr>&nbsp;' .. formatString( from, 'pageStart' ) .. '–' .. formatString( to, 'pageEnd' ) end end end function outputMicroformatRow( name, value ) return mw.html.create('span') :addClass('ws-' .. name) :wikitext(value) end local p = {} function p.headerTemplate( frame ) return headerTemplate( frame ) end return p kqdqu3scli20oncyhp77v1ruan5etap Side:Andreas Faye - Norske Folke-Sagn (1844).djvu/3 104 85647 339298 338971 2026-10-10T14:59:43Z Kåre-Olav 25 uten innrykk 339298 proofread-page text/x-wiki <noinclude><pagequality level="3" user="PWidergren" /></noinclude>{{midtstilt|{{x-større|'''{{sperret|Fortale}}.'''}}}} {{--}} {{uten innrykk/s}} {{stor initial|F|200%}}or dem, der interessere sig for Videnskabelighed og Fødelandets Historie, vil det udentvivl være overflødigt at tale om det Værd, {{sperret|en Samling af Folkesagn}} kan have; men da denne Bog let kan falde i Hænderne paa Folk, der mangle denne Dannelse og Interesse, vil det vel ei være overflødigt med nogle Ord at omtale den Interesse og Nytte, en Sagnsamling kan have: {{uten innrykk/e}} 1. At Sagnene om de {{sperret|overnaturlige Væsener}} ved deres Sammenhæng med Nordens gamle Gudelære, der opbevares i begge Eddaerne, kunne tjene samme som en levende og ei uvigtig Commentair, og ved den mærkelige Overeensstemmelse som finder Sted mellem dem og de fleste nordeuropæiske Sagn, ei alene i det Hele, men ogsaa ofte i de enkelte Dele, i Forbindelse med andre Ting, føre til interessante Slutninger om Folkenes Oprindelse, Beslægtskab o. s. v., ja, ved denne mærkelige Lighed ei engang være Philosophen uvigtige, kan vel neppe med Grund modsiges. „Folkesagnene“ siger en af Danmarks lærdeste Mænd, Professor Werlauf, „have sjelden eller aldrig været Gjenstand for nogen egentlig videnskabelig Undersøgelse, skjønt de maaskee som Aftryk af ethvert Folks individuelle Charakteer, torde udgjøre et ikke uvigtigt Capitel i den menneskelige Culturs Historie.“ (Athene 4, 193). Den Indvending, som maaskee vil gjøres, at disse Sagn om Jutuler Nøkker o. s. v. ville tjene til at stadfæste en gammel Overtro, er efter Udgiverens Mening ugrundet. Saavel i Indledningen, som ofte i Anmærkningerne, vil Læseren finde antydet den første Oprindelse til disse Sagn, og den skadelige Tro paa disse Væsener vil udentvivl derved, at de komme paa Prent og blive Gjenstand for<noinclude> <references/> {{Høyre|A*}}</noinclude> h0r2fvbebqeo2136f9ze5sjyeezd5cs Side:Andreas Faye - Norske Folke-Sagn (1844).djvu/69 104 85721 339310 339174 2026-10-10T15:25:56Z Kåre-Olav 25 hengende innrykk 339310 proofread-page text/x-wiki <noinclude><pagequality level="1" user="KåreBot" />{{hode|||33}}</noinclude>hun virkelig kunde see dem. „Ja vist kan jeg see Jer med mit høire Øie,“ svarede Konen; men i det samme berørte den underjordiske det, og fra den Stund saa hun ei mere dermed. {{liten blokk/s}} {{hengende innrykk|{{sperret|Anm}}. Dette Sagn hørte jeg af en Bonde, som ei tvivlede om sin Beretnings Sandhed. Andre tilføie, at Datteren bad sin Moder at flytte sit Fjøs, da dem flød ligeover hendes Bolig og ofte var hende til stor Uleilighed. Dette Ønske blev strax opfyldt, og fra den Tid havde Moderen den bedste Lykke af sin Buskab.}} {{dent/s|2em|2em}} Lignende Sagn ere temmelig almindelige og henføres til forskjellige Steder, f. Ex. til Egeberg ved Christiania (see Nor 74) o. s. v. De ere især mærkelige for den Lighed, de have med Udlandets Traditioner. I Danmark tabte en Gjordemoder Synet, fordi hun fortalte, hvad hun havde seet i en Høi, hvorhen hun var bleven kaldet for at hjelpe en underjordisk Kone, der var i Barnsnød. (Thiele 1, 36). Lignende Historier fortælles om en Grevinde Ranzau o. fl. i Grimms deutsche Sagen. I Scotland, fortæller Grimm i sin ypperlige Afhandling “Ueber das Wesen der Elfen i Irischen Elfenmärchen {{antikva|XXVII}},“ havde Elferne engang bragt et nyfødt {{korreksjon|Bar|Barn|272}} ind i deres Shian, og hentede siden Moderen for at hun skulde give Barnet Die. En Dag, da hun var ene hjemme, fik hun Lyst til noget af den Salve, hvormed hun saa, at Elferne besmurte deres Øine. Hun blev imidlertid ikke {{korreksjon|ærdig|færdig|272}} med mere end det ene Øie, da Elferne igjen kom tilbage; men med dette kunde hun nu see alle Ting i deres sande Skikkelse, en Gave, som hun beholdt, selv efterat hun var sendt hjem igjen. En Dag saa hun i en Folketrængsel den Elfe, der havde taget hendes Barn, uagtet han var usynlig for Andre, og frugte strax efter Barnets Befindende. Forbauset spørger Elfen hende igjen, om hun kunde see ham, og da hun, skrækket ved hans frygtelige Mine, bekjendte Sandheden, spytter han hende i Øiet, og siden den Tid saa hun ei mere dermed. En lignende Fortælling findes i der Mythologie der Fem und Elfen von Wolff 2, 95. I Rhones Vande, fortæller Gervasius Tilburiensis<ref>Gervasius var Marschal i Kongeriget Arles og skrev sine {{antikva|otia imperialia}} ved Rhones Bredder, hvor endnu i Nærheden af Arles findes et Bjerg, der beboes af Feer. {{antikva|Note de l’éditeur de chants pop. de l’Ecosse}}. 3, 119.</ref> boe<noinclude>{{dent/e}} {{liten blokk/e}} <references/></noinclude> 7h5x8wyyobin505nw239hsl2wtud0xg Side:Andreas Faye - Norske Folke-Sagn (1844).djvu/70 104 85722 339311 339175 2026-10-10T15:27:24Z Kåre-Olav 25 hengende innrykk 339311 proofread-page text/x-wiki <noinclude><pagequality level="1" user="KåreBot" />34 {{liten blokk/s}} {{dent/s|2em|2em}}</noinclude><section begin="Gjordemoderen"/>der Drager, som trække Folk ned til sig. En Kone, som lang Tid levede i en saadan Drages prægtige Slot, var ved at smøre sit Øie med et Slags Fedt, bleven synen, endog efter at hun var sluppen op paa Jorden igjen. En Dag mødte hun Dragen, og da hun gjenkjendte ham, uagtet han var i en anden Skikkelse, tiltalte hun ham. Forundret spurgte han: „Med hvilket Øie har du kjendt mig?“ Da hun nu viste ham det, lagde han sin Finger derpaa, og hun saa ei mere. (Sammenlign Wolff 2, 319. Dobeneck 1, 45). „Det er heel besynderligt,“ tilføier Walter Scott, „at det samme Sagn lyder blandt de scotske Bjerge og paa de scotske Sletter, næsten uden anden Forandring end, at Dragerne ere blevne til Feer, der boe i Huler og Bjerge istedetfor i Vandenes Dyb.“ {{dent/e}} {{liten blokk/e}} {{---}} <section end="Gjordemoderen"/> <section begin="Manden i Fjeldet"/>{{midtstilt|{{større|'''Manden i Fjeldet.'''}}}} En Bonde i Fjære-Sogn ved Navn Audun blev engang heel uventet indtagen i et Fjeld af et Bjergtrold. Da Manden hverken vilde tale, spise eller drikke, blev Troldet vred og sparkede ham den tredie Dag under Sengen og gik derpaa sin Vei. Troldet havde imidlertid en Kone, der følte Medlidenhed med den stakkels Bonde. Hun underrettede ham derfor om, at naar hendes Mand kom hjem, vilde han kaste ham ud paa en Skuffe, men bad ham, naar det skede, at holde sig vel til den ene Side. Da Troldet kom hjem, kastede han Bonden ud af Fjeldet, og slyngede oven i Kjøbet en Jernstang efter ham; men Bonden, der havde agtet paa Konens Raad, slap med Livet derfra. {{høyre|[Mundtligt].|2em}} {{liten blokk/s}} {{hengende innrykk|{{sperret|Anm}}. At Folk for deres hele Liv, eller kun paa nogle Dage eller Aar indtages i Høie og Fjelde er endnu en gjengs Overtro, der er saare gammel; thi allerede Harald Haarfagers Samtidige, Skjalden Thiodolf hiin Hvinverske, beretter om den svenske Kong Svegder, at han af en Dverg blev indtagen i en Steen. (Ynglinga Saga C. 15).}} {{dent/s|2em|2em}} Som Exempel paa, hvor lidt den Overtro er udryddet, laa det blandt Andet tjene, at endnu i Høsten 1832 skal paa<section end="Manden i Fjeldet"/><noinclude>{{dent/e}} {{liten blokk/e}} <references/></noinclude> srr062zz8ruvdx89s2mabu3c23wtp0v Side:Andreas Faye - Norske Folke-Sagn (1844).djvu/71 104 85723 339312 339275 2026-10-10T15:28:54Z Kåre-Olav 25 hengende innrykk 339312 proofread-page text/x-wiki <noinclude><pagequality level="1" user="KåreBot" />{{hode||35}} {{liten blokk/s}} {{dent/s|2em|2em}}</noinclude><section begin="Manden i Fjeldet"/>Østlandet en voxen Gut to Gange være indtagen i et Bjerg, have seet alskens Herlighed, glimrende Sale o. s. v., være bleven præsenteret paa Sølv en Dram af en underskjøn Huldra, og af hende anmodet om at blive der; men da Ungersvenden, der foretrak at være, hvad han var — en Skrædder, undslog sig, blev han fulgt langt paa Vei af flammende Hunde. Hvergang var han bagefter tomset. {{dent/e}} {{høyre|[Meddeelt].|2em}} {{dent/s|2em|2em}} Hermed fortjener at sammenlignes, hvad Debes i {{antikva|Færoa reserata}} S. 323 fortæller. „Det hafver hændet sig for nogen rum Tid, da Bergens Borgere hafde Commercien udi Færøe, at der hafver været en Mand her i Landet udi Sørvaage, kaldet Joen Søidemand, som aff Spøgelse har været indtaget udi Bjerget udi 7 Aar, oc er derefter udkommen, men hafver derefter levet udi stor Angest og Banghed, fordi han fryctede, at hand skulde blive borte tagen igjen, hvorfor Folck maatte vaage ofver hannem om Natten, oc paa det sidste aff saadan Fryct draag han her fra til Bergen udi Norrig.“ {{dent/e}} {{liten blokk/e}} {{---}} <section end="Manden i Fjeldet"/> <section begin="Dvergene i Smeddalen"/>{{midtstilt|{{større|'''Dvergene i Smeddalen.'''}}}} I Smeddalen paa Fillefjeld, hvor der for har været drevet et Jernverk, havde Dverge i gamle Dage deres Smeddeverksted, og selv forarbeidede de alt Jern, de brugte i deres Smidier. Men da Kirkesangen fra Thomaskirken, der stod i den østlige Ende af Dalen, tonede i Dvergenes Øren, droge de længere op i Fjeldene og lode Verktøi og deres øvrige Sager tilbage. Syne Folk kunne endnu see store Rujernstænger, svere Ambolte og Tænger staae under Bjergvæggen; men det er forgjeves at prøve paa at flytte dem. Efter at Kirken nu er nedreven, vil man vide, at Dvergene atter pusle paa gamle Tomter. {{høyre|[Meddeelt].|2em}} {{---}} <section end="Dvergene i Smeddalen"/><noinclude> <references/></noinclude> lujfb5u7wd2uzmcvc4q0qok3wsbqjip Side:Andreas Faye - Norske Folke-Sagn (1844).djvu/72 104 85724 339313 339276 2026-10-10T15:31:22Z Kåre-Olav 25 midtstilt 339313 proofread-page text/x-wiki <noinclude><pagequality level="1" user="KåreBot" />36</noinclude><section begin="Børnene"/>{{midtstilt|{{større|'''Børnene.'''}}}} Paa en Gaard i Fjære Sogn sad en Høstaften to Koner og bagte Fladbrød, da pludselig Døren gik op, og tvende Smaapiger med langt Haar traadte ind. Den ene Kone, som troede, at det var Budeien, der kom fra Fjøset, spurgte om Noget, uden at see sig om. Da hun intet Svar fik, vendte hun sig om, men blev saa overrasket ved Synet af Børnene, at hun ikke kunde mæle et Ord. I det samme kom en fremmed Qvinde ind, der greb Børnene og derpaa forsvandt. De forskrækkede Koner ilede efter, men kunde intet Spor opdage; derimod hørte de inde i en nærliggende Haug Børnene skrige, og sluttede deraf, at den underjordiske Moder gav dem Prygl for deres Nysgjerrighed og Ulydighed. {{liten blokk/s}} {{hengende innrykk|{{sperret|Anm}}. Mundtligt. Dette Sagn er localiseret paa flere Steder.}} {{liten blokk/e}} {{---}} <section end="Børnene"/> <section begin="Huldra eller Hulla"/>{{midtstilt|{{større|'''Huldra eller Hulla.'''}}}} {{ppoem|style=font-size:83%;margin-right:2em| “{{sperret|Huldre}} mæ snøg aa bebrandes Hain — Fletta brone Haar ti guldfingra Bain {{sperret|— — — — — — — — — — —}} Atte for Guten sætte ho sæg ne, La tusindstrængte Langspel paa Kne.“ >> '''Storms Huldrevise.''' }} Rundt om i Landet findes Sagn om et overnaturligt Væsen, der opholder sig i Skovene og i Bjergene, og som kaldes Huldra. Dette Væsen seer ud som en skjøn Qvinde. I Almindelighed er hun iført en {{korreksjon|hvid|blaa|272}} Stak og et hvidt Skaut<ref>I Ombli er „Hudda“ grøn og tyvagtig.</ref>, men har derhos en lang Ko- eller Reve-Rumpe, som hun dog efter Behag kan lade hænge ned og trække op. Naar hun kommer blandt Mennesker, hvis Selskab hun gjerne søger, saa skjuler hun sin lange Rumpe {{bindestrek1|om|omhyggelig}} <section end="Huldra eller Hulla"/><noinclude> <references/></noinclude> t7jrtk7rutlo5ocgdxecfgzudz3p6hc Side:Andreas Faye - Norske Folke-Sagn (1844).djvu/117 104 85768 339309 339178 2026-10-10T15:24:00Z Kåre-Olav 25 St>N 339309 proofread-page text/x-wiki <noinclude><pagequality level="1" user="KåreBot" /></noinclude>{{midtstilt/s}} {{større|'''Anden Afdeling'''}} {{mindre|{{sperret|om}}}} {{xx-større|'''{{sperret|Kjæmper og Konge|r}}.'''}} {{midtstilt/e}} {{ppoem|style=font-size:83%| „De Gamle tage Lidet, gjøre Meget deraf. Naar Kjæmper og Konger ere lagt’ i Grav, Saa gaaer da Sagn og fast større Ry End Gjerningen var i Land og By.“ >> '''Anders Vedel.''' }} {{usynlig sideskift}} {{nop}}<noinclude> <references/></noinclude> c4nwguuuz9ww9bt6y64thgejym46637 Side:Andreas Faye - Norske Folke-Sagn (1844).djvu/128 104 85778 339308 339203 2026-10-10T15:23:25Z Kåre-Olav 25 retter seksjonsnavn 339308 proofread-page text/x-wiki <noinclude><pagequality level="1" user="KåreBot" />92</noinclude><section begin="Fiaagesundskjæmpen"/>mærkelig Haandøxe. Hver Gang nemlig der forestod Kjæmpen en Tvekamp, klang det bestandig i Øxen, som pleiede at hænge paa Væggen. Efterat Kjæmpen i mange Aar ved sin Haandøxe havde overvundet og dræbt alle dem, som vilde prøve Styrke med ham eller vovede at knye mod ham, vilde han paa sine gamle Dage slaae sig til Ro og Øxen hang længe ubrugt paa Væggen. Endelig begyndte det igjen at klinge i Øxen. Kjæmpen, som nu var kjed af saadan Uro, sagde nu i Vrede: „Saa er du din Djevel endnu ikke kjed af at dræbe;“ men i Øxen vedblev det at klinge indtil han ganske modvillig maatte gribe den. I det samme hører han, at en stærk Kjæmpe stod udenfor og ventede ham. En forfærdelig Kamp paafulgte strax og den endte med Fiaagesundskjæmpens Drab. {{liten blokk/s}} {{hengende innrykk|{{sperret|Anm}}. Meddeelt. Sagn om Vaaben, hvori Klang høres, naar Fare er paafærde, staaer maaskee i Forbindelse med Troen paa et Fylgie, der saaledes varslede sin Herre.}} {{liten blokk/e}} {{---}} <section end="Fiaagesundskjæmpen"/> <section begin="Ketil i Budalen"/>{{midtstilt|{{større|'''Ketil i Budalen.'''}}}} Den første Beboer af Budalen, en Bygd i Guledal, var efter Sagnet Kjæmpen Ketil. Han boede ved Buaelv under Fjeldet Høikittiln, der efter ham skal have faaet sit Navn. Ketil levede her en Tid i Selskab med to Andre, men forlod siden Budalen, og nedsatte sig ved Ørkelelven i Rennebu, hvor der paa Gaarden Uff endnu findes en Stue, som har tilhørt ham. Den er kun 3 til 4 Stokke høi, men disse ere overmaade tykke. Tilsidst bar gamle Ketil sig ihjel paa en 20 Alen lang og 2 Alen tyk Furu, som han havde fældet langt borte i Skoven og paa sine Skuldre vilde slæbe hjem. (Klüwer 108). {{---}} <section end="Ketil i Budalen"/><noinclude> <references/></noinclude> f571z8bamvn5m4g9bj01guhkzicw3hw Side:Andreas Faye - Norske Folke-Sagn (1844).djvu/273 104 85865 339299 338937 2026-10-10T15:08:33Z Kåre-Olav 25 tre kolonner 339299 proofread-page text/x-wiki <noinclude><pagequality level="1" user="KåreBot" /></noinclude>{{midtstilt|{{x-større|'''Indholdsregister.'''}}}} {{Export TOC/s}} {| class="_toc" |- | || || Side. |- | colspan=2 | [[Norske Folke-Sagn/Fortale|Fortale]] || {{antikva|III}}. |- | colspan=2 | [[Norske Folke-Sagn/Indledning|Om de overnaturlige Væsener i Norge og andre Lande]] || {{antikva|IX.}} |- | colspan=2 | '''[[Norske Folke-Sagn/1|1ste Afdeling om overnaturlige Væsener]]''' || 1. |- | style="text-align:right" | {{antikva|I.}} || {{sperret|[[Thor og Urebø-Urden]]}} || 3. |- | || [[Lokje]] || 5. |- | style="text-align:right" | {{antikva|II.}} || {{sperret|[[Jutulen eller Bjergrisen]]}} || 6. |- | || [[Guri Kunnan (Faye)|Guri Kunnan]] || 8. |- | || [[Jutulen paa Hestmandø]] || 10. |- | || [[Vaagekallen]] || 11. |- | || [[Raamanden og Djurren paa Molaug]] || 12. |- | || [[Jutulen i Dunkerabjerg]] || 13. |- | || [[Trold som Bygmestre|Trold som Bygmest{{rettelse|er|re}}]] || 14. |- | || [[Jutulbroen i Spirillen|Jutulen i Spirillen]] || 15. |- | || [[Jutulen i Jonshornet]] || 16. |- | || [[Dyre Vaa og Troldet ved Totak]] || 19. |- | style="text-align:right" | {{antikva|III.}} || [[De Underjordiske]] || 20. |- | || [[Brudekronen i Nummedal]] || 24. |- | || [[Sæterpigen i Land]] || 26. |- | || [[Drikkehornet i Øiestad]] || 27. |- | || [[De ubudne Bryllupsgjester]] || 29. |- | || [[Brakandalen]] || 30. |- | || [[Gjordemoderen]] || 32. |- | || [[Manden i Fjeldet]] || 34. |- | || [[Dvergene i Smeddalen]] || 35. |- | || [[Børnene]] || 36. |- | || {{sperret|[[Huldra eller Hulla|Huldra]]}} || 36. |- | || [[Huldre-Gaarde]] || 38. |- | || [[Huldre-Ægteskab|Huldre{{rettelse| |-}}Ægteskab]] || 40. |- | || {{sperret|[[Nissen]]}} || 42. |- | || [[Alferne]] || 46. |- | style="text-align:right" | {{antikva|IV.}} || [[Vandtrold]] || 48. |- | || [[Nøkken]]. || 48. |- | || [[Grim eller Fossegrim|Grim eller Fossegrim og Qvernknurren]] || 53. |- | || [[Havmænd og Havfruer]] || 55. |- | || [[Søorme]] || 58 |- | style="text-align:right" | {{antikva|V.}} || {{sperret|[[Varslende Væsener]]}} || 62. |- | || [[Aasgaardsreia]] || 62. |- | || [[Dystetrommen]] || 63. |- | || [[Drager]] || 67. |- | || [[Følgie eller Vardøgl]] || 68. |- | || [[Draugen]] || 72. |- | || [[Gjengangere, Udbaarer og Deildegaster|Gjengangere, Udbaarer, Deildegaster og Skogagaster]] || 73. |- | || [[Mara]] || 76. |- | || [[Varulve]] || 78. |-<noinclude>|} {{Export TOC/e}} <references/></noinclude> ohm49govvfhcp5rnq9jb9xyodtnkf8p Side:Andreas Faye - Norske Folke-Sagn (1844).djvu/274 104 85866 339300 339265 2026-10-10T15:10:16Z Kåre-Olav 25 tre kolonner 339300 proofread-page text/x-wiki <noinclude><pagequality level="1" user="KåreBot" /> {| class="_toc" |- | || || Side.</noinclude>|- | colspan=2 | '''[[Norske Folke-Sagn/2|2den Afdeling, om Kjæmper og Konger]]''' || 81. |- | colspan=2 | [[Kjæmperne Flein og Bekaar]] || 89. |- | colspan=2 | [[Kjæmpen Faxi i Gjevedal]] || 91. |- | colspan=2 | [[Fiaagesundskjæmpen]] || 91. |- | colspan=2 | [[Ketil i Budalen]] || 92. |- | colspan=2 | [[Kongerne paa Urnes og Solværn]] || 93. |- | colspan=2 | [[Kjæmpen Størk paa Ouse-Nuten]] || 93. |- | colspan=2 | [[Kongerne paa Goutland og Daarsnes|Kongerne paa Goutland og Daar{{rettelse||s}}nes]] || 94. |- | colspan=2 | [[Kong Tane og Kong Veine|Kong Tane og Kong Veine paa Ringerike]] || 95. |- | colspan=2 | [[Kong Haaken paa Hortekollen og hans Datter|Kong Haaken paa Hortekollen]] || 96. |- | colspan=2 | [[Kong Harald og Brudebordet]] || 97. |- | colspan=2 | [[Kongen paa Hortvedt]] || 98. |- | colspan=2 | [[Kong Ferking eller Qverking|Kong Ferking]] || 98. |- | colspan=2 | '''[[Norske Folke-Sagn/3|3die Afdeling, om St. Olaf]]''' || 101. |- | colspan=2 | [[St. Olaf dræber Trold og bygger Kirker]] || 109. |- | [[St. Olaf og Vatnaas Kirke|— bygger Vatnaas Kirke]] || 111. |- | colspan=2 | [[St. Olaf i Vaaler|— i Vaaler]] || 112. |- | colspan=2 | [[St. Olaf bygger Eivindsviks Kirke|— bygger Eivindsvik Kirke]] || 113. |- | colspan=2 | [[St. Olaf og hans Broder|— og hans Broder]] || 114. |- | colspan=2 | [[St. Olaf danner Korssund|— danner Korssund]] || 115. |- | colspan=2 | [[St. Olaf og Troldet i Hornelen|— og Troldet i Hornelen]] || 116. |- | colspan=2 | [[St. Olaf i Gudbrandsdalen|— i Gudbrandsdalen]] || 117. |- | colspan=2 | [[St. Olaf og St. Halvor|— og St. Halvor]] || 117. |- | colspan=2 | [[St. Olaf paa Moster|— paa Moster]] || 118. |- | colspan=2 | [[St. Olafs Piil|— Piil]] || 118. |- | colspan=2 | [[St. Olaf og hans Hest|— og hans Hest]] || 119. |- | colspan=2 | [[St. Olafs Kilder|— Kilder]] || 119. |- | colspan=2 | [[St. Olafs Snushorn|— Snushorn]] || 121. |- | colspan=2 | [[St. Olaf og Søormen|— og Søormen]] || 121. |- | colspan=2 | [[St. Olafs Fjeldreise|— Fjeldreise]] || 122. |- | colspan=2 | [[St. Olaf i Lexdalen|— i Lexdalen]] || 123. |- | colspan=2 | [[St. Olafs Skaal og Bæger|— Skaal og Bæger]] || 123. |- | colspan=2 | [[Stiklestad|— paa Stiklestad]] || 124. |- | colspan=2 | '''[[Norske Folke-Sagn/4|4de Afdeling, om den sorte Død]]''' || 125. |- | colspan=2 | [[Pesta i Gjerrestad]] || 129. |- | colspan=2 | [[Rypa i Justedalen|Rypa i Justedal]] || 129. |- | colspan=2 | [[Kirken i Justedalen|Kirken i Justedal]] || 131. |- | colspan=2 | [[Pesten i Jørgensfjord og paa andre Steder]] || 131. |- | colspan=2 | [[Vidalen|Pesten i Vidalen]] || 132. |- | colspan=2 | [[Hedals Kirke i Valders]] || 132. |- | colspan=2 | [[Musstad i Vardal|Mustad i Vardal]] || 134. |- | colspan=2 | [[Sælbo]] || 136. |- | colspan=2 | [[Tolvkohellen]] || {{rettelse|130|136}}. |- | colspan=2 | [[Svartdouven i Sætersdalen|Svartdouen i Sætersdalen]] || 137. |- | colspan=2 | [[Braastad og Lunderød i Øiestad]] || 138. |- | colspan=2 | [[Stormanna-Dauen i Øvre-Thelemarken|Stormannadauen i Øvre-Thelemarken]] || 139. |- | colspan=2 | '''[[Norske Folke-Sagn/5|5te Afdeling, om historiske Sagn]]''' || 141. |- | colspan=2 | [[Kong Augvald|Kong Augvald, Thrym, Brake o. Fl.]] || 148. |- | colspan=2 | [[Dronning Aslaug]] || 149. |-<noinclude>|} <references/></noinclude> 4rhi13brrho24iyjo7m2ijzacuads2g 339304 339300 2026-10-10T15:18:28Z Kåre-Olav 25 colspan 339304 proofread-page text/x-wiki <noinclude><pagequality level="1" user="KåreBot" /> {| class="_toc" |- | || || Side.</noinclude>|- | colspan=2 | '''[[Norske Folke-Sagn/2|2den Afdeling, om Kjæmper og Konger]]''' || 81. |- | colspan=2 | [[Kjæmperne Flein og Bekaar]] || 89. |- | colspan=2 | [[Kjæmpen Faxi i Gjevedal]] || 91. |- | colspan=2 | [[Fiaagesundskjæmpen]] || 91. |- | colspan=2 | [[Ketil i Budalen]] || 92. |- | colspan=2 | [[Kongerne paa Urnes og Solværn]] || 93. |- | colspan=2 | [[Kjæmpen Størk paa Ouse-Nuten]] || 93. |- | colspan=2 | [[Kongerne paa Goutland og Daarsnes|Kongerne paa Goutland og Daar{{rettelse||s}}nes]] || 94. |- | colspan=2 | [[Kong Tane og Kong Veine|Kong Tane og Kong Veine paa Ringerike]] || 95. |- | colspan=2 | [[Kong Haaken paa Hortekollen og hans Datter|Kong Haaken paa Hortekollen]] || 96. |- | colspan=2 | [[Kong Harald og Brudebordet]] || 97. |- | colspan=2 | [[Kongen paa Hortvedt]] || 98. |- | colspan=2 | [[Kong Ferking eller Qverking|Kong Ferking]] || 98. |- | colspan=2 | '''[[Norske Folke-Sagn/3|3die Afdeling, om St. Olaf]]''' || 101. |- | colspan=2 | [[St. Olaf dræber Trold og bygger Kirker]] || 109. |- | colspan=2 | [[St. Olaf og Vatnaas Kirke|— bygger Vatnaas Kirke]] || 111. |- | colspan=2 | [[St. Olaf i Vaaler|— i Vaaler]] || 112. |- | colspan=2 | [[St. Olaf bygger Eivindsviks Kirke|— bygger Eivindsvik Kirke]] || 113. |- | colspan=2 | [[St. Olaf og hans Broder|— og hans Broder]] || 114. |- | colspan=2 | [[St. Olaf danner Korssund|— danner Korssund]] || 115. |- | colspan=2 | [[St. Olaf og Troldet i Hornelen|— og Troldet i Hornelen]] || 116. |- | colspan=2 | [[St. Olaf i Gudbrandsdalen|— i Gudbrandsdalen]] || 117. |- | colspan=2 | [[St. Olaf og St. Halvor|— og St. Halvor]] || 117. |- | colspan=2 | [[St. Olaf paa Moster|— paa Moster]] || 118. |- | colspan=2 | [[St. Olafs Piil|— Piil]] || 118. |- | colspan=2 | [[St. Olaf og hans Hest|— og hans Hest]] || 119. |- | colspan=2 | [[St. Olafs Kilder|— Kilder]] || 119. |- | colspan=2 | [[St. Olafs Snushorn|— Snushorn]] || 121. |- | colspan=2 | [[St. Olaf og Søormen|— og Søormen]] || 121. |- | colspan=2 | [[St. Olafs Fjeldreise|— Fjeldreise]] || 122. |- | colspan=2 | [[St. Olaf i Lexdalen|— i Lexdalen]] || 123. |- | colspan=2 | [[St. Olafs Skaal og Bæger|— Skaal og Bæger]] || 123. |- | colspan=2 | [[Stiklestad|— paa Stiklestad]] || 124. |- | colspan=2 | '''[[Norske Folke-Sagn/4|4de Afdeling, om den sorte Død]]''' || 125. |- | colspan=2 | [[Pesta i Gjerrestad]] || 129. |- | colspan=2 | [[Rypa i Justedalen|Rypa i Justedal]] || 129. |- | colspan=2 | [[Kirken i Justedalen|Kirken i Justedal]] || 131. |- | colspan=2 | [[Pesten i Jørgensfjord og paa andre Steder]] || 131. |- | colspan=2 | [[Vidalen|Pesten i Vidalen]] || 132. |- | colspan=2 | [[Hedals Kirke i Valders]] || 132. |- | colspan=2 | [[Musstad i Vardal|Mustad i Vardal]] || 134. |- | colspan=2 | [[Sælbo]] || 136. |- | colspan=2 | [[Tolvkohellen]] || {{rettelse|130|136}}. |- | colspan=2 | [[Svartdouven i Sætersdalen|Svartdouen i Sætersdalen]] || 137. |- | colspan=2 | [[Braastad og Lunderød i Øiestad]] || 138. |- | colspan=2 | [[Stormanna-Dauen i Øvre-Thelemarken|Stormannadauen i Øvre-Thelemarken]] || 139. |- | colspan=2 | '''[[Norske Folke-Sagn/5|5te Afdeling, om historiske Sagn]]''' || 141. |- | colspan=2 | [[Kong Augvald|Kong Augvald, Thrym, Brake o. Fl.]] || 148. |- | colspan=2 | [[Dronning Aslaug]] || 149. |-<noinclude>|} <references/></noinclude> g43zn5ezmfez1thasuoejgiqvi16ahl Side:Andreas Faye - Norske Folke-Sagn (1844).djvu/275 104 85867 339301 219953 2026-10-10T15:11:47Z Kåre-Olav 25 tre kolonner 339301 proofread-page text/x-wiki <noinclude><pagequality level="1" user="KåreBot" /> {| class="_toc" |- | || || Side.</noinclude>|- | colspan=2 | [[Habor og Signe]] || 151. |- | colspan=2 | [[Kong Eystein (Østen) og hans Hund Saur|Kong Eystein og hans Hund Saur]] || 154. |- | colspan=2 | [[Halfdan Svarte og Fruen paa Hermandsrud]] || 155. |- | colspan=2 | [[Kongerne Hake og Hakon|Kongerne Hake og Hakon i Hakedal]] || 156. |- | colspan=2 | [[Harald Haarfager og hans Samtidige]] || 157. |- | colspan=2 | [[Harald Haarfagers Sønner og deres Samtidige]] || 160. |- | colspan=2 | [[Orm Lyrgja og Lundesola]] || 161. |- | colspan=2 | [[Kong Olaf Tryggvason christner Nordlandene|Olaf Troggvasons Forsøg paa at christne Nordlandene]] || 163. |- | colspan=2 | [[Kong Olaf paa Dobrea]] || 164. |- | colspan=2 | {{rettelse||[[Asbjørn Selsbane]]}} || {{rettelse||164.}} |- | colspan=2 | [[Sigurd Syr]] || 165. |- | colspan=2 | [[Brødrene paa Gidske|Brødrene paa {{rettelse|Giske|Gidske}}]] || 165. |- | colspan=2 | [[Kalf Arnasons Drikkekar]] || 166. |- | colspan=2 | [[Einar Thambarskjelver]] || 167. |- | colspan=2 | [[Dale-Gudbrand]] || 168. |- | colspan=2 | [[Kong Østen]] || 169. |- | colspan=2 | [[Kong Sverrer]] || 169. |- | colspan=2 | [[Ivar Dapi|Ivar Dapi, Sverrers Foged i Sogn]] || 170. |- | colspan=2 | [[Ridder Audun paa Aalhus]] || 171. |- | colspan=2 | [[Dronning Margreta|Dronning Ma{{rettelse||r}}greta]] || 174. |- | colspan=2 | [[Ætlinger af den gamle norske Adel]] || 175. |- | colspan=2 | {{sperret|[[Reformationen]]}} || 175. |- | colspan=2 | [[Biskop Olaf|Biskop Olaf paa Vossevangen]] || 176. |- | colspan=2 | [[Preste-Drab|Prestedrab paa Botne og i Jondal]] || 177. |- | colspan=2 | [[Hr. Erik|Hr. Erik i Hallingdalen]] || 178. |- | [[Presten paa Agerø]] || 178 |- | colspan=2 | [[Klokkeskjeret|Klokkeskjer paa Jædern]] || 179. |- | colspan=2 | [[Gudmundsskjeret|Gudmundsskjeret i Bahus]] || 179. |- | colspan=2 | [[De tydske Bjergfolk i Thelemarken]] || 190. |- | colspan=2 | [[Svalekrigen]] || 182. |- | colspan=2 | [[Erik Munk|Erik Munk i Nedenes]] || 184. |- | colspan=2 | [[Peder Clausson|Peder Clausson i Undal]] || 185. |- | colspan=2 | colspan=2 | [[Skottekrigen]] || 188. |- | colspan=2 | [[Skotterne i Romsdalen]] || 188. |- | colspan=2 | [[Slaget ved Kringlen]] || 190. |- | colspan=2 | [[Raadsbakken]] || 193. |- | colspan=2 | [[De skotske Fanger]] || 193. |- | colspan=2 | [[Hungersnød i Gudbrandsdalen|Hungersnød i Gudbrandsdal]] || 195. |- | colspan=2 | [[Ove Gedde|Ove Gedde og Tjølling Kirke]] || 196. |- | colspan=2 | [[Mandfjordsfjeldet|Mandfjordsfjeldet eller de troe Finner]] || 196. |- | colspan=2 | [[Carl Gustavs Fald]] || 197. |- | colspan=2 | [[Kong Carl XII|Carl {{antikva|XII}}]] || 193. |- | colspan=2 | [[Anna Colbjørnsen og de Svenske|Anna Colbjørnsen og de Svenske paa Nordrehaug]] || 200. |- | colspan=2 | [[Student Ramus og Lieutenant Bruse]] || 202. |- | colspan=2 | [[Frederikshalds Brand 1716]] || 203. |- | colspan=2 | [[Svenskerne Nordenfjelds|Svensken Nordenfjelds]] || 204. |- | colspan=2 | [[Peter Tordenskjold]] || 205. |- | colspan=2 | '''[[Norske Folke-Sagn/6|6te Afdeling. Forskjellige Sagn]]''' || 207. |- | colspan=2 | [[Axel Thorsson og Skjøn Valborg]] || 209. |- | colspan=2 | [[Pigen paa Landvik]] || 212. |- | colspan=2 | [[Bingsherrerne]] || 212. |- | colspan=2 | [[Reiersfossen]] || 213. |- | colspan=2 | [[Grev Clemet og Fru Belju|Grev Clemet og Fru Belju i Hallingdal]] || 213. |-<noinclude>|} <references/></noinclude> kdhplkzx6vaonps8hx1vxv0p513rfsx 339305 339301 2026-10-10T15:19:23Z Kåre-Olav 25 colspan 339305 proofread-page text/x-wiki <noinclude><pagequality level="1" user="KåreBot" /> {| class="_toc" |- | || || Side.</noinclude>|- | colspan=2 | [[Habor og Signe]] || 151. |- | colspan=2 | [[Kong Eystein (Østen) og hans Hund Saur|Kong Eystein og hans Hund Saur]] || 154. |- | colspan=2 | [[Halfdan Svarte og Fruen paa Hermandsrud]] || 155. |- | colspan=2 | [[Kongerne Hake og Hakon|Kongerne Hake og Hakon i Hakedal]] || 156. |- | colspan=2 | [[Harald Haarfager og hans Samtidige]] || 157. |- | colspan=2 | [[Harald Haarfagers Sønner og deres Samtidige]] || 160. |- | colspan=2 | [[Orm Lyrgja og Lundesola]] || 161. |- | colspan=2 | [[Kong Olaf Tryggvason christner Nordlandene|Olaf Troggvasons Forsøg paa at christne Nordlandene]] || 163. |- | colspan=2 | [[Kong Olaf paa Dobrea]] || 164. |- | colspan=2 | {{rettelse||[[Asbjørn Selsbane]]}} || {{rettelse||164.}} |- | colspan=2 | [[Sigurd Syr]] || 165. |- | colspan=2 | [[Brødrene paa Gidske|Brødrene paa {{rettelse|Giske|Gidske}}]] || 165. |- | colspan=2 | [[Kalf Arnasons Drikkekar]] || 166. |- | colspan=2 | [[Einar Thambarskjelver]] || 167. |- | colspan=2 | [[Dale-Gudbrand]] || 168. |- | colspan=2 | [[Kong Østen]] || 169. |- | colspan=2 | [[Kong Sverrer]] || 169. |- | colspan=2 | [[Ivar Dapi|Ivar Dapi, Sverrers Foged i Sogn]] || 170. |- | colspan=2 | [[Ridder Audun paa Aalhus]] || 171. |- | colspan=2 | [[Dronning Margreta|Dronning Ma{{rettelse||r}}greta]] || 174. |- | colspan=2 | [[Ætlinger af den gamle norske Adel]] || 175. |- | colspan=2 | {{sperret|[[Reformationen]]}} || 175. |- | colspan=2 | [[Biskop Olaf|Biskop Olaf paa Vossevangen]] || 176. |- | colspan=2 | [[Preste-Drab|Prestedrab paa Botne og i Jondal]] || 177. |- | colspan=2 | [[Hr. Erik|Hr. Erik i Hallingdalen]] || 178. |- | colspan=2 | [[Presten paa Agerø]] || 178 |- | colspan=2 | [[Klokkeskjeret|Klokkeskjer paa Jædern]] || 179. |- | colspan=2 | [[Gudmundsskjeret|Gudmundsskjeret i Bahus]] || 179. |- | colspan=2 | [[De tydske Bjergfolk i Thelemarken]] || 190. |- | colspan=2 | [[Svalekrigen]] || 182. |- | colspan=2 | [[Erik Munk|Erik Munk i Nedenes]] || 184. |- | colspan=2 | [[Peder Clausson|Peder Clausson i Undal]] || 185. |- | colspan=2 | [[Skottekrigen]] || 188. |- | colspan=2 | [[Skotterne i Romsdalen]] || 188. |- | colspan=2 | [[Slaget ved Kringlen]] || 190. |- | colspan=2 | [[Raadsbakken]] || 193. |- | colspan=2 | [[De skotske Fanger]] || 193. |- | colspan=2 | [[Hungersnød i Gudbrandsdalen|Hungersnød i Gudbrandsdal]] || 195. |- | colspan=2 | [[Ove Gedde|Ove Gedde og Tjølling Kirke]] || 196. |- | colspan=2 | [[Mandfjordsfjeldet|Mandfjordsfjeldet eller de troe Finner]] || 196. |- | colspan=2 | [[Carl Gustavs Fald]] || 197. |- | colspan=2 | [[Kong Carl XII|Carl {{antikva|XII}}]] || 193. |- | colspan=2 | [[Anna Colbjørnsen og de Svenske|Anna Colbjørnsen og de Svenske paa Nordrehaug]] || 200. |- | colspan=2 | [[Student Ramus og Lieutenant Bruse]] || 202. |- | colspan=2 | [[Frederikshalds Brand 1716]] || 203. |- | colspan=2 | [[Svenskerne Nordenfjelds|Svensken Nordenfjelds]] || 204. |- | colspan=2 | [[Peter Tordenskjold]] || 205. |- | colspan=2 | '''[[Norske Folke-Sagn/6|6te Afdeling. Forskjellige Sagn]]''' || 207. |- | colspan=2 | [[Axel Thorsson og Skjøn Valborg]] || 209. |- | colspan=2 | [[Pigen paa Landvik]] || 212. |- | colspan=2 | [[Bingsherrerne]] || 212. |- | colspan=2 | [[Reiersfossen]] || 213. |- | colspan=2 | [[Grev Clemet og Fru Belju|Grev Clemet og Fru Belju i Hallingdal]] || 213. |-<noinclude>|} <references/></noinclude> endwqsrux1e75a8t472ldt5jsfb67lr Side:Andreas Faye - Norske Folke-Sagn (1844).djvu/276 104 85868 339302 338784 2026-10-10T15:13:24Z Kåre-Olav 25 tre kolonner 339302 proofread-page text/x-wiki <noinclude><pagequality level="1" user="KåreBot" />{{Export TOC/s}} {| class="_toc" |- | || || Side.</noinclude>|- | colspan=2 | [[Junkeren fra Hallingdalen ved Olberg i Valders|Junkeren fra Hallingdal ved Oldberg i Valders]] || 214. |- | colspan=2 | [[Ridderspranget]] || 215. |- | colspan=2 | [[Solberg-Fruen|Solbergfruen og Skondalsfruen i Gusdal]] || 217. |- | colspan=2 | [[Rakna hiin Rike|Rakna hiin Rike i Hardanger]] || 218. |- | colspan=2 | [[Prestehulen i Tindsø|Prestehulen ved Tindsø]] || 219. |- | colspan=2 | [[Prestedrabet i Sætersdalen|Prestedrabet i Sætersdal]] || 219. |- | colspan=2 | [[Presten i Hallingdalen]] || 220. |- | colspan=2 | [[Den overmodige Prestedatter]] || 222. |- | colspan=2 | [[Munkene i Trysild]] || 223. |- | colspan=2 | [[Skotteslaget paa Findøen]] || 223. |- | colspan=2 | [[Tirrelil Tove og Tyvenborg]] || 224. |- | colspan=2 | [[Fiskeløse Vatn]] || 227. |- | colspan=2 | [[Folgefonden]] || 227. |- | colspan=2 | [[Fongfjordbræen]] || 228. |- | colspan=2 | [[Korsfjorden]] || 229. |- | colspan=2 | [[Skiens Oprindelse]] || 230. |- | colspan=2 | [[Søsterkirkerne paa Gran]] || 230. |- | colspan=2 | [[Kivlemøerne]] || 232. |- | colspan=2 | [[Bageren som skaffer Frederik III Enevoldsmagten|Bageren, som skaffer Frederik {{antikva|III}} Enevoldsmagten]] || 233. |- | colspan=2 | [[Staale paa Aasheim]] || 233. |- | colspan=2 | [[Knut Sellestad]] || 235. |} {{Export TOC/e}} {{===|height2=3px}}<noinclude> <references/></noinclude> 4x427paums6m2m9hxqvw4vnjnfdgmva Side:Andreas Faye - Norske Folke-Sagn (1844).djvu/272 104 85915 339306 339264 2026-10-10T15:21:07Z Kåre-Olav 25 klasse 339306 proofread-page text/x-wiki <noinclude><pagequality level="1" user="KåreBot" /></noinclude>{{midtstilt|{{x-større|'''{{sperret|Trykfeil}}.'''}}}} {{--|2em}} {| class="_errata" |- | Side || {{antikva|VII}} || Linie || 2 || fra oven Hjelpekildl læs Hjelpekilder |- | — || — || — || 3 || f. o. kom l. sin |- | — || {{antikva|XXII}} || — || 1 || f. neden Kraft 16 l. Kraft 6 |- | — || 3 || Linie || 2 || f. n. bra østet l. bratrøstet |- | — || 11 || — || 15 || f. o. Dudnu l. Endnu |- | — || 32 || — || 8 || f. o. Kjækten l. Kjætten |- | — || 33 || — || 22 || f. o. Bar l. Barn |- | — || 33 || — || 26 || f. o. ærdig l. færdig |- | — || 36 || — || 6 || f. n. {{sperret|hvid}} l. {{sperret|blaa}} |- | — || 46 || — || 15 || f. n. Lara l. Para |- | — || 5 || — || 12 || f. o. hviltet f. hvilket |- | — || 56 || — || 4 || f. n. Obholdssted l. Opholdssted |- | — || 79 || — || 6 || f. n. Domme l. {{sperret|Temme}} |- | — || 116 || — || 7 || f. o. {{sperret|Kirkeveg}} l. Kjeldervæg |- | — || 116 || — || 17 || f. o. hvide l. røde |- | — || 122 || — || 13 || f. n. Reise l. Vei |- | — || 148 || — || 3 || f. o. Odltid l. Oldtids |- | — || 151 || — || 12 || f. o. Rangvad l. {{sperret|Ragnvald}} |- | — || 151 || — || 13 || f. o. om l. som |- | — || 154 || — || 11 || f. n. Saurhaug f. Saurshaug |- | — || 161 || — || 5 || f. o. Sore l. Søre |- | — || 180 || — || 11 || f. o. Axelon l. Axelsson |- | — || 190 || — || 5 f. o. || Kringen l. Kringlen |- | — || 193 || — || 16 || f. o. der l. de. |} {{---|12em}} {{usynlig sideskift}}<noinclude> <references/></noinclude> 5g1y6829bnq8hifs1b7s1vqkf4akc0z Thor og Urebø-Urden 0 85960 339307 219682 2026-10-10T15:22:21Z Kåre-Olav 25 slår sammen (følger innholdsfortegnelsen) 339307 wikitext text/x-wiki <pages index="Andreas Faye - Norske Folke-Sagn (1844).djvu" from=39 to=41 tosection="Thor og Urebø-Urden" header=1 /> mlxygpdyc39977pg708xvio8oritomz Mal:Forfatter/Tabell 10 101402 339315 307925 2026-10-10T15:36:26Z Kåre-Olav 25 mer presist oppslag i Oria 339315 wikitext text/x-wiki {| style="float:right;clear:right;width:18em;margin-bottom:0.5em;" align="right" |- | {| style="width:100%" class="wikitable" ! style="background-color: #DDDDFF;font-size:large;text-align:center;" | {{#if:{{{navn|}}}|{{{navn}}}|{{PAGENAME}}}} |- {{#if:{{{bilde|}}}| {{!}}<div class="center">''{{#ifeq:{{lc:{{#titleparts:{{{bilde}}}|1|}}}}|http:|{{ExtImage|{{{bilde}}}|220px}}|[[Fil:{{{bilde}}}|220px|{{PAGENAME}}]]}}''</div> {{!-}}}} {{#if:{{{alternative_navn|}}}| {{!}}<div class="center">''{{{alternative_navn}}}''</div> {{!-}}}} {{#if:{{{født|}}}{{{fødeår|}}}| {{!}} Født {{{født|{{#if:{{{fødselsdato}}}|{{{fødselsdato}}}}} {{#if:{{{fødeår}}}|{{{fødeår}}}|?}}}}}{{#if:{{{fødested|}}}|, {{{fødested}}}}} {{!-}}}} {{#if:{{{død|}}}{{{dødsår|}}}| {{!}} Død {{{død|{{#if:{{{dødsdato}}}|{{{dødsdato}}}}} {{#if:{{{dødsår}}}|{{{dødsår}}}|?}}}}}{{#if:{{{dødssted|}}}|, {{{dødssted}}}}} {{!-}}}} {{#if:{{{beskrivelse|}}}| {{!}} {{{beskrivelse}}} {{!-}}}} {{#if:{{{annet|}}}| {{!}} {{{annet}}} {{!-}}}} {{#if:{{{wikipedia|}}}| {{!}} {{#if: {{ErTall|{{{wikipedia|}}}}}| <small>Ingen artikkel på Wikipedia <br />(per {{#time: F Y | 01-{{#expr: trunc{{{wikipedia}}}}}-{{#ifexpr: ({{{wikipedia}}} - trunc{{{wikipedia}}})>0.2 | {{#expr:( {{{wikipedia}}} - trunc{{{wikipedia}}} )*10000 }} | {{#expr:( {{{wikipedia}}} - trunc{{{wikipedia}}} )*100 + 2000 }} }} }})</small> | {{#if: {{{wikipedia|}}}|[[Fil:Wikipedia-logo.svg|12px]] [[w:{{{wikipedia}}}|Artikkel på Wikipedia]]}}}} {{!-}}}} {{#if:{{{commons|}}}| {{!}} [[Fil:Commons-logo.svg|12px]] [[commons:{{{commons}}}|Bilder og media på Commons]] {{!-}}}} {{#if:{{{wikiquote|}}}| {{!}} [[Fil:Wikiquote-logo.svg|12px]] [[q:{{{wikiquote}}}|Sitater på Wikiquote]] {{!-}}}} {{#if:{{{wikidata|}}}| {{!}} {{#if: {{{wikidata|}}}|[[Fil:Wikidata-logo.svg|12px]] [[d:{{{wikidata}}}|Element på Wikidata]]}}| {{!}} align="center" {{!}} ''Mangler kobling til Wikidata'' ([[Hjelp:Wikidata|hjelp]])}} {{!-}} {{#if:{{{bibsys|}}}{{{bibsysID|}}}| {{!}}<div class="center">{{#if:{{{bibsysID|}}}|[https://bibsys-network.primo.exlibrisgroup.com/discovery/search?query=lds86,exact,{{{bibsysID}}}&vid=47BIBSYS_NETWORK:BIBSYS_UNION Oppslag i Oria]|[https://bibsys-network.primo.exlibrisgroup.com/discovery/search?query=any,exact,{{urlencode:{{{bibsys}}}&vid=47BIBSYS_NETWORK:BIBSYS_UNION}} Oppslag i Oria]}}</div> {{!-}}}} {{#if:{{{signatur|}}}| {{!}}<div class="center">''{{#ifeq:{{lc:{{#titleparts:{{{signatur}}}|1|}}}}|http:|{{ExtImage|{{{signatur}}}|220px}}|[[Fil:{{{signatur}}}|220px|{{PAGENAME}}]]}}''</div> {{!-}}}} |} |} {{#if:{{{wikikilden|}}}|<div style="margin:5px;"> ''<div style="display: table-cell; vertical-align: middle;">[[Fil:Liste.svg|20px]] Alle verker av denne forfatteren befinner seg i kategorien [[:Kategori:{{{wikikilden}}}{{!}}{{{wikikilden}}}]]</div>''</div>}}{{#if:{{{født}}}||<includeonly>[[Kategori:Forfattere uten fødselsdato]]</includeonly>}}{{#if:{{{fødeår}}}||<includeonly>[[Kategori:Forfattere uten fødeår]]</includeonly>}}{{#if:{{{fødested}}}||<includeonly>[[Kategori:Forfattere uten fødested]]</includeonly>}}{{#if:{{{død}}}||<includeonly>[[Kategori:Forfattere uten dødsdato]]</includeonly>}}{{#if:{{{dødsår}}}||<includeonly>[[Kategori:Forfattere uten dødsår]]</includeonly>}}{{#if:{{{dødssted}}}||<includeonly>[[Kategori:Forfattere uten dødssted]]</includeonly>}}{{#if:{{{bibsysID}}}||<includeonly>[[Kategori:Forfattere uten Bibsys]]</includeonly>}}<includeonly>{{#if:{{{wikipedia|}}}||[[Kategori:Forfattere uten Wikipedia-artikkel]]}}</includeonly>{{#if:{{{bilde|}}}||<includeonly>[[Kategori:Forfattere uten bilde]]</includeonly>}}{{#if:{{{beskrivelse|}}}||<includeonly>[[Kategori:Forfattere uten beskrivelse]]</includeonly>}} ae0xe90gk57g5xcqaqnmq8e9bkui73o Mal:Auxiliary Table of Contents/styles.css 10 105230 339296 339283 2026-10-10T14:55:07Z Kåre-Olav 25 reverterer: Disse boksene står i stil med headeren, hvis vi skal endre farge bør vi endre overalt samtidig 339296 sanitized-css text/css .wst-auxtoc { max-width:100%; margin-left:auto; margin-right:auto; box-sizing:border-box; padding-left:.5em; padding-right:0.5em; width:30em; border:1px solid #808080; background-color:#f8f8f0; color:#202122; margin-bottom:4px; } .wst-auxtoc > div:first-child p { margin:0; } .wst-auxtoc > div:first-child span:first-child { font-weight:bold; } .wst-auxtoc > div:first-child span:nth-child(2) { display:inline flex; flex:1 0; min-width:1em; } .wst-auxtoc > div:first-child span:nth-child(3) { font-size:83%; } .wst-auxtoc-header-align-left { text-align:left; } .wst-auxtoc-header-align-center { text-align:center; } .wst-auxtoc-header-align-right { text-align:right; } .wst-auxtoc.wst-auxtoc-translation { background-color:#FFB; border-color:#FDD017; } .wst-auxtoc p { text-indent: 0 !important; } 5ft5tuzcdschaqkjooilt90xow29hct Brukerdiskusjon:Øystein Tvede 3 105556 339316 320073 2026-10-10T19:42:53Z Leaderbot 5740 /* Notice of expiration of your sysop right */ ny seksjon 339316 wikitext text/x-wiki == Nasjonalbiblioteket == Hei, du har etterspurt en dokumentasjon av prosessen for å legge opp en tekst på Wikikilden. Jeg har begynt å se på om jeg kan skrive en hjelpeside som viser hvordan man laster ned en pdf fra Nasjonalbiblioteket og produserer en digital tekst på grunnlag av denne. Problemet mitt er at jeg hittil ikke har brukt Nasjonalbiblioteket selv, så jeg er ikke kjent med hva som vil være beste praksis. Etter et forsøk har jeg lagt merke til to ting: # Selv om pdf-filene fra Nasjonalbiblioteket har høy oppløsning, virker det som om Wikimedia Commons har problemer med å konvertere sidene i pdf-filen til jpg (som er det vi ser her på Wikikilden). Bildene i redigeringsvinduet på Wikikilden blir svært uklare. # Pdf-filene fra Nasjonalbiblioteket inneholder et tekstlag som dukker opp i redigeringsvinduet på Wikikilden, men dette tekstlaget ser ut til å være totalt ubrukelig. For å finne maskinlest tekst som kan brukes i det videre arbeidet må jeg gå tilbake til Nasjonalbiblioteket og velge å vise «Digital tekst» sammen med bildene. Denne teksten kan jeg så lime inn her på Wikikilden. Dette siste gjør helt klart prosessen mer tungvint enn den kunne ha vært hvis tekstlaget i pdf-filen hadde vært brukbart. Stemmer dette med din fremgangsmåte når du legger opp tekster fra Nasjonalbiblioteket, og er det i så fall slik jeg bør beskrive det på hjelpesiden? [[Bruker:Kåre-Olav|Kåre-Olav]] ([[Brukerdiskusjon:Kåre-Olav|diskusjon]]) 29. mar. 2025 kl. 17:06 (CET) :Hei :Jeg skjønner ikke helt at billedkvaliteten på boksidene fra NB-pdfer som vises i Wikikilden generelt skal kunne beskrives som grøtete, selv om det klart er snakk om nedskalering i kvalitet gjennom Commons. Kan du komme med et eksempel? :Enig i at teksten blir ubrukelig i noen tilfeller (og bare spres utover som fragmenter), men da funker det gjerne helt fint å heller bruke Wikikildens egen OCR (noe som skulle tyde på at bildene er klare nok). :Noen ganger kopierer jeg heller teksten fra pdf'en og redigerer den i et tekstdokument for så å lime inn her. :Har forresten lagt merke til at det plutselig dukker opp sider i NB-pdf'er som ikke er optisk lest men dette gjelder kanskje 1% av sidene. :Kanskje best jeg spør, selv om jeg vel fremstår noe enfoldig: Skjer indekseringen av seg selv etter at jeg har opprettet siden, eller er det avhengig av at du går inn og gjør noe? Skjønte ikke helt om punkt 2 gjaldt et forsøk du selv hadde gjort eller mer generelt admin-rollen. :Takk for innsats for å bedre siden. [[Bruker:Øystein Tvede|Øystein Tvede]] ([[Brukerdiskusjon:Øystein Tvede|diskusjon]]) 29. mar. 2025 kl. 19:40 (CET) ::Jeg synes ikke [[Indeks:Ole Andreas Øverland - Kornet Ramus og Løitnant Bruse.pdf]] ga særlig gode bilder, men [[Indeks:Alexander Bugge - Sagaen om Ravnkel Frøisgode.pdf]] ble en del bedre. ::OCR-funksjonen fungerer veldig bra, særlig Google-valget. Jeg kommer til å anbefale det i introduksjonen. ::Punkt 2 gjaldt et forsøk på å laste opp en pdf fra Nasjonalbiblioteket og lage en indeksside. Det er noe alle kan gjøre uten å være administrator. Tenker du kanskje på det at indekssiden noen ganger henger? Jeg tror det skjer fordi man oppretter indekssiden før Commons er ferdig med å generere jpg-filene som benyttes i indeksfilen. Se [[en:Wikisource:Scriptorium/Help/Archives/2025#File not mirroring wikisource|diskusjon på engelsk Wikisource]]. Problemet løses ved å tømme mellomlageret for filen (enten lokalt på Wikikilden, eller på Commons, eller begge steder). Jeg har lagt inn to knapper på indekssiden som kan benyttes for å tømme mellomlageret hvis indekssiden henger ([[File:Commonswiki Community Tech Wishlist proposed logo.svg|20px]] og [[File:OOjs UI icon reload.svg|20px]]) [[Bruker:Kåre-Olav|Kåre-Olav]] ([[Brukerdiskusjon:Kåre-Olav|diskusjon]]) 31. mar. 2025 kl. 22:25 (CEST) :::Skjønner godt at det Øverland-forsøket fikk deg til å tvile! Har aldri sett noe sånt med noe jeg har lastet opp. :::For meg er den gledeligste overraskelsen Transkribus-OCR med dansk gotisk tekst som valg. Det er jo tekster i gotisk/fraktur som virkelig trenger transkribering for å bli forstått. [[Bruker:Øystein Tvede|Øystein Tvede]] ([[Brukerdiskusjon:Øystein Tvede|diskusjon]]) 1. apr. 2025 kl. 01:04 (CEST) == [[Amok]] == Hei, denne teksten er litt problematisk fordi opphavsretten strengt tatt ikke utløper før 1. januar 2026. Selv om {{forfatterl|Barbra Ring}} døde 6. mai 1955, er det nemlig «utløpet av opphaverens dødsår» det skal regnes fra. For å oppfylle våre egne opphavsrettsregler foreslår jeg at vi sletter siden [[Amok]] inntil videre, så kan vi opprette den igjen over nyttår. [[Bruker:Kåre-Olav|Kåre-Olav]] ([[Brukerdiskusjon:Kåre-Olav|diskusjon]]) 12. jun. 2025 kl. 16:23 (CEST) :Hei. Jeg respekterer selvsagt at du gjør dette. [[Bruker:Øystein Tvede|Øystein Tvede]] ([[Brukerdiskusjon:Øystein Tvede|diskusjon]]) 12. jun. 2025 kl. 16:48 (CEST) == Automatisk teksterstatning == Hei, hvis du trenger å gjenta den samme endringen på mange sider (f.eks. «gjennom» > «gjennem») går det an å gjøre dette automatisk og dermed spare mye tid. Bare legg inn en forklaring av hva du vil ha gjort på min diskusjonsside, så kan jeg sette i gang en [[w:Wikipedia:Roboter|bot]]. [[Bruker:Kåre-Olav|Kåre-Olav]] ([[Brukerdiskusjon:Kåre-Olav|diskusjon]]) 15. jun. 2025 kl. 21:40 (CEST) :Takk, godt å vite! [[Bruker:Øystein Tvede|Øystein Tvede]] ([[Brukerdiskusjon:Øystein Tvede|diskusjon]]) 15. jun. 2025 kl. 22:50 (CEST) == Administrator == Hei, jeg blir nødt til å redusere min aktivitet på dette prosjektet og kommer derfor til å levere fra meg administatorrettigheten jeg har vært i besittelse av ganske lenge. Siden du er den mest aktive brukeren her, synes jeg det er naturlig at du overtar administratorrettigheten (selvfølgelig under forutsetning at du vil). Jeg kan i så fall hjelpe deg med å få levert en søknad. Det er beklagelig at prosjektet ikke har klart å tiltrekke seg flere aktive brukere som kan utføre nødvendig vedlikehold, men slik er det. [[Bruker:Kåre-Olav|Kåre-Olav]] ([[Brukerdiskusjon:Kåre-Olav|diskusjon]]) 6. apr. 2026 kl. 22:39 (CEST) :Hei. Det var leit å høre, men skjønner jo at du kan trenge vaktskifte etter lang tjeneste. Jeg kan ta over administratorrollen så lenge det ikke krever et avansert teknisk ansvar. :Håper du ikke forsvinner helt og at det vil være mulig å få hjelp til å få i land Maurits Hansen- og Wergeland-prosjektene over tid. [[Bruker:Øystein Tvede|Øystein Tvede]] ([[Brukerdiskusjon:Øystein Tvede|diskusjon]]) 7. apr. 2026 kl. 15:02 (CEST) ::Jeg har lagt opp en avstemning på [[Wikikilden:Kontoret|Kontoret]]. Admin-rollen krever ingen tekniske forutsetninger, det eneste du har muligheten til å gjøre er å utføre slettinger og blokkere vandaler. Når avstemningen har stått 7 dager kan du legge inn en ny post på [https://meta.wikimedia.org/wiki/Steward_requests/Permissions Steward request] under "Administrator access", med lenke til avstemningen her. Dessverre ser det ut til at prosessen med å utnevne nye administratorer for små prosjekter er blitt mer byråkratisk, slik at de muligens bare vil gi deg en tidsavgrenset administrator-rettighet (3 måneder, 6 måneder eller 2 år avhengig av størrelsen på wikien). [[Bruker:Kåre-Olav|Kåre-Olav]] ([[Brukerdiskusjon:Kåre-Olav|diskusjon]]) 7. apr. 2026 kl. 17:54 (CEST) :::Hei. Da er det i boks for seks måneder fremover. [[Bruker:Øystein Tvede|Øystein Tvede]] ([[Brukerdiskusjon:Øystein Tvede|diskusjon]]) 17. apr. 2026 kl. 15:41 (CEST) == Månedens tekst == Hei, jeg er ikke innom her så ofte lenger, men hvis du ønsker å fortsette konseptet med «Månedens tekst», kan forsiden oppdateres ved å opprette en ny mal hver måned på dette formatet: [[Mal:Månedens tekst/2026/mai]] (juni, august osv.). Forsiden peker automatisk på malen for inneværende år/måned, og hvis den ikke eksisterer faller den tilbake til [[Mal:Månedens tekst/2025/mars]]. [[Bruker:Kåre-Olav|Kåre-Olav]] ([[Brukerdiskusjon:Kåre-Olav|diskusjon]]) 9. mai 2026 kl. 10:48 (CEST) :Hei. Lurte på dette, så flott at du kom med fasit. En ting jeg håper at du vil kunne være behjelpelig med etterhvert er optisk lesing av de resterende Maurits Hansen-bindene, men det kan vente til høsten. [[Bruker:Øystein Tvede|Øystein Tvede]] ([[Brukerdiskusjon:Øystein Tvede|diskusjon]]) 9. mai 2026 kl. 20:34 (CEST) == Notice of expiration of your sysop right == <div dir="ltr">Hi, as part of [[:m:Special:MyLanguage/Global reminder bot|Global reminder bot]], this is an automated reminder to let you know that your permission "sysop" (Administratorer) will expire on 2026-10-17 12:54:40. Please renew this right if you would like to continue using it. <i>In other languages: [[:m:Special:MyLanguage/Global reminder bot/Messages/default|click here]]</i> [[Bruker:Leaderbot|Leaderbot]] ([[Brukerdiskusjon:Leaderbot|diskusjon]]) 10. okt. 2026 kl. 21:42 (CEST)</div> geneczs9yhqrsih5l3y3hspy4zbpk1p Mal:=== 10 113277 339297 269970 2026-10-10T14:57:25Z Kåre-Olav 25 tillat parameterne height1 og height2 339297 wikitext text/x-wiki {{dobbel strek|8em|margin-tb=2em|height1={{{height1|}}}|height2={{{height2|}}}}}<noinclude> {{dokumentasjon}} </noinclude> rh0z4jjumye0yw7nq324v0cbi0lll3t Modul:Documentation/config 828 145592 339287 339285 2026-10-10T12:11:24Z Tholme 1359 339287 Scribunto text/plain ---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. ---------------------------------------------------------------------------------------------------- local cfg = {} -- Do not edit this line. ---------------------------------------------------------------------------------------------------- -- Protection template configuration ---------------------------------------------------------------------------------------------------- -- cfg['protection-reason-edit'] -- The protection reason for edit-protected templates to pass to -- [[Module:Protection banner]]. cfg['protection-reason-edit'] = 'template' --[[ ---------------------------------------------------------------------------------------------------- -- Sandbox notice configuration -- -- On sandbox pages the module can display a template notifying users that the current page is a -- sandbox, and the location of test cases pages, etc. The module decides whether the page is a -- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the -- messages that the notices contains. ---------------------------------------------------------------------------------------------------- --]] -- cfg['sandbox-notice-image'] -- The image displayed in the sandbox notice. cfg['sandbox-notice-image'] = '[[File:Sandbox.svg|50px|alt=|link=]]' --[[ -- cfg['sandbox-notice-pagetype-template'] -- cfg['sandbox-notice-pagetype-module'] -- cfg['sandbox-notice-pagetype-other'] -- The page type of the sandbox page. The message that is displayed depends on the current subject -- namespace. This message is used in either cfg['sandbox-notice-blurb'] or -- cfg['sandbox-notice-diff-blurb']. --]] cfg['sandbox-notice-pagetype-template'] = '[[w:Wikipedia:Template test cases|template sandbox]] page' cfg['sandbox-notice-pagetype-module'] = '[[w:Wikipedia:Template test cases|module sandbox]] page' cfg['sandbox-notice-pagetype-other'] = 'sandbox page' --[[ -- cfg['sandbox-notice-blurb'] -- cfg['sandbox-notice-diff-blurb'] -- cfg['sandbox-notice-diff-display'] -- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence -- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page -- type, which is either cfg['sandbox-notice-pagetype-template'], -- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what -- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between -- the sandbox and the main template. The display value of the diff link is set by -- cfg['sandbox-notice-compare-link-display']. --]] cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.' cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).' cfg['sandbox-notice-compare-link-display'] = 'diff' --[[ -- cfg['sandbox-notice-testcases-blurb'] -- cfg['sandbox-notice-testcases-link-display'] -- cfg['sandbox-notice-testcases-run-blurb'] -- cfg['sandbox-notice-testcases-run-link-display'] -- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit. $1 is a link to the test cases page. -- cfg['sandbox-notice-testcases-link-display'] is the display value for that link. -- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test -- cases page, and $2 is a link to the page to run it. -- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test -- cases. --]] cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.' cfg['sandbox-notice-testcases-link-display'] = 'test cases' cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).' cfg['sandbox-notice-testcases-run-link-display'] = 'run' -- cfg['sandbox-category'] - A category to add to all template sandboxes. -- cfg['module-sandbox-category'] - A category to add to all module sandboxes. -- cfg['module-sandbox-category'] - A category to add to all sandboxe not in templates or modules. cfg['sandbox-category'] = 'Template sandboxes' cfg['module-sandbox-category'] = 'Module sandboxes' cfg['other-sandbox-category'] = 'Sandboxes outside of template or module namespace' ---------------------------------------------------------------------------------------------------- -- Start box configuration ---------------------------------------------------------------------------------------------------- -- cfg['documentation-icon-wikitext'] -- The wikitext for the icon shown at the top of the template. cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]' -- cfg['template-namespace-heading'] -- The heading shown in the template namespace. cfg['template-namespace-heading'] = 'Maldokumentasjon' -- cfg['module-namespace-heading'] -- The heading shown in the module namespace. cfg['module-namespace-heading'] = 'Moduldokumentasjon' -- cfg['file-namespace-heading'] -- The heading shown in the file namespace. cfg['file-namespace-heading'] = 'Summary' -- cfg['other-namespaces-heading'] -- The heading shown in other namespaces. cfg['other-namespaces-heading'] = 'Dokumentasjon' -- cfg['view-link-display'] -- The text to display for "view" links. cfg['view-link-display'] = 'vis' -- cfg['edit-link-display'] -- The text to display for "edit" links. cfg['edit-link-display'] = 'rediger' -- cfg['history-link-display'] -- The text to display for "history" links. cfg['history-link-display'] = 'historikk' -- cfg['purge-link-display'] -- The text to display for "purge" links. cfg['purge-link-display'] = 'purge' -- cfg['create-link-display'] -- The text to display for "create" links. cfg['create-link-display'] = 'opprett' ---------------------------------------------------------------------------------------------------- -- Link box (end box) configuration ---------------------------------------------------------------------------------------------------- -- cfg['transcluded-from-blurb'] -- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page. cfg['transcluded-from-blurb'] = 'The above [[w:Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.' --[[ -- cfg['create-module-doc-blurb'] -- Notice displayed in the module namespace when the documentation subpage does not exist. -- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the -- display cfg['create-link-display']. --]] cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[w:Wikipedia:Lua|Scribunto module]].' ---------------------------------------------------------------------------------------------------- -- Experiment blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['experiment-blurb-template'] -- cfg['experiment-blurb-module'] -- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages. -- It is only shown in the template and module namespaces. With the default English settings, it -- might look like this: -- -- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. -- -- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links. -- -- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending -- on what namespace we are in. -- -- Parameters: -- -- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display']) -- -- If the sandbox doesn't exist, it is in the format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display']) -- -- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload'] -- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display'] -- loads a default edit summary of cfg['mirror-edit-summary']. -- -- $2 is a link to the test cases page. If the test cases page exists, it is in the following format: -- -- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display']) -- -- If the test cases page doesn't exist, it is in the format: -- -- cfg['testcases-link-display'] (cfg['testcases-create-link-display']) -- -- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the -- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current -- namespace. --]] cfg['experiment-blurb-template'] = "Editors can experiment in this template's $1 and $2 pages." cfg['experiment-blurb-module'] = "Editors can experiment in this module's $1 and $2 pages." ---------------------------------------------------------------------------------------------------- -- Sandbox link configuration ---------------------------------------------------------------------------------------------------- -- cfg['sandbox-subpage'] -- The name of the template subpage typically used for sandboxes. cfg['sandbox-subpage'] = 'sandkasse' -- cfg['template-sandbox-preload'] -- Preload file for template sandbox pages. cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox' -- cfg['module-sandbox-preload'] -- Preload file for Lua module sandbox pages. cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox' -- cfg['sandbox-link-display'] -- The text to display for "sandbox" links. cfg['sandbox-link-display'] = 'sandkasse' -- cfg['sandbox-edit-link-display'] -- The text to display for sandbox "edit" links. cfg['sandbox-edit-link-display'] = 'rediger' -- cfg['sandbox-create-link-display'] -- The text to display for sandbox "create" links. cfg['sandbox-create-link-display'] = 'opprett' -- cfg['compare-link-display'] -- The text to display for "compare" links. cfg['compare-link-display'] = 'diff' -- cfg['mirror-edit-summary'] -- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the -- template page. cfg['mirror-edit-summary'] = 'Create sandbox version of $1' -- cfg['mirror-link-display'] -- The text to display for "mirror" links. cfg['mirror-link-display'] = 'mirror' -- cfg['mirror-link-preload'] -- The page to preload when a user clicks the "mirror" link. cfg['mirror-link-preload'] = 'Template:Documentation/mirror' ---------------------------------------------------------------------------------------------------- -- Test cases link configuration ---------------------------------------------------------------------------------------------------- -- cfg['testcases-subpage'] -- The name of the template subpage typically used for test cases. cfg['testcases-subpage'] = 'testcases' -- cfg['template-testcases-preload'] -- Preload file for template test cases pages. cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases' -- cfg['module-testcases-preload'] -- Preload file for Lua module test cases pages. cfg['module-testcases-preload'] = 'Module:Documentation/preload-module-testcases' -- cfg['testcases-link-display'] -- The text to display for "testcases" links. cfg['testcases-link-display'] = 'testcases' -- cfg['testcases-edit-link-display'] -- The text to display for test cases "edit" links. cfg['testcases-edit-link-display'] = 'rediger' -- cfg['testcases-run-link-display'] -- The text to display for test cases "run" links. cfg['testcases-run-link-display'] = 'run' -- cfg['testcases-create-link-display'] -- The text to display for test cases "create" links. cfg['testcases-create-link-display'] = 'opprett' ---------------------------------------------------------------------------------------------------- -- Add categories blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['add-categories-blurb'] -- Text to direct users to add categories to the /doc subpage. Not used if the "content" or -- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a -- link to the /doc subpage with a display value of cfg['doc-link-display']. --]] cfg['add-categories-blurb'] = 'Add categories to the $1 subpage.' -- cfg['doc-link-display'] -- The text to display when linking to the /doc subpage. cfg['doc-link-display'] = '/dok' ---------------------------------------------------------------------------------------------------- -- Subpages link configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['subpages-blurb'] -- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a -- display value of cfg['subpages-link-display']. In the English version this blurb is simply -- the link followed by a period, and the link display provides the actual text. --]] cfg['subpages-blurb'] = '$1.' --[[ -- cfg['subpages-link-display'] -- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'], -- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in -- the template namespace, the module namespace, or another namespace. --]] cfg['subpages-link-display'] = 'Undersider av $1' -- cfg['template-pagetype'] -- The pagetype to display for template pages. cfg['template-pagetype'] = 'mal' -- cfg['module-pagetype'] -- The pagetype to display for Lua module pages. cfg['module-pagetype'] = 'modul' -- cfg['default-pagetype'] -- The pagetype to display for pages other than templates or Lua modules. cfg['default-pagetype'] = 'page' ---------------------------------------------------------------------------------------------------- -- Doc link configuration ---------------------------------------------------------------------------------------------------- -- cfg['doc-subpage'] -- The name of the subpage typically used for documentation pages. cfg['doc-subpage'] = 'dok' -- cfg['docpage-preload'] -- Preload file for template documentation pages in all namespaces. cfg['docpage-preload'] = 'Template:Documentation/preload' -- cfg['module-preload'] -- Preload file for Lua module documentation pages. cfg['module-preload'] = 'Template:Documentation/preload-module-doc' ---------------------------------------------------------------------------------------------------- -- HTML and CSS configuration ---------------------------------------------------------------------------------------------------- -- cfg['templatestyles'] -- The name of the TemplateStyles page where CSS is kept. -- Sandbox CSS will be at Module:Documentation/sandbox/styles.css when needed. cfg['templatestyles'] = 'Module:Documentation/styles.css' -- cfg['container'] -- Class which can be used to set flex or grid CSS on the -- two child divs documentation and documentation-metadata cfg['container'] = 'documentation-container' -- cfg['main-div-classes'] -- Classes added to the main HTML "div" tag. cfg['main-div-classes'] = 'documentation' -- cfg['main-div-heading-class'] -- Class for the main heading for templates and modules and assoc. talk spaces cfg['main-div-heading-class'] = 'documentation-heading' -- cfg['start-box-class'] -- Class for the start box cfg['start-box-class'] = 'documentation-startbox' -- cfg['start-box-link-classes'] -- Classes used for the [view][edit][history] or [create] links in the start box. -- mw-editsection-like is per [[w:Wikipedia:Village pump (technical)/Archive 117#Template documentation header problem]] cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks' -- cfg['end-box-class'] -- Class for the end box. cfg['end-box-class'] = 'documentation-metadata' -- cfg['end-box-plainlinks'] -- Plainlinks cfg['end-box-plainlinks'] = 'plainlinks' -- cfg['toolbar-class'] -- Class added for toolbar links. cfg['toolbar-class'] = 'documentation-toolbar' -- cfg['clear'] -- Just used to clear things. cfg['clear'] = 'documentation-clear' ---------------------------------------------------------------------------------------------------- -- Tracking category configuration ---------------------------------------------------------------------------------------------------- -- cfg['display-strange-usage-category'] -- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage -- or a /testcases subpage. This should be a boolean value (either true or false). cfg['display-strange-usage-category'] = true -- cfg['strange-usage-category'] -- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a -- /doc subpage or a /testcases subpage. cfg['strange-usage-category'] = 'Pages with strange documentation template usage' --[[ ---------------------------------------------------------------------------------------------------- -- End configuration -- -- Don't edit anything below this line. ---------------------------------------------------------------------------------------------------- --]] return cfg lporhxkcf9i1j8ei8rav52ks1g9pgza 339288 339287 2026-10-10T13:16:03Z Tholme 1359 339288 Scribunto text/plain ---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. ---------------------------------------------------------------------------------------------------- local cfg = {} -- Do not edit this line. ---------------------------------------------------------------------------------------------------- -- Protection template configuration ---------------------------------------------------------------------------------------------------- -- cfg['protection-reason-edit'] -- The protection reason for edit-protected templates to pass to -- [[Module:Protection banner]]. cfg['protection-reason-edit'] = 'template' --[[ ---------------------------------------------------------------------------------------------------- -- Sandbox notice configuration -- -- On sandbox pages the module can display a template notifying users that the current page is a -- sandbox, and the location of test cases pages, etc. The module decides whether the page is a -- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the -- messages that the notices contains. ---------------------------------------------------------------------------------------------------- --]] -- cfg['sandbox-notice-image'] -- The image displayed in the sandbox notice. cfg['sandbox-notice-image'] = '[[File:Sandbox.svg|50px|alt=|link=]]' --[[ -- cfg['sandbox-notice-pagetype-template'] -- cfg['sandbox-notice-pagetype-module'] -- cfg['sandbox-notice-pagetype-other'] -- The page type of the sandbox page. The message that is displayed depends on the current subject -- namespace. This message is used in either cfg['sandbox-notice-blurb'] or -- cfg['sandbox-notice-diff-blurb']. --]] cfg['sandbox-notice-pagetype-template'] = '[[w:Wikipedia:Template test cases|template sandbox]] page' cfg['sandbox-notice-pagetype-module'] = '[[w:Wikipedia:Template test cases|module sandbox]] page' cfg['sandbox-notice-pagetype-other'] = 'sandbox page' --[[ -- cfg['sandbox-notice-blurb'] -- cfg['sandbox-notice-diff-blurb'] -- cfg['sandbox-notice-diff-display'] -- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence -- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page -- type, which is either cfg['sandbox-notice-pagetype-template'], -- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what -- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between -- the sandbox and the main template. The display value of the diff link is set by -- cfg['sandbox-notice-compare-link-display']. --]] cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.' cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).' cfg['sandbox-notice-compare-link-display'] = 'diff' --[[ -- cfg['sandbox-notice-testcases-blurb'] -- cfg['sandbox-notice-testcases-link-display'] -- cfg['sandbox-notice-testcases-run-blurb'] -- cfg['sandbox-notice-testcases-run-link-display'] -- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit. $1 is a link to the test cases page. -- cfg['sandbox-notice-testcases-link-display'] is the display value for that link. -- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test -- cases page, and $2 is a link to the page to run it. -- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test -- cases. --]] cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.' cfg['sandbox-notice-testcases-link-display'] = 'test cases' cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).' cfg['sandbox-notice-testcases-run-link-display'] = 'run' -- cfg['sandbox-category'] - A category to add to all template sandboxes. -- cfg['module-sandbox-category'] - A category to add to all module sandboxes. -- cfg['module-sandbox-category'] - A category to add to all sandboxe not in templates or modules. cfg['sandbox-category'] = 'Template sandboxes' cfg['module-sandbox-category'] = 'Module sandboxes' cfg['other-sandbox-category'] = 'Sandboxes outside of template or module namespace' ---------------------------------------------------------------------------------------------------- -- Start box configuration ---------------------------------------------------------------------------------------------------- -- cfg['documentation-icon-wikitext'] -- The wikitext for the icon shown at the top of the template. cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]' -- cfg['template-namespace-heading'] -- The heading shown in the template namespace. cfg['template-namespace-heading'] = 'Maldokumentasjon' -- cfg['module-namespace-heading'] -- The heading shown in the module namespace. cfg['module-namespace-heading'] = 'Moduldokumentasjon' -- cfg['file-namespace-heading'] -- The heading shown in the file namespace. cfg['file-namespace-heading'] = 'Summary' -- cfg['other-namespaces-heading'] -- The heading shown in other namespaces. cfg['other-namespaces-heading'] = 'Dokumentasjon' -- cfg['view-link-display'] -- The text to display for "view" links. cfg['view-link-display'] = 'vis' -- cfg['edit-link-display'] -- The text to display for "edit" links. cfg['edit-link-display'] = 'rediger' -- cfg['history-link-display'] -- The text to display for "history" links. cfg['history-link-display'] = 'historikk' -- cfg['purge-link-display'] -- The text to display for "purge" links. cfg['purge-link-display'] = 'purge' -- cfg['create-link-display'] -- The text to display for "create" links. cfg['create-link-display'] = 'opprett' ---------------------------------------------------------------------------------------------------- -- Link box (end box) configuration ---------------------------------------------------------------------------------------------------- -- cfg['transcluded-from-blurb'] -- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page. cfg['transcluded-from-blurb'] = 'The above [[w:Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.' --[[ -- cfg['create-module-doc-blurb'] -- Notice displayed in the module namespace when the documentation subpage does not exist. -- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the -- display cfg['create-link-display']. --]] cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[w:Wikipedia:Lua|Scribunto module]].' ---------------------------------------------------------------------------------------------------- -- Experiment blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['experiment-blurb-template'] -- cfg['experiment-blurb-module'] -- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages. -- It is only shown in the template and module namespaces. With the default English settings, it -- might look like this: -- -- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. -- -- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links. -- -- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending -- on what namespace we are in. -- -- Parameters: -- -- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display']) -- -- If the sandbox doesn't exist, it is in the format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display']) -- -- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload'] -- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display'] -- loads a default edit summary of cfg['mirror-edit-summary']. -- -- $2 is a link to the test cases page. If the test cases page exists, it is in the following format: -- -- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display']) -- -- If the test cases page doesn't exist, it is in the format: -- -- cfg['testcases-link-display'] (cfg['testcases-create-link-display']) -- -- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the -- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current -- namespace. --]] cfg['experiment-blurb-template'] = "Du kan eksperimentere i $1 og $2 til denne malen." cfg['experiment-blurb-module'] = "Du kan eksperimentere i $1 og $2 til denne modulen." ---------------------------------------------------------------------------------------------------- -- Sandbox link configuration ---------------------------------------------------------------------------------------------------- -- cfg['sandbox-subpage'] -- The name of the template subpage typically used for sandboxes. cfg['sandbox-subpage'] = 'sandkasse' -- cfg['template-sandbox-preload'] -- Preload file for template sandbox pages. cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox' -- cfg['module-sandbox-preload'] -- Preload file for Lua module sandbox pages. cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox' -- cfg['sandbox-link-display'] -- The text to display for "sandbox" links. cfg['sandbox-link-display'] = 'sandkasse' -- cfg['sandbox-edit-link-display'] -- The text to display for sandbox "edit" links. cfg['sandbox-edit-link-display'] = 'rediger' -- cfg['sandbox-create-link-display'] -- The text to display for sandbox "create" links. cfg['sandbox-create-link-display'] = 'opprett' -- cfg['compare-link-display'] -- The text to display for "compare" links. cfg['compare-link-display'] = 'diff' -- cfg['mirror-edit-summary'] -- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the -- template page. cfg['mirror-edit-summary'] = 'Create sandbox version of $1' -- cfg['mirror-link-display'] -- The text to display for "mirror" links. cfg['mirror-link-display'] = 'mirror' -- cfg['mirror-link-preload'] -- The page to preload when a user clicks the "mirror" link. cfg['mirror-link-preload'] = 'Template:Documentation/mirror' ---------------------------------------------------------------------------------------------------- -- Test cases link configuration ---------------------------------------------------------------------------------------------------- -- cfg['testcases-subpage'] -- The name of the template subpage typically used for test cases. cfg['testcases-subpage'] = 'testcases' -- cfg['template-testcases-preload'] -- Preload file for template test cases pages. cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases' -- cfg['module-testcases-preload'] -- Preload file for Lua module test cases pages. cfg['module-testcases-preload'] = 'Module:Documentation/preload-module-testcases' -- cfg['testcases-link-display'] -- The text to display for "testcases" links. cfg['testcases-link-display'] = 'testcases' -- cfg['testcases-edit-link-display'] -- The text to display for test cases "edit" links. cfg['testcases-edit-link-display'] = 'rediger' -- cfg['testcases-run-link-display'] -- The text to display for test cases "run" links. cfg['testcases-run-link-display'] = 'kjør' -- cfg['testcases-create-link-display'] -- The text to display for test cases "create" links. cfg['testcases-create-link-display'] = 'opprett' ---------------------------------------------------------------------------------------------------- -- Add categories blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['add-categories-blurb'] -- Text to direct users to add categories to the /doc subpage. Not used if the "content" or -- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a -- link to the /doc subpage with a display value of cfg['doc-link-display']. --]] cfg['add-categories-blurb'] = 'Add categories to the $1 subpage.' -- cfg['doc-link-display'] -- The text to display when linking to the /doc subpage. cfg['doc-link-display'] = '/dok' ---------------------------------------------------------------------------------------------------- -- Subpages link configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['subpages-blurb'] -- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a -- display value of cfg['subpages-link-display']. In the English version this blurb is simply -- the link followed by a period, and the link display provides the actual text. --]] cfg['subpages-blurb'] = '$1.' --[[ -- cfg['subpages-link-display'] -- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'], -- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in -- the template namespace, the module namespace, or another namespace. --]] cfg['subpages-link-display'] = 'Undersider av $1' -- cfg['template-pagetype'] -- The pagetype to display for template pages. cfg['template-pagetype'] = 'mal' -- cfg['module-pagetype'] -- The pagetype to display for Lua module pages. cfg['module-pagetype'] = 'modul' -- cfg['default-pagetype'] -- The pagetype to display for pages other than templates or Lua modules. cfg['default-pagetype'] = 'siden' ---------------------------------------------------------------------------------------------------- -- Doc link configuration ---------------------------------------------------------------------------------------------------- -- cfg['doc-subpage'] -- The name of the subpage typically used for documentation pages. cfg['doc-subpage'] = 'dok' -- cfg['docpage-preload'] -- Preload file for template documentation pages in all namespaces. cfg['docpage-preload'] = 'Template:Documentation/preload' -- cfg['module-preload'] -- Preload file for Lua module documentation pages. cfg['module-preload'] = 'Template:Documentation/preload-module-doc' ---------------------------------------------------------------------------------------------------- -- HTML and CSS configuration ---------------------------------------------------------------------------------------------------- -- cfg['templatestyles'] -- The name of the TemplateStyles page where CSS is kept. -- Sandbox CSS will be at Module:Documentation/sandbox/styles.css when needed. cfg['templatestyles'] = 'Module:Documentation/styles.css' -- cfg['container'] -- Class which can be used to set flex or grid CSS on the -- two child divs documentation and documentation-metadata cfg['container'] = 'documentation-container' -- cfg['main-div-classes'] -- Classes added to the main HTML "div" tag. cfg['main-div-classes'] = 'documentation' -- cfg['main-div-heading-class'] -- Class for the main heading for templates and modules and assoc. talk spaces cfg['main-div-heading-class'] = 'documentation-heading' -- cfg['start-box-class'] -- Class for the start box cfg['start-box-class'] = 'documentation-startbox' -- cfg['start-box-link-classes'] -- Classes used for the [view][edit][history] or [create] links in the start box. -- mw-editsection-like is per [[w:Wikipedia:Village pump (technical)/Archive 117#Template documentation header problem]] cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks' -- cfg['end-box-class'] -- Class for the end box. cfg['end-box-class'] = 'documentation-metadata' -- cfg['end-box-plainlinks'] -- Plainlinks cfg['end-box-plainlinks'] = 'plainlinks' -- cfg['toolbar-class'] -- Class added for toolbar links. cfg['toolbar-class'] = 'documentation-toolbar' -- cfg['clear'] -- Just used to clear things. cfg['clear'] = 'documentation-clear' ---------------------------------------------------------------------------------------------------- -- Tracking category configuration ---------------------------------------------------------------------------------------------------- -- cfg['display-strange-usage-category'] -- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage -- or a /testcases subpage. This should be a boolean value (either true or false). cfg['display-strange-usage-category'] = true -- cfg['strange-usage-category'] -- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a -- /doc subpage or a /testcases subpage. cfg['strange-usage-category'] = 'Pages with strange documentation template usage' --[[ ---------------------------------------------------------------------------------------------------- -- End configuration -- -- Don't edit anything below this line. ---------------------------------------------------------------------------------------------------- --]] return cfg 5z346dikzq5yjvyqzg2h4g8gm0isdfc 339289 339288 2026-10-10T13:17:27Z Tholme 1359 339289 Scribunto text/plain ---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. ---------------------------------------------------------------------------------------------------- local cfg = {} -- Do not edit this line. ---------------------------------------------------------------------------------------------------- -- Protection template configuration ---------------------------------------------------------------------------------------------------- -- cfg['protection-reason-edit'] -- The protection reason for edit-protected templates to pass to -- [[Module:Protection banner]]. cfg['protection-reason-edit'] = 'template' --[[ ---------------------------------------------------------------------------------------------------- -- Sandbox notice configuration -- -- On sandbox pages the module can display a template notifying users that the current page is a -- sandbox, and the location of test cases pages, etc. The module decides whether the page is a -- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the -- messages that the notices contains. ---------------------------------------------------------------------------------------------------- --]] -- cfg['sandbox-notice-image'] -- The image displayed in the sandbox notice. cfg['sandbox-notice-image'] = '[[File:Sandbox.svg|50px|alt=|link=]]' --[[ -- cfg['sandbox-notice-pagetype-template'] -- cfg['sandbox-notice-pagetype-module'] -- cfg['sandbox-notice-pagetype-other'] -- The page type of the sandbox page. The message that is displayed depends on the current subject -- namespace. This message is used in either cfg['sandbox-notice-blurb'] or -- cfg['sandbox-notice-diff-blurb']. --]] cfg['sandbox-notice-pagetype-template'] = '[[w:Wikipedia:Template test cases|template sandbox]] page' cfg['sandbox-notice-pagetype-module'] = '[[w:Wikipedia:Template test cases|module sandbox]] page' cfg['sandbox-notice-pagetype-other'] = 'sandbox page' --[[ -- cfg['sandbox-notice-blurb'] -- cfg['sandbox-notice-diff-blurb'] -- cfg['sandbox-notice-diff-display'] -- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence -- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page -- type, which is either cfg['sandbox-notice-pagetype-template'], -- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what -- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between -- the sandbox and the main template. The display value of the diff link is set by -- cfg['sandbox-notice-compare-link-display']. --]] cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.' cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).' cfg['sandbox-notice-compare-link-display'] = 'diff' --[[ -- cfg['sandbox-notice-testcases-blurb'] -- cfg['sandbox-notice-testcases-link-display'] -- cfg['sandbox-notice-testcases-run-blurb'] -- cfg['sandbox-notice-testcases-run-link-display'] -- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit. $1 is a link to the test cases page. -- cfg['sandbox-notice-testcases-link-display'] is the display value for that link. -- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test -- cases page, and $2 is a link to the page to run it. -- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test -- cases. --]] cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.' cfg['sandbox-notice-testcases-link-display'] = 'test cases' cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).' cfg['sandbox-notice-testcases-run-link-display'] = 'run' -- cfg['sandbox-category'] - A category to add to all template sandboxes. -- cfg['module-sandbox-category'] - A category to add to all module sandboxes. -- cfg['module-sandbox-category'] - A category to add to all sandboxe not in templates or modules. cfg['sandbox-category'] = 'Template sandboxes' cfg['module-sandbox-category'] = 'Module sandboxes' cfg['other-sandbox-category'] = 'Sandboxes outside of template or module namespace' ---------------------------------------------------------------------------------------------------- -- Start box configuration ---------------------------------------------------------------------------------------------------- -- cfg['documentation-icon-wikitext'] -- The wikitext for the icon shown at the top of the template. cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]' -- cfg['template-namespace-heading'] -- The heading shown in the template namespace. cfg['template-namespace-heading'] = 'Maldokumentasjon' -- cfg['module-namespace-heading'] -- The heading shown in the module namespace. cfg['module-namespace-heading'] = 'Moduldokumentasjon' -- cfg['file-namespace-heading'] -- The heading shown in the file namespace. cfg['file-namespace-heading'] = 'Summary' -- cfg['other-namespaces-heading'] -- The heading shown in other namespaces. cfg['other-namespaces-heading'] = 'Dokumentasjon' -- cfg['view-link-display'] -- The text to display for "view" links. cfg['view-link-display'] = 'vis' -- cfg['edit-link-display'] -- The text to display for "edit" links. cfg['edit-link-display'] = 'rediger' -- cfg['history-link-display'] -- The text to display for "history" links. cfg['history-link-display'] = 'historikk' -- cfg['purge-link-display'] -- The text to display for "purge" links. cfg['purge-link-display'] = 'purge' -- cfg['create-link-display'] -- The text to display for "create" links. cfg['create-link-display'] = 'opprett' ---------------------------------------------------------------------------------------------------- -- Link box (end box) configuration ---------------------------------------------------------------------------------------------------- -- cfg['transcluded-from-blurb'] -- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page. cfg['transcluded-from-blurb'] = 'The above [[w:Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.' --[[ -- cfg['create-module-doc-blurb'] -- Notice displayed in the module namespace when the documentation subpage does not exist. -- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the -- display cfg['create-link-display']. --]] cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[w:Wikipedia:Lua|Scribunto module]].' ---------------------------------------------------------------------------------------------------- -- Experiment blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['experiment-blurb-template'] -- cfg['experiment-blurb-module'] -- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages. -- It is only shown in the template and module namespaces. With the default English settings, it -- might look like this: -- -- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. -- -- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links. -- -- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending -- on what namespace we are in. -- -- Parameters: -- -- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display']) -- -- If the sandbox doesn't exist, it is in the format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display']) -- -- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload'] -- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display'] -- loads a default edit summary of cfg['mirror-edit-summary']. -- -- $2 is a link to the test cases page. If the test cases page exists, it is in the following format: -- -- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display']) -- -- If the test cases page doesn't exist, it is in the format: -- -- cfg['testcases-link-display'] (cfg['testcases-create-link-display']) -- -- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the -- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current -- namespace. --]] cfg['experiment-blurb-template'] = "Du kan eksperimentere i $1 og $2 til denne malen." cfg['experiment-blurb-module'] = "Du kan eksperimentere i $1 og $2 til denne modulen." ---------------------------------------------------------------------------------------------------- -- Sandbox link configuration ---------------------------------------------------------------------------------------------------- -- cfg['sandbox-subpage'] -- The name of the template subpage typically used for sandboxes. cfg['sandbox-subpage'] = 'sandkasse' -- cfg['template-sandbox-preload'] -- Preload file for template sandbox pages. cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox' -- cfg['module-sandbox-preload'] -- Preload file for Lua module sandbox pages. cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox' -- cfg['sandbox-link-display'] -- The text to display for "sandbox" links. cfg['sandbox-link-display'] = 'sandkassen' -- cfg['sandbox-edit-link-display'] -- The text to display for sandbox "edit" links. cfg['sandbox-edit-link-display'] = 'rediger' -- cfg['sandbox-create-link-display'] -- The text to display for sandbox "create" links. cfg['sandbox-create-link-display'] = 'opprett' -- cfg['compare-link-display'] -- The text to display for "compare" links. cfg['compare-link-display'] = 'diff' -- cfg['mirror-edit-summary'] -- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the -- template page. cfg['mirror-edit-summary'] = 'Create sandbox version of $1' -- cfg['mirror-link-display'] -- The text to display for "mirror" links. cfg['mirror-link-display'] = 'mirror' -- cfg['mirror-link-preload'] -- The page to preload when a user clicks the "mirror" link. cfg['mirror-link-preload'] = 'Template:Documentation/mirror' ---------------------------------------------------------------------------------------------------- -- Test cases link configuration ---------------------------------------------------------------------------------------------------- -- cfg['testcases-subpage'] -- The name of the template subpage typically used for test cases. cfg['testcases-subpage'] = 'testcases' -- cfg['template-testcases-preload'] -- Preload file for template test cases pages. cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases' -- cfg['module-testcases-preload'] -- Preload file for Lua module test cases pages. cfg['module-testcases-preload'] = 'Module:Documentation/preload-module-testcases' -- cfg['testcases-link-display'] -- The text to display for "testcases" links. cfg['testcases-link-display'] = 'testcases' -- cfg['testcases-edit-link-display'] -- The text to display for test cases "edit" links. cfg['testcases-edit-link-display'] = 'rediger' -- cfg['testcases-run-link-display'] -- The text to display for test cases "run" links. cfg['testcases-run-link-display'] = 'kjør' -- cfg['testcases-create-link-display'] -- The text to display for test cases "create" links. cfg['testcases-create-link-display'] = 'opprett' ---------------------------------------------------------------------------------------------------- -- Add categories blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['add-categories-blurb'] -- Text to direct users to add categories to the /doc subpage. Not used if the "content" or -- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a -- link to the /doc subpage with a display value of cfg['doc-link-display']. --]] cfg['add-categories-blurb'] = 'Add categories to the $1 subpage.' -- cfg['doc-link-display'] -- The text to display when linking to the /doc subpage. cfg['doc-link-display'] = '/dok' ---------------------------------------------------------------------------------------------------- -- Subpages link configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['subpages-blurb'] -- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a -- display value of cfg['subpages-link-display']. In the English version this blurb is simply -- the link followed by a period, and the link display provides the actual text. --]] cfg['subpages-blurb'] = '$1.' --[[ -- cfg['subpages-link-display'] -- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'], -- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in -- the template namespace, the module namespace, or another namespace. --]] cfg['subpages-link-display'] = 'Undersider av $1' -- cfg['template-pagetype'] -- The pagetype to display for template pages. cfg['template-pagetype'] = 'mal' -- cfg['module-pagetype'] -- The pagetype to display for Lua module pages. cfg['module-pagetype'] = 'modul' -- cfg['default-pagetype'] -- The pagetype to display for pages other than templates or Lua modules. cfg['default-pagetype'] = 'siden' ---------------------------------------------------------------------------------------------------- -- Doc link configuration ---------------------------------------------------------------------------------------------------- -- cfg['doc-subpage'] -- The name of the subpage typically used for documentation pages. cfg['doc-subpage'] = 'dok' -- cfg['docpage-preload'] -- Preload file for template documentation pages in all namespaces. cfg['docpage-preload'] = 'Template:Documentation/preload' -- cfg['module-preload'] -- Preload file for Lua module documentation pages. cfg['module-preload'] = 'Template:Documentation/preload-module-doc' ---------------------------------------------------------------------------------------------------- -- HTML and CSS configuration ---------------------------------------------------------------------------------------------------- -- cfg['templatestyles'] -- The name of the TemplateStyles page where CSS is kept. -- Sandbox CSS will be at Module:Documentation/sandbox/styles.css when needed. cfg['templatestyles'] = 'Module:Documentation/styles.css' -- cfg['container'] -- Class which can be used to set flex or grid CSS on the -- two child divs documentation and documentation-metadata cfg['container'] = 'documentation-container' -- cfg['main-div-classes'] -- Classes added to the main HTML "div" tag. cfg['main-div-classes'] = 'documentation' -- cfg['main-div-heading-class'] -- Class for the main heading for templates and modules and assoc. talk spaces cfg['main-div-heading-class'] = 'documentation-heading' -- cfg['start-box-class'] -- Class for the start box cfg['start-box-class'] = 'documentation-startbox' -- cfg['start-box-link-classes'] -- Classes used for the [view][edit][history] or [create] links in the start box. -- mw-editsection-like is per [[w:Wikipedia:Village pump (technical)/Archive 117#Template documentation header problem]] cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks' -- cfg['end-box-class'] -- Class for the end box. cfg['end-box-class'] = 'documentation-metadata' -- cfg['end-box-plainlinks'] -- Plainlinks cfg['end-box-plainlinks'] = 'plainlinks' -- cfg['toolbar-class'] -- Class added for toolbar links. cfg['toolbar-class'] = 'documentation-toolbar' -- cfg['clear'] -- Just used to clear things. cfg['clear'] = 'documentation-clear' ---------------------------------------------------------------------------------------------------- -- Tracking category configuration ---------------------------------------------------------------------------------------------------- -- cfg['display-strange-usage-category'] -- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage -- or a /testcases subpage. This should be a boolean value (either true or false). cfg['display-strange-usage-category'] = true -- cfg['strange-usage-category'] -- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a -- /doc subpage or a /testcases subpage. cfg['strange-usage-category'] = 'Pages with strange documentation template usage' --[[ ---------------------------------------------------------------------------------------------------- -- End configuration -- -- Don't edit anything below this line. ---------------------------------------------------------------------------------------------------- --]] return cfg oky8o57eysz5u7b4j36pmcd99pxy3ij 339290 339289 2026-10-10T13:18:55Z Tholme 1359 339290 Scribunto text/plain ---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. ---------------------------------------------------------------------------------------------------- local cfg = {} -- Do not edit this line. ---------------------------------------------------------------------------------------------------- -- Protection template configuration ---------------------------------------------------------------------------------------------------- -- cfg['protection-reason-edit'] -- The protection reason for edit-protected templates to pass to -- [[Module:Protection banner]]. cfg['protection-reason-edit'] = 'template' --[[ ---------------------------------------------------------------------------------------------------- -- Sandbox notice configuration -- -- On sandbox pages the module can display a template notifying users that the current page is a -- sandbox, and the location of test cases pages, etc. The module decides whether the page is a -- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the -- messages that the notices contains. ---------------------------------------------------------------------------------------------------- --]] -- cfg['sandbox-notice-image'] -- The image displayed in the sandbox notice. cfg['sandbox-notice-image'] = '[[File:Sandbox.svg|50px|alt=|link=]]' --[[ -- cfg['sandbox-notice-pagetype-template'] -- cfg['sandbox-notice-pagetype-module'] -- cfg['sandbox-notice-pagetype-other'] -- The page type of the sandbox page. The message that is displayed depends on the current subject -- namespace. This message is used in either cfg['sandbox-notice-blurb'] or -- cfg['sandbox-notice-diff-blurb']. --]] cfg['sandbox-notice-pagetype-template'] = '[[w:Wikipedia:Template test cases|template sandbox]] page' cfg['sandbox-notice-pagetype-module'] = '[[w:Wikipedia:Template test cases|module sandbox]] page' cfg['sandbox-notice-pagetype-other'] = 'sandbox page' --[[ -- cfg['sandbox-notice-blurb'] -- cfg['sandbox-notice-diff-blurb'] -- cfg['sandbox-notice-diff-display'] -- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence -- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page -- type, which is either cfg['sandbox-notice-pagetype-template'], -- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what -- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between -- the sandbox and the main template. The display value of the diff link is set by -- cfg['sandbox-notice-compare-link-display']. --]] cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.' cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).' cfg['sandbox-notice-compare-link-display'] = 'diff' --[[ -- cfg['sandbox-notice-testcases-blurb'] -- cfg['sandbox-notice-testcases-link-display'] -- cfg['sandbox-notice-testcases-run-blurb'] -- cfg['sandbox-notice-testcases-run-link-display'] -- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit. $1 is a link to the test cases page. -- cfg['sandbox-notice-testcases-link-display'] is the display value for that link. -- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test -- cases page, and $2 is a link to the page to run it. -- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test -- cases. --]] cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.' cfg['sandbox-notice-testcases-link-display'] = 'test cases' cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).' cfg['sandbox-notice-testcases-run-link-display'] = 'run' -- cfg['sandbox-category'] - A category to add to all template sandboxes. -- cfg['module-sandbox-category'] - A category to add to all module sandboxes. -- cfg['module-sandbox-category'] - A category to add to all sandboxe not in templates or modules. cfg['sandbox-category'] = 'Template sandboxes' cfg['module-sandbox-category'] = 'Module sandboxes' cfg['other-sandbox-category'] = 'Sandboxes outside of template or module namespace' ---------------------------------------------------------------------------------------------------- -- Start box configuration ---------------------------------------------------------------------------------------------------- -- cfg['documentation-icon-wikitext'] -- The wikitext for the icon shown at the top of the template. cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]' -- cfg['template-namespace-heading'] -- The heading shown in the template namespace. cfg['template-namespace-heading'] = 'Maldokumentasjon' -- cfg['module-namespace-heading'] -- The heading shown in the module namespace. cfg['module-namespace-heading'] = 'Moduldokumentasjon' -- cfg['file-namespace-heading'] -- The heading shown in the file namespace. cfg['file-namespace-heading'] = 'Summary' -- cfg['other-namespaces-heading'] -- The heading shown in other namespaces. cfg['other-namespaces-heading'] = 'Dokumentasjon' -- cfg['view-link-display'] -- The text to display for "view" links. cfg['view-link-display'] = 'vis' -- cfg['edit-link-display'] -- The text to display for "edit" links. cfg['edit-link-display'] = 'rediger' -- cfg['history-link-display'] -- The text to display for "history" links. cfg['history-link-display'] = 'historikk' -- cfg['purge-link-display'] -- The text to display for "purge" links. cfg['purge-link-display'] = 'purge' -- cfg['create-link-display'] -- The text to display for "create" links. cfg['create-link-display'] = 'opprett' ---------------------------------------------------------------------------------------------------- -- Link box (end box) configuration ---------------------------------------------------------------------------------------------------- -- cfg['transcluded-from-blurb'] -- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page. cfg['transcluded-from-blurb'] = 'The above [[w:Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.' --[[ -- cfg['create-module-doc-blurb'] -- Notice displayed in the module namespace when the documentation subpage does not exist. -- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the -- display cfg['create-link-display']. --]] cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[w:Wikipedia:Lua|Scribunto module]].' ---------------------------------------------------------------------------------------------------- -- Experiment blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['experiment-blurb-template'] -- cfg['experiment-blurb-module'] -- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages. -- It is only shown in the template and module namespaces. With the default English settings, it -- might look like this: -- -- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. -- -- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links. -- -- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending -- on what namespace we are in. -- -- Parameters: -- -- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display']) -- -- If the sandbox doesn't exist, it is in the format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display']) -- -- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload'] -- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display'] -- loads a default edit summary of cfg['mirror-edit-summary']. -- -- $2 is a link to the test cases page. If the test cases page exists, it is in the following format: -- -- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display']) -- -- If the test cases page doesn't exist, it is in the format: -- -- cfg['testcases-link-display'] (cfg['testcases-create-link-display']) -- -- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the -- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current -- namespace. --]] cfg['experiment-blurb-template'] = "Du kan eksperimentere i $1 og $2 til denne malen." cfg['experiment-blurb-module'] = "Du kan eksperimentere i $1 og $2 til denne modulen." ---------------------------------------------------------------------------------------------------- -- Sandbox link configuration ---------------------------------------------------------------------------------------------------- -- cfg['sandbox-subpage'] -- The name of the template subpage typically used for sandboxes. cfg['sandbox-subpage'] = 'sandkasse' -- cfg['template-sandbox-preload'] -- Preload file for template sandbox pages. cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox' -- cfg['module-sandbox-preload'] -- Preload file for Lua module sandbox pages. cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox' -- cfg['sandbox-link-display'] -- The text to display for "sandbox" links. cfg['sandbox-link-display'] = 'sandkassen' -- cfg['sandbox-edit-link-display'] -- The text to display for sandbox "edit" links. cfg['sandbox-edit-link-display'] = 'rediger' -- cfg['sandbox-create-link-display'] -- The text to display for sandbox "create" links. cfg['sandbox-create-link-display'] = 'opprett' -- cfg['compare-link-display'] -- The text to display for "compare" links. cfg['compare-link-display'] = 'diff' -- cfg['mirror-edit-summary'] -- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the -- template page. cfg['mirror-edit-summary'] = 'Create sandbox version of $1' -- cfg['mirror-link-display'] -- The text to display for "mirror" links. cfg['mirror-link-display'] = 'mirror' -- cfg['mirror-link-preload'] -- The page to preload when a user clicks the "mirror" link. cfg['mirror-link-preload'] = 'Template:Documentation/mirror' ---------------------------------------------------------------------------------------------------- -- Test cases link configuration ---------------------------------------------------------------------------------------------------- -- cfg['testcases-subpage'] -- The name of the template subpage typically used for test cases. cfg['testcases-subpage'] = 'testtilfeller' -- cfg['template-testcases-preload'] -- Preload file for template test cases pages. cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases' -- cfg['module-testcases-preload'] -- Preload file for Lua module test cases pages. cfg['module-testcases-preload'] = 'Module:Documentation/preload-module-testcases' -- cfg['testcases-link-display'] -- The text to display for "testcases" links. cfg['testcases-link-display'] = 'testcases' -- cfg['testcases-edit-link-display'] -- The text to display for test cases "edit" links. cfg['testcases-edit-link-display'] = 'rediger' -- cfg['testcases-run-link-display'] -- The text to display for test cases "run" links. cfg['testcases-run-link-display'] = 'kjør' -- cfg['testcases-create-link-display'] -- The text to display for test cases "create" links. cfg['testcases-create-link-display'] = 'opprett' ---------------------------------------------------------------------------------------------------- -- Add categories blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['add-categories-blurb'] -- Text to direct users to add categories to the /doc subpage. Not used if the "content" or -- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a -- link to the /doc subpage with a display value of cfg['doc-link-display']. --]] cfg['add-categories-blurb'] = 'Add categories to the $1 subpage.' -- cfg['doc-link-display'] -- The text to display when linking to the /doc subpage. cfg['doc-link-display'] = '/dok' ---------------------------------------------------------------------------------------------------- -- Subpages link configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['subpages-blurb'] -- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a -- display value of cfg['subpages-link-display']. In the English version this blurb is simply -- the link followed by a period, and the link display provides the actual text. --]] cfg['subpages-blurb'] = '$1.' --[[ -- cfg['subpages-link-display'] -- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'], -- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in -- the template namespace, the module namespace, or another namespace. --]] cfg['subpages-link-display'] = 'Undersider av $1' -- cfg['template-pagetype'] -- The pagetype to display for template pages. cfg['template-pagetype'] = 'mal' -- cfg['module-pagetype'] -- The pagetype to display for Lua module pages. cfg['module-pagetype'] = 'modul' -- cfg['default-pagetype'] -- The pagetype to display for pages other than templates or Lua modules. cfg['default-pagetype'] = 'siden' ---------------------------------------------------------------------------------------------------- -- Doc link configuration ---------------------------------------------------------------------------------------------------- -- cfg['doc-subpage'] -- The name of the subpage typically used for documentation pages. cfg['doc-subpage'] = 'dok' -- cfg['docpage-preload'] -- Preload file for template documentation pages in all namespaces. cfg['docpage-preload'] = 'Template:Documentation/preload' -- cfg['module-preload'] -- Preload file for Lua module documentation pages. cfg['module-preload'] = 'Template:Documentation/preload-module-doc' ---------------------------------------------------------------------------------------------------- -- HTML and CSS configuration ---------------------------------------------------------------------------------------------------- -- cfg['templatestyles'] -- The name of the TemplateStyles page where CSS is kept. -- Sandbox CSS will be at Module:Documentation/sandbox/styles.css when needed. cfg['templatestyles'] = 'Module:Documentation/styles.css' -- cfg['container'] -- Class which can be used to set flex or grid CSS on the -- two child divs documentation and documentation-metadata cfg['container'] = 'documentation-container' -- cfg['main-div-classes'] -- Classes added to the main HTML "div" tag. cfg['main-div-classes'] = 'documentation' -- cfg['main-div-heading-class'] -- Class for the main heading for templates and modules and assoc. talk spaces cfg['main-div-heading-class'] = 'documentation-heading' -- cfg['start-box-class'] -- Class for the start box cfg['start-box-class'] = 'documentation-startbox' -- cfg['start-box-link-classes'] -- Classes used for the [view][edit][history] or [create] links in the start box. -- mw-editsection-like is per [[w:Wikipedia:Village pump (technical)/Archive 117#Template documentation header problem]] cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks' -- cfg['end-box-class'] -- Class for the end box. cfg['end-box-class'] = 'documentation-metadata' -- cfg['end-box-plainlinks'] -- Plainlinks cfg['end-box-plainlinks'] = 'plainlinks' -- cfg['toolbar-class'] -- Class added for toolbar links. cfg['toolbar-class'] = 'documentation-toolbar' -- cfg['clear'] -- Just used to clear things. cfg['clear'] = 'documentation-clear' ---------------------------------------------------------------------------------------------------- -- Tracking category configuration ---------------------------------------------------------------------------------------------------- -- cfg['display-strange-usage-category'] -- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage -- or a /testcases subpage. This should be a boolean value (either true or false). cfg['display-strange-usage-category'] = true -- cfg['strange-usage-category'] -- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a -- /doc subpage or a /testcases subpage. cfg['strange-usage-category'] = 'Pages with strange documentation template usage' --[[ ---------------------------------------------------------------------------------------------------- -- End configuration -- -- Don't edit anything below this line. ---------------------------------------------------------------------------------------------------- --]] return cfg sywvptqmykkmxjcabgci6g6mxdxl0zf 339291 339290 2026-10-10T13:19:42Z Tholme 1359 339291 Scribunto text/plain ---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. ---------------------------------------------------------------------------------------------------- local cfg = {} -- Do not edit this line. ---------------------------------------------------------------------------------------------------- -- Protection template configuration ---------------------------------------------------------------------------------------------------- -- cfg['protection-reason-edit'] -- The protection reason for edit-protected templates to pass to -- [[Module:Protection banner]]. cfg['protection-reason-edit'] = 'template' --[[ ---------------------------------------------------------------------------------------------------- -- Sandbox notice configuration -- -- On sandbox pages the module can display a template notifying users that the current page is a -- sandbox, and the location of test cases pages, etc. The module decides whether the page is a -- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the -- messages that the notices contains. ---------------------------------------------------------------------------------------------------- --]] -- cfg['sandbox-notice-image'] -- The image displayed in the sandbox notice. cfg['sandbox-notice-image'] = '[[File:Sandbox.svg|50px|alt=|link=]]' --[[ -- cfg['sandbox-notice-pagetype-template'] -- cfg['sandbox-notice-pagetype-module'] -- cfg['sandbox-notice-pagetype-other'] -- The page type of the sandbox page. The message that is displayed depends on the current subject -- namespace. This message is used in either cfg['sandbox-notice-blurb'] or -- cfg['sandbox-notice-diff-blurb']. --]] cfg['sandbox-notice-pagetype-template'] = '[[w:Wikipedia:Template test cases|template sandbox]] page' cfg['sandbox-notice-pagetype-module'] = '[[w:Wikipedia:Template test cases|module sandbox]] page' cfg['sandbox-notice-pagetype-other'] = 'sandbox page' --[[ -- cfg['sandbox-notice-blurb'] -- cfg['sandbox-notice-diff-blurb'] -- cfg['sandbox-notice-diff-display'] -- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence -- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page -- type, which is either cfg['sandbox-notice-pagetype-template'], -- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what -- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between -- the sandbox and the main template. The display value of the diff link is set by -- cfg['sandbox-notice-compare-link-display']. --]] cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.' cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).' cfg['sandbox-notice-compare-link-display'] = 'diff' --[[ -- cfg['sandbox-notice-testcases-blurb'] -- cfg['sandbox-notice-testcases-link-display'] -- cfg['sandbox-notice-testcases-run-blurb'] -- cfg['sandbox-notice-testcases-run-link-display'] -- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit. $1 is a link to the test cases page. -- cfg['sandbox-notice-testcases-link-display'] is the display value for that link. -- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test -- cases page, and $2 is a link to the page to run it. -- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test -- cases. --]] cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.' cfg['sandbox-notice-testcases-link-display'] = 'test cases' cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).' cfg['sandbox-notice-testcases-run-link-display'] = 'run' -- cfg['sandbox-category'] - A category to add to all template sandboxes. -- cfg['module-sandbox-category'] - A category to add to all module sandboxes. -- cfg['module-sandbox-category'] - A category to add to all sandboxe not in templates or modules. cfg['sandbox-category'] = 'Template sandboxes' cfg['module-sandbox-category'] = 'Module sandboxes' cfg['other-sandbox-category'] = 'Sandboxes outside of template or module namespace' ---------------------------------------------------------------------------------------------------- -- Start box configuration ---------------------------------------------------------------------------------------------------- -- cfg['documentation-icon-wikitext'] -- The wikitext for the icon shown at the top of the template. cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]' -- cfg['template-namespace-heading'] -- The heading shown in the template namespace. cfg['template-namespace-heading'] = 'Maldokumentasjon' -- cfg['module-namespace-heading'] -- The heading shown in the module namespace. cfg['module-namespace-heading'] = 'Moduldokumentasjon' -- cfg['file-namespace-heading'] -- The heading shown in the file namespace. cfg['file-namespace-heading'] = 'Summary' -- cfg['other-namespaces-heading'] -- The heading shown in other namespaces. cfg['other-namespaces-heading'] = 'Dokumentasjon' -- cfg['view-link-display'] -- The text to display for "view" links. cfg['view-link-display'] = 'vis' -- cfg['edit-link-display'] -- The text to display for "edit" links. cfg['edit-link-display'] = 'rediger' -- cfg['history-link-display'] -- The text to display for "history" links. cfg['history-link-display'] = 'historikk' -- cfg['purge-link-display'] -- The text to display for "purge" links. cfg['purge-link-display'] = 'purge' -- cfg['create-link-display'] -- The text to display for "create" links. cfg['create-link-display'] = 'opprett' ---------------------------------------------------------------------------------------------------- -- Link box (end box) configuration ---------------------------------------------------------------------------------------------------- -- cfg['transcluded-from-blurb'] -- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page. cfg['transcluded-from-blurb'] = 'The above [[w:Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.' --[[ -- cfg['create-module-doc-blurb'] -- Notice displayed in the module namespace when the documentation subpage does not exist. -- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the -- display cfg['create-link-display']. --]] cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[w:Wikipedia:Lua|Scribunto module]].' ---------------------------------------------------------------------------------------------------- -- Experiment blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['experiment-blurb-template'] -- cfg['experiment-blurb-module'] -- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages. -- It is only shown in the template and module namespaces. With the default English settings, it -- might look like this: -- -- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. -- -- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links. -- -- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending -- on what namespace we are in. -- -- Parameters: -- -- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display']) -- -- If the sandbox doesn't exist, it is in the format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display']) -- -- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload'] -- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display'] -- loads a default edit summary of cfg['mirror-edit-summary']. -- -- $2 is a link to the test cases page. If the test cases page exists, it is in the following format: -- -- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display']) -- -- If the test cases page doesn't exist, it is in the format: -- -- cfg['testcases-link-display'] (cfg['testcases-create-link-display']) -- -- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the -- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current -- namespace. --]] cfg['experiment-blurb-template'] = "Du kan eksperimentere i $1 og $2 til denne malen." cfg['experiment-blurb-module'] = "Du kan eksperimentere i $1 og $2 til denne modulen." ---------------------------------------------------------------------------------------------------- -- Sandbox link configuration ---------------------------------------------------------------------------------------------------- -- cfg['sandbox-subpage'] -- The name of the template subpage typically used for sandboxes. cfg['sandbox-subpage'] = 'sandkasse' -- cfg['template-sandbox-preload'] -- Preload file for template sandbox pages. cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox' -- cfg['module-sandbox-preload'] -- Preload file for Lua module sandbox pages. cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox' -- cfg['sandbox-link-display'] -- The text to display for "sandbox" links. cfg['sandbox-link-display'] = 'sandkassen' -- cfg['sandbox-edit-link-display'] -- The text to display for sandbox "edit" links. cfg['sandbox-edit-link-display'] = 'rediger' -- cfg['sandbox-create-link-display'] -- The text to display for sandbox "create" links. cfg['sandbox-create-link-display'] = 'opprett' -- cfg['compare-link-display'] -- The text to display for "compare" links. cfg['compare-link-display'] = 'diff' -- cfg['mirror-edit-summary'] -- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the -- template page. cfg['mirror-edit-summary'] = 'Create sandbox version of $1' -- cfg['mirror-link-display'] -- The text to display for "mirror" links. cfg['mirror-link-display'] = 'mirror' -- cfg['mirror-link-preload'] -- The page to preload when a user clicks the "mirror" link. cfg['mirror-link-preload'] = 'Template:Documentation/mirror' ---------------------------------------------------------------------------------------------------- -- Test cases link configuration ---------------------------------------------------------------------------------------------------- -- cfg['testcases-subpage'] -- The name of the template subpage typically used for test cases. cfg['testcases-subpage'] = 'testtilfeller' -- cfg['template-testcases-preload'] -- Preload file for template test cases pages. cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases' -- cfg['module-testcases-preload'] -- Preload file for Lua module test cases pages. cfg['module-testcases-preload'] = 'Module:Documentation/preload-module-testcases' -- cfg['testcases-link-display'] -- The text to display for "testcases" links. cfg['testcases-link-display'] = 'testtilfeller' -- cfg['testcases-edit-link-display'] -- The text to display for test cases "edit" links. cfg['testcases-edit-link-display'] = 'rediger' -- cfg['testcases-run-link-display'] -- The text to display for test cases "run" links. cfg['testcases-run-link-display'] = 'kjør' -- cfg['testcases-create-link-display'] -- The text to display for test cases "create" links. cfg['testcases-create-link-display'] = 'opprett' ---------------------------------------------------------------------------------------------------- -- Add categories blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['add-categories-blurb'] -- Text to direct users to add categories to the /doc subpage. Not used if the "content" or -- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a -- link to the /doc subpage with a display value of cfg['doc-link-display']. --]] cfg['add-categories-blurb'] = 'Add categories to the $1 subpage.' -- cfg['doc-link-display'] -- The text to display when linking to the /doc subpage. cfg['doc-link-display'] = '/dok' ---------------------------------------------------------------------------------------------------- -- Subpages link configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['subpages-blurb'] -- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a -- display value of cfg['subpages-link-display']. In the English version this blurb is simply -- the link followed by a period, and the link display provides the actual text. --]] cfg['subpages-blurb'] = '$1.' --[[ -- cfg['subpages-link-display'] -- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'], -- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in -- the template namespace, the module namespace, or another namespace. --]] cfg['subpages-link-display'] = 'Undersider av $1' -- cfg['template-pagetype'] -- The pagetype to display for template pages. cfg['template-pagetype'] = 'mal' -- cfg['module-pagetype'] -- The pagetype to display for Lua module pages. cfg['module-pagetype'] = 'modul' -- cfg['default-pagetype'] -- The pagetype to display for pages other than templates or Lua modules. cfg['default-pagetype'] = 'siden' ---------------------------------------------------------------------------------------------------- -- Doc link configuration ---------------------------------------------------------------------------------------------------- -- cfg['doc-subpage'] -- The name of the subpage typically used for documentation pages. cfg['doc-subpage'] = 'dok' -- cfg['docpage-preload'] -- Preload file for template documentation pages in all namespaces. cfg['docpage-preload'] = 'Template:Documentation/preload' -- cfg['module-preload'] -- Preload file for Lua module documentation pages. cfg['module-preload'] = 'Template:Documentation/preload-module-doc' ---------------------------------------------------------------------------------------------------- -- HTML and CSS configuration ---------------------------------------------------------------------------------------------------- -- cfg['templatestyles'] -- The name of the TemplateStyles page where CSS is kept. -- Sandbox CSS will be at Module:Documentation/sandbox/styles.css when needed. cfg['templatestyles'] = 'Module:Documentation/styles.css' -- cfg['container'] -- Class which can be used to set flex or grid CSS on the -- two child divs documentation and documentation-metadata cfg['container'] = 'documentation-container' -- cfg['main-div-classes'] -- Classes added to the main HTML "div" tag. cfg['main-div-classes'] = 'documentation' -- cfg['main-div-heading-class'] -- Class for the main heading for templates and modules and assoc. talk spaces cfg['main-div-heading-class'] = 'documentation-heading' -- cfg['start-box-class'] -- Class for the start box cfg['start-box-class'] = 'documentation-startbox' -- cfg['start-box-link-classes'] -- Classes used for the [view][edit][history] or [create] links in the start box. -- mw-editsection-like is per [[w:Wikipedia:Village pump (technical)/Archive 117#Template documentation header problem]] cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks' -- cfg['end-box-class'] -- Class for the end box. cfg['end-box-class'] = 'documentation-metadata' -- cfg['end-box-plainlinks'] -- Plainlinks cfg['end-box-plainlinks'] = 'plainlinks' -- cfg['toolbar-class'] -- Class added for toolbar links. cfg['toolbar-class'] = 'documentation-toolbar' -- cfg['clear'] -- Just used to clear things. cfg['clear'] = 'documentation-clear' ---------------------------------------------------------------------------------------------------- -- Tracking category configuration ---------------------------------------------------------------------------------------------------- -- cfg['display-strange-usage-category'] -- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage -- or a /testcases subpage. This should be a boolean value (either true or false). cfg['display-strange-usage-category'] = true -- cfg['strange-usage-category'] -- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a -- /doc subpage or a /testcases subpage. cfg['strange-usage-category'] = 'Pages with strange documentation template usage' --[[ ---------------------------------------------------------------------------------------------------- -- End configuration -- -- Don't edit anything below this line. ---------------------------------------------------------------------------------------------------- --]] return cfg b84drygqma7os2g72fnb01t29ug8scx 339292 339291 2026-10-10T13:20:42Z Tholme 1359 339292 Scribunto text/plain ---------------------------------------------------------------------------------------------------- -- -- Configuration for Module:Documentation -- -- Here you can set the values of the parameters and messages used in Module:Documentation to -- localise it to your wiki and your language. Unless specified otherwise, values given here -- should be string values. ---------------------------------------------------------------------------------------------------- local cfg = {} -- Do not edit this line. ---------------------------------------------------------------------------------------------------- -- Protection template configuration ---------------------------------------------------------------------------------------------------- -- cfg['protection-reason-edit'] -- The protection reason for edit-protected templates to pass to -- [[Module:Protection banner]]. cfg['protection-reason-edit'] = 'template' --[[ ---------------------------------------------------------------------------------------------------- -- Sandbox notice configuration -- -- On sandbox pages the module can display a template notifying users that the current page is a -- sandbox, and the location of test cases pages, etc. The module decides whether the page is a -- sandbox or not based on the value of cfg['sandbox-subpage']. The following settings configure the -- messages that the notices contains. ---------------------------------------------------------------------------------------------------- --]] -- cfg['sandbox-notice-image'] -- The image displayed in the sandbox notice. cfg['sandbox-notice-image'] = '[[File:Sandbox.svg|50px|alt=|link=]]' --[[ -- cfg['sandbox-notice-pagetype-template'] -- cfg['sandbox-notice-pagetype-module'] -- cfg['sandbox-notice-pagetype-other'] -- The page type of the sandbox page. The message that is displayed depends on the current subject -- namespace. This message is used in either cfg['sandbox-notice-blurb'] or -- cfg['sandbox-notice-diff-blurb']. --]] cfg['sandbox-notice-pagetype-template'] = '[[w:Wikipedia:Template test cases|template sandbox]] page' cfg['sandbox-notice-pagetype-module'] = '[[w:Wikipedia:Template test cases|module sandbox]] page' cfg['sandbox-notice-pagetype-other'] = 'sandbox page' --[[ -- cfg['sandbox-notice-blurb'] -- cfg['sandbox-notice-diff-blurb'] -- cfg['sandbox-notice-diff-display'] -- Either cfg['sandbox-notice-blurb'] or cfg['sandbox-notice-diff-blurb'] is the opening sentence -- of the sandbox notice. The latter has a diff link, but the former does not. $1 is the page -- type, which is either cfg['sandbox-notice-pagetype-template'], -- cfg['sandbox-notice-pagetype-module'] or cfg['sandbox-notice-pagetype-other'] depending what -- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between -- the sandbox and the main template. The display value of the diff link is set by -- cfg['sandbox-notice-compare-link-display']. --]] cfg['sandbox-notice-blurb'] = 'This is the $1 for $2.' cfg['sandbox-notice-diff-blurb'] = 'This is the $1 for $2 ($3).' cfg['sandbox-notice-compare-link-display'] = 'diff' --[[ -- cfg['sandbox-notice-testcases-blurb'] -- cfg['sandbox-notice-testcases-link-display'] -- cfg['sandbox-notice-testcases-run-blurb'] -- cfg['sandbox-notice-testcases-run-link-display'] -- cfg['sandbox-notice-testcases-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit. $1 is a link to the test cases page. -- cfg['sandbox-notice-testcases-link-display'] is the display value for that link. -- cfg['sandbox-notice-testcases-run-blurb'] is a sentence notifying the user that there is a test cases page -- corresponding to this sandbox that they can edit, along with a link to run it. $1 is a link to the test -- cases page, and $2 is a link to the page to run it. -- cfg['sandbox-notice-testcases-run-link-display'] is the display value for the link to run the test -- cases. --]] cfg['sandbox-notice-testcases-blurb'] = 'See also the companion subpage for $1.' cfg['sandbox-notice-testcases-link-display'] = 'test cases' cfg['sandbox-notice-testcases-run-blurb'] = 'See also the companion subpage for $1 ($2).' cfg['sandbox-notice-testcases-run-link-display'] = 'run' -- cfg['sandbox-category'] - A category to add to all template sandboxes. -- cfg['module-sandbox-category'] - A category to add to all module sandboxes. -- cfg['module-sandbox-category'] - A category to add to all sandboxe not in templates or modules. cfg['sandbox-category'] = 'Template sandboxes' cfg['module-sandbox-category'] = 'Module sandboxes' cfg['other-sandbox-category'] = 'Sandboxes outside of template or module namespace' ---------------------------------------------------------------------------------------------------- -- Start box configuration ---------------------------------------------------------------------------------------------------- -- cfg['documentation-icon-wikitext'] -- The wikitext for the icon shown at the top of the template. cfg['documentation-icon-wikitext'] = '[[File:Test Template Info-Icon - Version (2).svg|50px|link=|alt=]]' -- cfg['template-namespace-heading'] -- The heading shown in the template namespace. cfg['template-namespace-heading'] = 'Maldokumentasjon' -- cfg['module-namespace-heading'] -- The heading shown in the module namespace. cfg['module-namespace-heading'] = 'Moduldokumentasjon' -- cfg['file-namespace-heading'] -- The heading shown in the file namespace. cfg['file-namespace-heading'] = 'Summary' -- cfg['other-namespaces-heading'] -- The heading shown in other namespaces. cfg['other-namespaces-heading'] = 'Dokumentasjon' -- cfg['view-link-display'] -- The text to display for "view" links. cfg['view-link-display'] = 'vis' -- cfg['edit-link-display'] -- The text to display for "edit" links. cfg['edit-link-display'] = 'rediger' -- cfg['history-link-display'] -- The text to display for "history" links. cfg['history-link-display'] = 'historikk' -- cfg['purge-link-display'] -- The text to display for "purge" links. cfg['purge-link-display'] = 'purge' -- cfg['create-link-display'] -- The text to display for "create" links. cfg['create-link-display'] = 'opprett' ---------------------------------------------------------------------------------------------------- -- Link box (end box) configuration ---------------------------------------------------------------------------------------------------- -- cfg['transcluded-from-blurb'] -- Notice displayed when the docs are transcluded from another page. $1 is a wikilink to that page. cfg['transcluded-from-blurb'] = 'The above [[w:Wikipedia:Template documentation|documentation]] is [[Help:Transclusion|transcluded]] from $1.' --[[ -- cfg['create-module-doc-blurb'] -- Notice displayed in the module namespace when the documentation subpage does not exist. -- $1 is a link to create the documentation page with the preload cfg['module-preload'] and the -- display cfg['create-link-display']. --]] cfg['create-module-doc-blurb'] = 'You might want to $1 a documentation page for this [[w:Wikipedia:Lua|Scribunto module]].' ---------------------------------------------------------------------------------------------------- -- Experiment blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['experiment-blurb-template'] -- cfg['experiment-blurb-module'] -- The experiment blurb is the text inviting editors to experiment in sandbox and test cases pages. -- It is only shown in the template and module namespaces. With the default English settings, it -- might look like this: -- -- Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. -- -- In this example, "sandbox", "edit", "diff", "testcases", and "edit" would all be links. -- -- There are two versions, cfg['experiment-blurb-template'] and cfg['experiment-blurb-module'], depending -- on what namespace we are in. -- -- Parameters: -- -- $1 is a link to the sandbox page. If the sandbox exists, it is in the following format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-edit-link-display'] | cfg['compare-link-display']) -- -- If the sandbox doesn't exist, it is in the format: -- -- cfg['sandbox-link-display'] (cfg['sandbox-create-link-display'] | cfg['mirror-link-display']) -- -- The link for cfg['sandbox-create-link-display'] link preloads the page with cfg['template-sandbox-preload'] -- or cfg['module-sandbox-preload'], depending on the current namespace. The link for cfg['mirror-link-display'] -- loads a default edit summary of cfg['mirror-edit-summary']. -- -- $2 is a link to the test cases page. If the test cases page exists, it is in the following format: -- -- cfg['testcases-link-display'] (cfg['testcases-edit-link-display'] | cfg['testcases-run-link-display']) -- -- If the test cases page doesn't exist, it is in the format: -- -- cfg['testcases-link-display'] (cfg['testcases-create-link-display']) -- -- If the test cases page doesn't exist, the link for cfg['testcases-create-link-display'] preloads the -- page with cfg['template-testcases-preload'] or cfg['module-testcases-preload'], depending on the current -- namespace. --]] cfg['experiment-blurb-template'] = "Du kan eksperimentere i $1 og $2 til denne malen." cfg['experiment-blurb-module'] = "Du kan eksperimentere i $1 og $2 til denne modulen." ---------------------------------------------------------------------------------------------------- -- Sandbox link configuration ---------------------------------------------------------------------------------------------------- -- cfg['sandbox-subpage'] -- The name of the template subpage typically used for sandboxes. cfg['sandbox-subpage'] = 'sandkasse' -- cfg['template-sandbox-preload'] -- Preload file for template sandbox pages. cfg['template-sandbox-preload'] = 'Template:Documentation/preload-sandbox' -- cfg['module-sandbox-preload'] -- Preload file for Lua module sandbox pages. cfg['module-sandbox-preload'] = 'Template:Documentation/preload-module-sandbox' -- cfg['sandbox-link-display'] -- The text to display for "sandbox" links. cfg['sandbox-link-display'] = 'sandkassen' -- cfg['sandbox-edit-link-display'] -- The text to display for sandbox "edit" links. cfg['sandbox-edit-link-display'] = 'rediger' -- cfg['sandbox-create-link-display'] -- The text to display for sandbox "create" links. cfg['sandbox-create-link-display'] = 'opprett' -- cfg['compare-link-display'] -- The text to display for "compare" links. cfg['compare-link-display'] = 'diff' -- cfg['mirror-edit-summary'] -- The default edit summary to use when a user clicks the "mirror" link. $1 is a wikilink to the -- template page. cfg['mirror-edit-summary'] = 'Create sandbox version of $1' -- cfg['mirror-link-display'] -- The text to display for "mirror" links. cfg['mirror-link-display'] = 'mirror' -- cfg['mirror-link-preload'] -- The page to preload when a user clicks the "mirror" link. cfg['mirror-link-preload'] = 'Template:Documentation/mirror' ---------------------------------------------------------------------------------------------------- -- Test cases link configuration ---------------------------------------------------------------------------------------------------- -- cfg['testcases-subpage'] -- The name of the template subpage typically used for test cases. cfg['testcases-subpage'] = 'testtilfeller' -- cfg['template-testcases-preload'] -- Preload file for template test cases pages. cfg['template-testcases-preload'] = 'Template:Documentation/preload-testcases' -- cfg['module-testcases-preload'] -- Preload file for Lua module test cases pages. cfg['module-testcases-preload'] = 'Module:Documentation/preload-module-testcases' -- cfg['testcases-link-display'] -- The text to display for "testcases" links. cfg['testcases-link-display'] = 'testtilfeller' -- cfg['testcases-edit-link-display'] -- The text to display for test cases "edit" links. cfg['testcases-edit-link-display'] = 'rediger' -- cfg['testcases-run-link-display'] -- The text to display for test cases "run" links. cfg['testcases-run-link-display'] = 'kjør' -- cfg['testcases-create-link-display'] -- The text to display for test cases "create" links. cfg['testcases-create-link-display'] = 'opprett' ---------------------------------------------------------------------------------------------------- -- Add categories blurb configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['add-categories-blurb'] -- Text to direct users to add categories to the /doc subpage. Not used if the "content" or -- "docname fed" arguments are set, as then it is not clear where to add the categories. $1 is a -- link to the /doc subpage with a display value of cfg['doc-link-display']. --]] cfg['add-categories-blurb'] = 'Legg til kategorier på undersiden $1.' -- cfg['doc-link-display'] -- The text to display when linking to the /doc subpage. cfg['doc-link-display'] = '/dok' ---------------------------------------------------------------------------------------------------- -- Subpages link configuration ---------------------------------------------------------------------------------------------------- --[[ -- cfg['subpages-blurb'] -- The "Subpages of this template" blurb. $1 is a link to the main template's subpages with a -- display value of cfg['subpages-link-display']. In the English version this blurb is simply -- the link followed by a period, and the link display provides the actual text. --]] cfg['subpages-blurb'] = '$1.' --[[ -- cfg['subpages-link-display'] -- The text to display for the "subpages of this page" link. $1 is cfg['template-pagetype'], -- cfg['module-pagetype'] or cfg['default-pagetype'], depending on whether the current page is in -- the template namespace, the module namespace, or another namespace. --]] cfg['subpages-link-display'] = 'Undersider av $1' -- cfg['template-pagetype'] -- The pagetype to display for template pages. cfg['template-pagetype'] = 'mal' -- cfg['module-pagetype'] -- The pagetype to display for Lua module pages. cfg['module-pagetype'] = 'modul' -- cfg['default-pagetype'] -- The pagetype to display for pages other than templates or Lua modules. cfg['default-pagetype'] = 'siden' ---------------------------------------------------------------------------------------------------- -- Doc link configuration ---------------------------------------------------------------------------------------------------- -- cfg['doc-subpage'] -- The name of the subpage typically used for documentation pages. cfg['doc-subpage'] = 'dok' -- cfg['docpage-preload'] -- Preload file for template documentation pages in all namespaces. cfg['docpage-preload'] = 'Template:Documentation/preload' -- cfg['module-preload'] -- Preload file for Lua module documentation pages. cfg['module-preload'] = 'Template:Documentation/preload-module-doc' ---------------------------------------------------------------------------------------------------- -- HTML and CSS configuration ---------------------------------------------------------------------------------------------------- -- cfg['templatestyles'] -- The name of the TemplateStyles page where CSS is kept. -- Sandbox CSS will be at Module:Documentation/sandbox/styles.css when needed. cfg['templatestyles'] = 'Module:Documentation/styles.css' -- cfg['container'] -- Class which can be used to set flex or grid CSS on the -- two child divs documentation and documentation-metadata cfg['container'] = 'documentation-container' -- cfg['main-div-classes'] -- Classes added to the main HTML "div" tag. cfg['main-div-classes'] = 'documentation' -- cfg['main-div-heading-class'] -- Class for the main heading for templates and modules and assoc. talk spaces cfg['main-div-heading-class'] = 'documentation-heading' -- cfg['start-box-class'] -- Class for the start box cfg['start-box-class'] = 'documentation-startbox' -- cfg['start-box-link-classes'] -- Classes used for the [view][edit][history] or [create] links in the start box. -- mw-editsection-like is per [[w:Wikipedia:Village pump (technical)/Archive 117#Template documentation header problem]] cfg['start-box-link-classes'] = 'mw-editsection-like plainlinks' -- cfg['end-box-class'] -- Class for the end box. cfg['end-box-class'] = 'documentation-metadata' -- cfg['end-box-plainlinks'] -- Plainlinks cfg['end-box-plainlinks'] = 'plainlinks' -- cfg['toolbar-class'] -- Class added for toolbar links. cfg['toolbar-class'] = 'documentation-toolbar' -- cfg['clear'] -- Just used to clear things. cfg['clear'] = 'documentation-clear' ---------------------------------------------------------------------------------------------------- -- Tracking category configuration ---------------------------------------------------------------------------------------------------- -- cfg['display-strange-usage-category'] -- Set to true to enable output of cfg['strange-usage-category'] if the module is used on a /doc subpage -- or a /testcases subpage. This should be a boolean value (either true or false). cfg['display-strange-usage-category'] = true -- cfg['strange-usage-category'] -- Category to output if cfg['display-strange-usage-category'] is set to true and the module is used on a -- /doc subpage or a /testcases subpage. cfg['strange-usage-category'] = 'Pages with strange documentation template usage' --[[ ---------------------------------------------------------------------------------------------------- -- End configuration -- -- Don't edit anything below this line. ---------------------------------------------------------------------------------------------------- --]] return cfg qtn1iij7bo17dbl39i749z8bg707qku Indeks:Andreas Faye - Norske Folke-Sagn (1844).djvu/styles.css 106 145594 339303 2026-10-10T15:17:05Z Kåre-Olav 25 stil 339303 sanitized-css text/css ._toc { margin:auto; width:100%; } ._toc td:last-child { text-align: right; vertical-align: bottom; } ._errata { margin:auto; font-size:83%; vertical-align: top; } ._errata td:nth-child(1) { text-align: center; } ._errata td:nth-child(2) { text-align: right; } ._errata td:nth-child(3) { text-align: center; } ._errata td:nth-child(4) { text-align: right; } dh9nuswej526lk1yj7bnt46kfj2vo41