Spring til indhold

Modul:Reference: Forskelle mellem versioner

8 bytes tilføjet ,  7. februar 2021
ingen redigeringsopsummering
No edit summary
No edit summary
Linje 204: Linje 204:
     if (mw.ustring.upper(wikilink) == "JA" ) then
     if (mw.ustring.upper(wikilink) == "JA" ) then
       -- todo - flyt ',' ud af link
       -- todo - flyt ',' ud af link
       return '[[' .. term .. ']]'
       return '([[' .. term .. ']]'
     end
     end


Linje 215: Linje 215:
     end
     end


     return term
     return '(' .. term
   end
   end


Linje 221: Linje 221:
     if (mw.ustring.upper(mw.ustring.sub( bog, 1, 2 )) == "LB") then
     if (mw.ustring.upper(mw.ustring.sub( bog, 1, 2 )) == "LB") then
       -- noget om stk 2658 (efterskrift?)
       -- noget om stk 2658 (efterskrift?)
       return  ' stk. ' .. term .. ' '
       return  ' stk. ' .. term .. ')'
     end
     end


     return  '  stk. ' .. term .. ' '
     return  '  stk. ' .. term .. ')'
   end
   end