Template:Other date: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| (274 intermediate revisions by 50 users not shown) | |||
| Line 1: | Line 1: | ||
{{# | {{#invoke:Complex_date|complex_date | ||
|conj = {{{conj|{{{1|}}}}}} | |||
|date1 = {{{date1|{{{2|{{{date|}}}}}}}}} | |||
|date2 = {{{date2|{{{3|}}}}}} | |||
|era = {{{era|}}} | |||
|certainty = {{{certainty|}}} | |||
<!-- comment out parameters used by [[Template:Complex date]] which are not documented in this template | |||
|adj1 = {{{adj1|{{{adj|}}}}}} | |||
|adj2 = {{{adj2|}}} | |||
|precision1 = {{{precision1|{{{units1|{{{precision|}}}}}}}}} | |||
|precision2 = {{{precision2|{{{units2|{{{precision|}}}}}}}}} | |||
|era1 = {{{era1|{{{era|}}}}}} | |||
|era2 = {{{era2|{{{era|}}}}}} | |||
--> | |||
|lang = {{#if: {{{lang|}}} | {{{lang|}}} | {{Int:Lang}} }} | |||
}}<!-- | |||
-->{{#switch: {{NAMESPACE}} | |||
|{{ns:0}}|Category|Template = | |||
|#default = {{#if: {{#switch: {{{conj|{{{1|}}}}}} | |||
|?|unknown = 1 | |||
}}{{#switch: {{{date1|{{{2|{{{date|}}}}}}}}} | |||
|?|unknown|year unknown = 1 | |||
}}{{#switch: {{{date2|{{{3|}}}}}} | |||
|?|unknown|year unknown = 1 | |||
}}{{#switch: {{{era|}}} | |||
|?|unknown = 1 | |||
}}{{#switch: {{{certainty|}}} | |||
|?|unknown = 1 | |||
}} | }} | ||
| {{#if: {{{nocat|}}} || [[Category:Unknown date]] }} | |||
}}<!-- | |||
-->{{#switch: {{lc:{{{3|}}}}} | |||
|ce|ad|bc|bce|bp|before present = [[Category:Pages using Other date template with era]] | |||
}} | |||
}}<!-- | |||
-->{{#switch: {{NAMESPACE}} | |||
|{{ns:0}}|File|Category|Creator|Institution = {{#invoke:TemplatePar|check | |||
|opt = 1=2=3=conj=date1=date2=date=era=lang=certainty=nocat= | |||
|cat = Pages using Complex date template with incorrect parameter | |||
|template = [[Template:Other date]] | |||
}} | |||
}}<noinclude>{{Documentation}}</noinclude> | |||
}}<noinclude> | |||
{{Documentation}} | |||
</noinclude> | |||