Module:rhymes: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 26: Line 26:
     local rhymes_show = ""
     local rhymes_show = ""
if not (nopre or false) then
if nopre ~= true then
rhymes_show = "Rhyme"
rhymes_show = "Rhyme"
if #rhymes > 1 then rhymes_show = rhymes_show .. "s" end  
if #rhymes > 1 then rhymes_show = rhymes_show .. "s" end  
Line 46: Line 46:
                 "<sup> (" .. rhyme_count .. ")</sup>"
                 "<sup> (" .. rhyme_count .. ")</sup>"
         end
         end
         if not (nocat or false) then
         if nocat ~= true then
         rhymes_show = rhymes_show .. "[[Category:" .. rhyme_cat .. "]]"
         rhymes_show = rhymes_show .. "[[Category:" .. rhyme_cat .. "]]"
     end
     end