Modül:Ordinal-cd
-- This template will add the appropriate ordinal suffix to a given integer. Please do not modify this code without applying the changes first at Module:Ordinal/sandbox and testing at Module:Ordinal/sandbox/testcases and Module talk:Ordinal/sandbox/testcases. Authors and maintainers: User:RP88 -- Dependencies local i18n = require('Modül:İ18n/ordinal') -- get localized translations of ordinals
local LangSwitch = require('Modül:LangSwitch') -- get LangSwitch function
local yesno = require('Modül:Evethayır') -- boolean value interpretation
local formatnum = require('Modül:Formatnum') -- number formatting
-- Private Functions --
Helper function to generate superscripted content
local function Superscript( str, superscript, nosup, period ) if superscript and (not nosup) and (str ~= ) then return period.