Difference between revisions of "Template:Cat cen nav"
Jump to navigation
Jump to search
imported>Fayenatic london (Update formatting) |
imported>Fayenatic london (Update formatting , add optional plural parameter) |
||
Line 2: | Line 2: | ||
|- | |- | ||
| style="text-align: center;padding-left:5px; padding-right:5px;"| | | style="text-align: center;padding-left:5px; padding-right:5px;"| | ||
− | + | {{LinkCatIfExists2|{{#switch:{{{c}}} | |
|0 = {{{m|}}}0th | |0 = {{{m|}}}0th | ||
|1 = {{{m|}}}1st | |1 = {{{m|}}}1st | ||
Line 14: | Line 14: | ||
|9 = {{{m|}}}9th | |9 = {{{m|}}}9th | ||
}}-century {{{cat}}}|←}} | }}-century {{{cat}}}|←}} | ||
− | + | [[{{{plural|{{{article}}}]]s}}} in the [[{{#switch:{{{c}}} | |
|0 = {{{m|}}}1st | |0 = {{{m|}}}1st | ||
|1 = {{{m|}}}2nd | |1 = {{{m|}}}2nd | ||
Line 26: | Line 26: | ||
|9 = {{#expr:{{{m|}}} + 1}}0th | |9 = {{#expr:{{{m|}}} + 1}}0th | ||
}}-century]] | }}-century]] | ||
− | + | {{LinkCatIfExists2|{{#switch:{{{c}}} | |
|0 = {{{m|}}}2nd | |0 = {{{m|}}}2nd | ||
|1 = {{{m|}}}3rd | |1 = {{{m|}}}3rd | ||
Line 201: | Line 201: | ||
| sortkey = | | sortkey = | ||
| article = | | article = | ||
+ | | plural = | ||
}}</pre> | }}</pre> | ||
+ | The plural parameter is optional, and is only required if the plural is not made by adding the letter s, e.g. for software <code>plural=Software</code> | ||
{{DEFAULTSORT:Category Century Navigation}} | {{DEFAULTSORT:Category Century Navigation}} | ||
[[Category:Works-by-year templates]] | [[Category:Works-by-year templates]] | ||
</noinclude> | </noinclude> |
Revision as of 17:30, 9 November 2019
← [[{{{article}}}]]s in the -century → |
|
|
|
|
|
|
|
|
|
|
Usage
{{cat cen nav | m = | c = | cat = | sortkey = | article = | plural = }}
The plural parameter is optional, and is only required if the plural is not made by adding the letter s, e.g. for software plural=Software