Difference between revisions of "Template:Infobox papal document"
imported>Primefac (don't need an {{either}} call if it's set up like that) |
imported>Veverve (I guess a second template data is needed here; copied from Template:Infobox papal document/doc) |
||
| Line 36: | Line 36: | ||
{{Documentation}} | {{Documentation}} | ||
<!-- place category and language links on the /doc page, not here --> | <!-- place category and language links on the /doc page, not here --> | ||
| − | </noinclude> | + | <templatedata> |
| + | { | ||
| + | "params": { | ||
| + | "title": { | ||
| + | "aliases": [ | ||
| + | "name" | ||
| + | ], | ||
| + | "description": "Title of the document", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "type": { | ||
| + | "description": "Type of document; defaults to encyclical. \"ac\" or \"constitution\" = Apostolic constitution; \"ae\" or \"exhortation\" = Apostolic exhortation; \"bull\" = Papal bull; \"e\" or \"encyclical\" = Encyclical; \"m\" or \"motu proprio\" = motu proprio", | ||
| + | "required": true | ||
| + | }, | ||
| + | "pope": { | ||
| + | "description": "Papal name of the pope who signed the document", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "Papal coats of arms": { | ||
| + | "aliases": [ | ||
| + | "papal_coat_of_arms" | ||
| + | ], | ||
| + | "description": "Coat of arms of the pope who signed the document", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "image_size": {}, | ||
| + | "caption": { | ||
| + | "description": "Caption for the papal coat of arms (optional)" | ||
| + | }, | ||
| + | "subject": { | ||
| + | "aliases": [ | ||
| + | "argument" | ||
| + | ], | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "pages": {}, | ||
| + | "number": {}, | ||
| + | "total_number": {}, | ||
| + | "web_la": { | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "web_en": { | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "before": { | ||
| + | "description": "previous document OF THIS TYPE (e.g. previous encyclical if the document is an encyclical)", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "after": { | ||
| + | "description": "next document OF THIS TYPE (e.g. next encyclical if the document is an encyclical)", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "title language": { | ||
| + | "aliases": [ | ||
| + | "language" | ||
| + | ], | ||
| + | "description": "language of the title; is not always the same as the language of the document", | ||
| + | "example": "French, Latin", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "translation title": { | ||
| + | "aliases": [ | ||
| + | "translation" | ||
| + | ], | ||
| + | "description": "translation of the title" | ||
| + | }, | ||
| + | "language of title": { | ||
| + | "aliases": [ | ||
| + | "language" | ||
| + | ], | ||
| + | "description": "language of the title; it is sometimes not in the same language as the document" | ||
| + | }, | ||
| + | "translation of title": { | ||
| + | "description": "English translation of the title" | ||
| + | }, | ||
| + | "signature date": { | ||
| + | "aliases": [ | ||
| + | "date" | ||
| + | ], | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "signature hour": { | ||
| + | "aliases": [ | ||
| + | "hour" | ||
| + | ] | ||
| + | }, | ||
| + | "original language": { | ||
| + | "description": "if it is not Latin, precise the original language" | ||
| + | }, | ||
| + | "web original language": { | ||
| + | "description": "if it is not Latin, link to the document in the original language" | ||
| + | }, | ||
| + | "Acta Sanctae Sedis": { | ||
| + | "description": "number and page(s) of the Acta Sanctae Sedis in which the document appears", | ||
| + | "example": "16: 10-22 for Acta Sanctae Sedis number 16 pages 10-22", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "Acta Apostolicae Sedis": { | ||
| + | "description": "number and page(s) of the Acta Apostolicae Sedis in which the document appears", | ||
| + | "example": "108 (7): 45-49 for Acta Apostolicae Sedis number 108 issue 7 pages 45-49", | ||
| + | "suggested": true | ||
| + | } | ||
| + | }, | ||
| + | "paramOrder": [ | ||
| + | "title", | ||
| + | "type", | ||
| + | "title language", | ||
| + | "translation title", | ||
| + | "pope", | ||
| + | "Papal coats of arms", | ||
| + | "image_size", | ||
| + | "caption", | ||
| + | "subject", | ||
| + | "pages", | ||
| + | "number", | ||
| + | "total_number", | ||
| + | "web_la", | ||
| + | "web_en", | ||
| + | "before", | ||
| + | "after", | ||
| + | "language of title", | ||
| + | "translation of title", | ||
| + | "signature date", | ||
| + | "signature hour", | ||
| + | "original language", | ||
| + | "web original language", | ||
| + | "Acta Sanctae Sedis", | ||
| + | "Acta Apostolicae Sedis" | ||
| + | ] | ||
| + | } | ||
| + | </templatedata></noinclude> | ||
Revision as of 18:23, 18 October 2020
| This template uses Lua: |
Template:Parameter names example
This template is used to create infoboxes for papal proclamations.
Basic usage
{{Infobox encyclical
| title =
| type = <!-- defaults to encyclical -->
| language of title =
| translation of title =
| subject =
| Papal coats of arms =
| signature date = {{Start date|yyyy|mm|dd|df=y}}
| pope =
| pages =
| number =
| web_en =
| web_la =
| before =
| after =
}}
The |type= parameter is used to set the type of papal proclamation. Use one of the following values (defaults to encyclical):
- Apostolic constitution (values:
ac,constitution) - Apostolic exhortation (values:
ae,exhortation) - Apostolic letter (values:
al,apostolic letter) - Papal bull (values:
b,bull)* - Encyclical (values:
e,encyclical) - Motu proprio (values:
m,motu proprio)* - Papal brief (values:
pbr,papal brief) - Letter (values:
let,letter)
*Note: if a type of document is only in the form of a bull or of a motu proprio, it is the type of document and not the form which should be indicated; e.g. Unigenitus is an apostolic constitution in the form of a papal bull so it must be indicated as apostolic constitution, whereas Unam sanctam is simply a bull and so must be indicated as papal bull.
Example
| Spe salvi Latin for 'Saved in Hope' Encyclical letter of Pope Benedict XVI | |
|---|---|
| Signature date | 30 November 2007 |
| Subject | On Christian hope |
| Pages | 77 |
| Number | 2 of 3 of the pontificate |
| Text | Template:Ubl |
| AAS | 99 (12): 985-1027 |
{{Infobox encyclical
| title = Spe salvi <!-- This must not be wikilinked -->
| type = encyclical
| language of title = Latin
| translation of title = Saved in Hope
| subject = On Christian hope
| Papal coats of arms = Coat of Arms of Benedictus XVI.svg
| date = {{Start date|2007|11|30|df=y}}
| pope = Benedict XVI
| pages = 77
| number = 2 of 3
| web_en = http://www.vatican.va/holy_father/benedict_xvi/encyclicals/documents/hf_ben-xvi_enc_20071130_spe-salvi_en.html
| web_la = http://www.vatican.va/holy_father/benedict_xvi/encyclicals/documents/hf_ben-xvi_enc_20071130_spe-salvi_la.html
| Acta Apostolicae Sedis = 99 (12): 985-1027
| before = Deus caritas est
| after = Caritas in veritate
}}
TemplateData
Infobox used to diplay papal documents and some of their characteristics.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title name | Title of the document | Unknown | suggested |
| Type | type | Type of document; defaults to encyclical. "ac" or "constitution" = Apostolic constitution; "ae" or "exhortation" = Apostolic exhortation; "b" or "bull" = Papal bull; "e" or "encyclical" = Encyclical; "m" or "motu proprio" = Motu proprio; "pbr" or "papal brief" = Papal brief; "let" or "letter" = Letter (simple letters) | Unknown | required |
| Pope | pope | Papal name of the pope who signed the document | Unknown | suggested |
| Language of title | language of title language | language of the title; it is sometimes not in the same language as the document | Unknown | suggested |
| Translation of title | translation of title translation | English translation of the title | Unknown | suggested |
| Signature date | signature date date | no description | Unknown | suggested |
| Signature hour | signature hour hour | no description | Unknown | optional |
| Papal coats of arms | Papal coats of arms papal_coat_of_arms | Coat of arms of the pope who signed the document | Unknown | suggested |
| Image_size | image_size | image size for the coat of arms
| Unknown | deprecated |
| Caption | caption | Caption for the papal coat of arms (optional) | Unknown | optional |
| Subject | subject argument | subject of the document | Unknown | suggested |
| Pages | pages | no description | Unknown | optional |
| Number | number | no description
| Unknown | optional |
| Total_number | total_number | no description | Unknown | optional |
| Web_la | web_la | link to the document in original Latin | Unknown | suggested |
| Web_en | web_en | link to the document in English | Unknown | suggested |
| Original language | original language | if it is not Latin, precise the original language | Unknown | optional |
| Web original language | web original language | if it is not Latin, link to the document in the original language | Unknown | optional |
| Acta Sanctae Sedis | Acta Sanctae Sedis | number and page(s) of the Acta Sanctae Sedis in which the document appears
| Unknown | suggested |
| Acta Apostolicae Sedis | Acta Apostolicae Sedis | number and page(s) of the Acta Apostolicae Sedis in which the document appears
| Unknown | suggested |
| Before | before | previous document OF THIS TYPE (e.g. previous encyclical if the document is an encyclical) | Unknown | suggested |
| After | after | next document OF THIS TYPE (e.g. next encyclical if the document is an encyclical) | Unknown | suggested |
| The above documentation is transcluded from Template:Infobox papal document/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title name | Title of the document | Unknown | suggested |
| Type | type | Type of document; defaults to encyclical. "ac" or "constitution" = Apostolic constitution; "ae" or "exhortation" = Apostolic exhortation; "bull" = Papal bull; "e" or "encyclical" = Encyclical; "m" or "motu proprio" = motu proprio | Unknown | required |
| Title language | title language language | language of the title; is not always the same as the language of the document
| Unknown | suggested |
| Translation title | translation title translation | translation of the title | Unknown | optional |
| Pope | pope | Papal name of the pope who signed the document | Unknown | suggested |
| Papal coats of arms | Papal coats of arms papal_coat_of_arms | Coat of arms of the pope who signed the document | Unknown | suggested |
| Image_size | image_size | no description | Unknown | optional |
| Caption | caption | Caption for the papal coat of arms (optional) | Unknown | optional |
| Subject | subject argument | no description | Unknown | suggested |
| Pages | pages | no description | Unknown | optional |
| Number | number | no description | Unknown | optional |
| Total_number | total_number | no description | Unknown | optional |
| Web_la | web_la | no description | Unknown | suggested |
| Web_en | web_en | no description | Unknown | suggested |
| Before | before | previous document OF THIS TYPE (e.g. previous encyclical if the document is an encyclical) | Unknown | suggested |
| After | after | next document OF THIS TYPE (e.g. next encyclical if the document is an encyclical) | Unknown | suggested |
| Language of title | language of title language | language of the title; it is sometimes not in the same language as the document | Unknown | optional |
| Translation of title | translation of title | English translation of the title | Unknown | optional |
| Signature date | signature date date | no description | Unknown | suggested |
| Signature hour | signature hour hour | no description | Unknown | optional |
| Original language | original language | if it is not Latin, precise the original language | Unknown | optional |
| Web original language | web original language | if it is not Latin, link to the document in the original language | Unknown | optional |
| Acta Sanctae Sedis | Acta Sanctae Sedis | number and page(s) of the Acta Sanctae Sedis in which the document appears
| Unknown | suggested |
| Acta Apostolicae Sedis | Acta Apostolicae Sedis | number and page(s) of the Acta Apostolicae Sedis in which the document appears
| Unknown | suggested |