Module:Ordinal: Difference between revisions

Sintel (talk | contribs)
merge changes from dev
Ganaram inukshuk (talk | contribs)
remove comments referring to nonexistent pages
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
--[[
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.
]]
local p = {}
local p = {}


Line 12: Line 6:


Usage:
Usage:
{{#invoke:Ordinal|ordinal|1=|2=}}
{{#invoke: Ordinal|ordinal|1=|2=}}
{{#invoke:Ordinal|ordinal}} - uses the caller's parameters
{{#invoke: Ordinal|ordinal}} - uses the caller's parameters


Parameters
Parameters