Module:accel/sh

From Wiktionary, the free dictionary
Jump to navigation Jump to search

This module contains new entry creation rules for Serbo-Croatian; see WT:ACCEL for an overview, and Module:accel for information on creating new rules.


return {
	generate = function(params, entry)
		if params.pos == "noun" then
			if params.target ~= params.target_pagename then
				entry.head = "{{sh-noun form|head=" .. params.target .. "}}"
			else
				entry.head = "{{sh-noun form}}"
			end
		end
	end
}