Template:Other date: Difference between revisions
Template page
More actions
disable additional parameters (they will be enabled in Template:Complex date ) |
add "TemplatePar" parameter checking |
||
| Line 14: | Line 14: | ||
|lang = {{#if:{{{lang|}}} | {{{lang|}}} | {{int:Lang}} }} | |lang = {{#if:{{{lang|}}} | {{{lang|}}} | {{int:Lang}} }} | ||
}}<!-- | }}<!-- | ||
-->{{#switch:{{lc:{{{3|}}}}}|ce|ad|bc|bce|bp|before present=[[Category:Pages using Other date template with era]]}}<noinclude> | -->{{#switch:{{lc:{{{3|}}}}}|ce|ad|bc|bce|bp|before present=[[Category:Pages using Other date template with era]]}}<!-- | ||
-->{{#switch:{{NAMESPACENUMBER}}|6|14|100|106= | |||
{{#invoke:TemplatePar|check | |||
|opt = 1=2=3=conj=date1=date2=date=era=lang= | |||
|cat = Pages using Complex date template with incorrect parameter | |||
|template = [[Template:Other date]] | |||
}} | |||
}}<noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||