Difference between revisions of "Template:Infobox document"
Jump to navigation
Jump to search
imported>Izkala (Reverted 1 edit by 71.62.63.31 (talk). (TW)) |
imported>Shkuru Afshar |
||
| (18 intermediate revisions by 12 users not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| abovestyle = text-align:center; | | abovestyle = text-align:center; | ||
| − | | above = {{{document_name|{{{name|}}}}}} | + | | above = {{{document_name|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}} |
| − | | | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|{{{image|{{{image_name|}}}}}}}}}|size={{{Image size|{{{image_size|}}}}}}|sizedefault=frameless|upright=1|alt={{{image_alt|}}}}} |
| caption = {{{caption|{{{image_caption|}}}}}} | | caption = {{{caption|{{{image_caption|}}}}}} | ||
| + | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image2|{{{image2|{{{image2_name|}}}}}}}}}|size={{{Image2 size|{{{image2_size|}}}}}}|sizedefault=frameless|upright=1|alt={{{image2_alt|}}}}} | ||
| + | | caption2 = {{{caption2|{{{image2_caption|}}}}}} | ||
| − | | label1 = Created | + | | label1 = Original title |
| − | | | + | | data1 = {{#if: {{{title_orig|}}} | {{#if: {{{orig_lang_code|}}} | {{lang|{{{orig_lang_code|}}}|{{{title_orig|}}}}} }} }} |
| − | | | + | | label2 = Created |
| − | | | + | | data2 = {{{date_created|}}} |
| − | | | + | | label3 = Presented |
| − | | | + | | data3 = {{{date_presented|}}} |
| − | | | + | | label4 = [[Ratification|Ratified]] |
| − | | | + | | data4 = {{{date_ratified|}}} |
| − | | | + | | label5 = [[Effective date|Date effective]] |
| − | | | + | | data5 = {{{date_effective|}}} |
| − | | | + | | label6 = [[Repeal|Repealed]] |
| − | | | + | | data6 = {{{date_repeal|}}} |
| − | | | + | | label7 = Location |
| − | | | + | | data7 = {{{location_of_document|}}} |
| − | | | + | | label8 = Commissioned by |
| − | | | + | | data8 = {{{commissioned|}}} |
| − | }}<noinclude> | + | | label9 = Author(s) |
| + | | data9 = {{{writer|}}} | ||
| + | | label10 = Signatories | ||
| + | | data10 = {{{signers|}}} | ||
| + | | label11 = Media type | ||
| + | | data11 = {{{media_type|}}} | ||
| + | | label12 = Subject | ||
| + | | data12 = {{{subject|}}} | ||
| + | | label13 = Purpose | ||
| + | | data13 = {{{purpose|}}} | ||
| + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|}}|preview=Page using [[Template:Infobox document]] with unknown parameter "_VALUE_"|ignoreblank=y| document_name | image | image_size | image_alt | caption | image_caption | image2 | image2_size | image2_alt | caption2 | image2_caption orig_lang_code | title_orig | date_created | date_presented | date_ratified | date_effective | date_repeal | location_of_document | commissioned | writer | signers | media_type | subject | purpose }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 16:14, 2 February 2021
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
Usage
Template:Parameter names example
{{Infobox document
| document_name =
| image =
| image_size =
| image_alt =
| caption =
| image2 =
| image2_size =
| image2_alt =
| caption2 =
| orig_lang_code =
| title_orig =
| date_created =
| date_presented =
| date_ratified =
| date_effective =
| date_repeal =
| location_of_document =
| commissioned =
| writer =
| signers =
| media_type =
| subject =
| purpose =
}}
Parameters
- Required
- document_name — Name of the document
All other parameters are optional.
| The above documentation is transcluded from Template:Infobox document/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |